diff options
author | Struan Donald <struan@exo.org.uk> | 2012-08-22 10:57:10 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-08-22 10:57:10 +0100 |
commit | 2e0a4e8ec45579e4e5c9cf8aa123d5ab215b9703 (patch) | |
tree | c13e3c59b686e01460dc7960547f7e9c53c288bd /templates/web/default/dashboard/index.html | |
parent | b99c5ff97b29a27eeba52ed24385ac30388e875c (diff) | |
parent | 88a7d38dffa3dabdf0f85573b254cea9c8ab232b (diff) |
Merge remote-tracking branch 'origin/master' into fmb-read-only
Conflicts:
.gitignore
bin/make_css
conf/general.yml-example
perllib/FixMyStreet/App/Controller/Council.pm
perllib/FixMyStreet/App/Controller/Report/New.pm
perllib/FixMyStreet/Cobrand/Default.pm
templates/web/default/around/around_index.html
templates/web/default/index.html
templates/web/emptyhomes/index.html
templates/web/fixmystreet/around/around_index.html
templates/web/fixmystreet/index.html
web/fixmystreet_app_cgi.cgi
web/fixmystreet_app_fastcgi.cgi
Diffstat (limited to 'templates/web/default/dashboard/index.html')
-rw-r--r-- | templates/web/default/dashboard/index.html | 63 |
1 files changed, 38 insertions, 25 deletions
diff --git a/templates/web/default/dashboard/index.html b/templates/web/default/dashboard/index.html index 308042d0d..c2bfa9ea3 100644 --- a/templates/web/default/dashboard/index.html +++ b/templates/web/default/dashboard/index.html @@ -1,39 +1,52 @@ -[% +[% extra_css = BLOCK %] + <link rel="stylesheet" href="[% version('/cobrands/fixmystreet/dashboard.css') %]"> +[% END %] + +[% INCLUDE 'header.html' title = loc('Dashboard') robots = 'noindex, nofollow' bodyclass = 'fullwidthpage' %] -<style> - th[scope=row] { text-align: left; } - tr.subtotal { background-color: #eee; } - #overview tr:nth-child(2) { background-color: #fee; } - select { width: auto; } -</style> - <form> -<p>Ward: <select name="ward"><option value=''>All</option> - [% FOR w IN children.values.sort('name') %] - <option value="[% w.id %]"[% ' selected' IF w.id == ward %]>[% w.name %]</option> - [% END %] -</select> - -<p>Report category: <select name="category"><option value=''>All</option> - [% FOR cat_op IN category_options %] - <option value='[% cat_op | html %]'[% ' selected' IF category == cat_op %]>[% cat_op | html %]</option> - [% END %] - </select> - -<p><input type="submit" value="Look up"> +<hgroup> + <h2>Reports, Statistics and Actions for</h2> + <h1>[% council.name %]</h1> +</hgroup> + +<div class="filters"> + <p> + <label for="ward">Ward:</label> + <select name="ward"><option value=''>All</option> + [% FOR w IN children.values.sort('name') %] + <option value="[% w.id %]"[% ' selected' IF w.id == ward %]>[% w.name %]</option> + [% END %] + </select> + </p> + + <p> + <label for="category">Report category:</label> + <select name="category"><option value=''>All</option> + [% FOR cat_op IN category_options %] + <option value='[% cat_op | html %]'[% ' selected' IF category == cat_op %]>[% cat_op | html %]</option> + [% END %] + </select> + </p> + + <p> + <input type="submit" value="Look up"> + </p> + + <br clear="all" /> +</div> -<h2>Summary Statistics for [% council.name %]</h2> <table width="100%" id="overview"> <tr> - <td> </td> - <th scope="col">WTD</th> + <th> </th> + <th scope="col"><abbr title="Week To Date">WTD</abbr></th> <th scope="col">Last 7 days</th> <th scope="col">Last 4 weeks</th> <th scope="col">YTD</th> @@ -147,6 +160,6 @@ [% BLOCK list %] [% FOR p IN list %] -<li><a href="/report/[% p.id %]">[% p.title | html %]</a></li> +<li><a href="/report/[% p.id %]">[% p.title | html %]</a> <date>[% p.confirmed.dmy('/') %]</date></li> [% END %] [% END %] |