aboutsummaryrefslogtreecommitdiffstats
path: root/templates/web/base/admin/reports/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/web/base/admin/reports/index.html')
-rw-r--r--templates/web/base/admin/reports/index.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/web/base/admin/reports/index.html b/templates/web/base/admin/reports/index.html
new file mode 100644
index 000000000..adbd50224
--- /dev/null
+++ b/templates/web/base/admin/reports/index.html
@@ -0,0 +1,34 @@
+[% INCLUDE 'admin/header.html' title=loc('Search Reports') %]
+[% PROCESS 'admin/report_blocks.html' %]
+
+<form method="get" action="[% c.uri_for_action('/admin/reports/index') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8">
+ <p><label for="search">[% loc('Search:') %]</label>
+ <input class="form-control" type="text" name="search" size="30" id="search" value="[% searched | html %]">
+</form>
+
+[% IF problems.size %]
+<table cellspacing="0" cellpadding="2" border="1">
+ <tr>
+ <th>[% loc('ID') %]</th>
+ <th>[% loc('Title') %]</th>
+ <th>[% loc('Name') %]</th>
+ <th>[% loc('Body') %]</th>
+ <th>[% loc('State') %]</th>
+ <th>*</th>
+ </tr>
+ [% INCLUDE 'admin/problem_row.html' %]
+</table>
+
+[% INCLUDE 'pagination.html', admin = 1, param = 'p', pager = problems_pager %]
+
+[% ELSIF searched %]
+
+<div class="fms-admin-warning">
+ [% loc("Searching found no reports.") %]
+</div>
+
+[% END %]
+
+[% INCLUDE 'admin/list_updates.html' %]
+
+[% INCLUDE 'admin/footer.html' %]