diff options
Diffstat (limited to 'templates/web/default/admin')
-rw-r--r-- | templates/web/default/admin/header.html | 3 | ||||
-rw-r--r-- | templates/web/default/admin/index.html | 2 | ||||
-rw-r--r-- | templates/web/default/admin/questionnaire.html | 21 |
3 files changed, 24 insertions, 2 deletions
diff --git a/templates/web/default/admin/header.html b/templates/web/default/admin/header.html index 5db365a2a..cbc7fcec1 100644 --- a/templates/web/default/admin/header.html +++ b/templates/web/default/admin/header.html @@ -15,3 +15,6 @@ dd { margin-left: 8em; } <a href="">[% loc('Search Reports') %]</a> <a href="">[% loc('Timeline') %]</a> <a href="">[% loc('Survey Results') %]</a> + + <h1>[% title %]</h1> + diff --git a/templates/web/default/admin/index.html b/templates/web/default/admin/index.html index ddc822b22..277d2ea76 100644 --- a/templates/web/default/admin/index.html +++ b/templates/web/default/admin/index.html @@ -10,8 +10,6 @@ [% END %] [% END %] -<h1>Summary</h1> - <ul> <li>[% tprintf( loc('<strong>%d</strong> live problems'), total_problems_live ) %]</li> <li>[% tprintf( loc('%d live updates'), comments.confirmed ) %]</li> diff --git a/templates/web/default/admin/questionnaire.html b/templates/web/default/admin/questionnaire.html new file mode 100644 index 000000000..5a9c74b5e --- /dev/null +++ b/templates/web/default/admin/questionnaire.html @@ -0,0 +1,21 @@ +[% INCLUDE 'admin/header.html' title=loc('Survey Results') %] + +<table border="1"> + <tr> + <th>[% loc('Reported before') %]</th> + <th>[% loc('Not reported before') %]</th> + </tr> + [% IF questionnaires.total > 0 %] + <tr> + <td>[% questionnaires.1 %] ([% reported_pc %]%)</td> + <td>[% questionnaires.0 %] ([% not_reported_pc %]%)</td> + </tr> + [% ELSE %] + <tr> + <td>n/a</td> + <td>n/a</td> + </tr> + [% END %] +</table> + +[% INCLUDE 'admin/footer.html' %] |