aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/dashboard/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/dashboard/index.html')
-rw-r--r--templates/web/base/dashboard/index.html42
1 files changed, 27 insertions, 15 deletions
diff --git a/templates/web/base/dashboard/index.html b/templates/web/base/dashboard/index.html
index e47798573..d7ad6ddfa 100644
--- a/templates/web/base/dashboard/index.html
+++ b/templates/web/base/dashboard/index.html
@@ -34,11 +34,9 @@
</select>
</p>
- <p>
+ <p class="no-label">
<input type="submit" class="btn" value="[% loc('Look up') %]">
</p>
-
- <br clear="all" />
</div>
@@ -133,18 +131,32 @@
<h2>[% loc('Reports') %]</h2>
- </select>
-<p>[% loc('Report state:') %] <select class="form-control" name="state">
-<option value=''>[% loc('All') %]</option>
- [% FOR group IN filter_states %]
- [% FOR state IN group.1 %]
- [% NEXT IF state == 'hidden' %]
- <option [% 'selected ' IF state == q_state %] value="[% state %]">[% prettify_state(state, 1) %]</option>
- [% END %]
- [% END %]
-</select>
-<input type="submit" class="btn" value="[% loc('Look up') %]">
-<a class="export_as_csv" href="[% c.req.uri_with({ export => 1 }) %]">[% loc('Export as CSV') %]</a>
+<div class="filters">
+ <p>
+ <label for="state">[% loc('Report state:') %]</label>
+ <select class="form-control" name="state">
+ <option value=''>[% loc('All') %]</option>
+ [% FOR group IN filter_states %]
+ [% FOR state IN group.1 %]
+ [% NEXT IF state == 'hidden' %]
+ <option [% 'selected ' IF state == q_state %] value="[% state %]">[% prettify_state(state, 1) %]</option>
+ [% END %]
+ [% END %]
+ </select>
+ </p>
+ <p>
+ <label for="start_date">[% loc('Start Date') %]</label>
+ <input name="start_date" type="date" value="[% start_date | html %]" class="form-control">
+ </p>
+ <p>
+ <label for="end_date">[% loc('End Date') %]</label>
+ <input name="end_date" type="date" value="[% end_date | html %]" class="form-control">
+ </p>
+ <p class="no-label">
+ <input type="submit" class="btn" value="[% loc('Look up') %]">
+ <a class="btn export_as_csv" href="[% c.req.uri_with({ export => 1 }) %]">[% loc('Export as CSV') %]</a>
+ </p>
+</div>
<table width="100%" id="reports">
<tr>