diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-02 17:16:47 +0000 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-03-09 17:29:43 +0000 |
commit | 342b4ecff061fb11d47162389407ba58d6ac3d68 (patch) | |
tree | e71ab41a758f639655e3e33149d5f5cd02d7bba4 /templates | |
parent | 6d2ecdb10f9f7a5110bb6bfc33e9fbfdc436ecea (diff) |
Add submit buttons to admin index search forms.
Also slightly tidy up display.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/web/base/admin/index.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/web/base/admin/index.html b/templates/web/base/admin/index.html index f573f0e7a..8498055b1 100644 --- a/templates/web/base/admin/index.html +++ b/templates/web/base/admin/index.html @@ -20,14 +20,18 @@ and to receive notices of updates. </p> [% END %] +<div class="admin-index-search form-txt-submit-box clearfix"> + <form method="get" action="[% c.uri_for('reports') %]" accept-charset="utf-8"> <p><label for="search_reports">[% loc('Search Reports') %]</label> <input type="text" class="form-control" name="search" size="30" id="search_reports" value="[% searched | html %]"> + <input type="submit" class="btn" value="[% loc('Go') %]"> </form> <form method="get" action="[% c.uri_for('users') %]" accept-charset="utf-8"> <p><label for="search_users">[% loc('Search Users') %]</label> <input type="text" class="form-control" name="search" size="30" id="search_users" value="[% searched | html %]"> + <input type="submit" class="btn" value="[% loc('Go') %]"> </form> [% IF c.user.is_superuser %] @@ -46,6 +50,8 @@ and to receive notices of updates. </form> [% END %] +</div> + [% IF unsent_reports.size %] <h2>[% loc('Reports waiting to be sent') %]</h2> |