diff options
Diffstat (limited to 'templates/web/seesomething/admin')
-rw-r--r-- | templates/web/seesomething/admin/footer.html | 7 | ||||
-rw-r--r-- | templates/web/seesomething/admin/header.html | 2 | ||||
-rw-r--r-- | templates/web/seesomething/admin/stats.html | 63 |
3 files changed, 0 insertions, 72 deletions
diff --git a/templates/web/seesomething/admin/footer.html b/templates/web/seesomething/admin/footer.html deleted file mode 100644 index bdd42e2e4..000000000 --- a/templates/web/seesomething/admin/footer.html +++ /dev/null @@ -1,7 +0,0 @@ - </div><!-- .content role=main --> - </div><!-- .container --> - </div><!-- .table-cell --> -<!-- [% INCLUDE 'debug_footer.html' %] --> - </div> <!-- .wrapper --> -</body> -</html> diff --git a/templates/web/seesomething/admin/header.html b/templates/web/seesomething/admin/header.html deleted file mode 100644 index 40bea25bf..000000000 --- a/templates/web/seesomething/admin/header.html +++ /dev/null @@ -1,2 +0,0 @@ -[% INCLUDE 'header.html' admin = 1, bodyclass = 'admin fullwidthpage' %] - <h1>[% title %]</h1> diff --git a/templates/web/seesomething/admin/stats.html b/templates/web/seesomething/admin/stats.html deleted file mode 100644 index 155bff472..000000000 --- a/templates/web/seesomething/admin/stats.html +++ /dev/null @@ -1,63 +0,0 @@ -[% INCLUDE 'admin/header.html' title=loc('Reports') %] -[% PROCESS 'admin/report_blocks.html' %] - -[% BLOCK options %] - [% FOR option IN option_list %] - <option value="[% option %]"[% ' selected' IF selected == option %]>[% option %]</opytion> - [% END %] -[% END %] - -<form method="post" action="[% c.uri_for('stats') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8" id="filter-form"> - <label for="form_category">Transport Type: </label> - <select class="form-control" name="category" id="form_category"> - <option value="">Select</option> - [% PROCESS options, option_list = [ 'Bus', 'Metro', 'Train' ], selected = category %] - </select> - - <label for="form_subcategory">Incident Type: </label> - <select class="form-control" name="subcategory" id="form_subcategory"> - <option value="">Select</option> - [% PROCESS options, option_list = ['Smoking', 'Drugs', 'Anti-social Behaviour', 'Loud Music', 'Damage', 'Feet on Seats', 'Other'], selected = subcategory %] - </select> - - <label for="form_service">Device: </label> - <select class="form-control" name="service" id="form_service"> - <option value="">Select</option> - [% PROCESS options, option_list = [ 'Android', 'iPhone' ], selected = service %] - </select> - - <input type="submit" class="btn" name="getcounts" size="30" id="getcounts" value="Look Up" /> -</form> - -[% IF pager.total_entries == 0 %] -<p align="center"> -No Results found -</p> -[% ELSE %] -<table class="admin-report"> - <thead> - <tr> - <th>Device</th> - <th>Transport Category</th> - <th>Incident Category</th> - <th>Area</th> - <th>Submitted</th> - </tr> - </thead> - <tbody> - [%- WHILE (report = reports.next) %] - <tr> - <td>[% report.service || 'Other' %]</td> - <td>[% report.category %]</td> - <td class="nowrap">[% report.subcategory %]</td> - <td class="nowrap">[% council_details.${report.bodies_str} %]</td> - <td class="nowrap">[% PROCESS format_time time=report.confirmed %]</td> - </tr> - [%- END %] - </tbody> -</table> -[% END %] - -[% INCLUDE 'pagination.html', param = 'p' %] - -[% INCLUDE 'admin/footer.html' %] |