diff options
Diffstat (limited to 'templates/web/base/admin')
-rw-r--r-- | templates/web/base/admin/body-form.html | 2 | ||||
-rw-r--r-- | templates/web/base/admin/body.html | 2 | ||||
-rw-r--r-- | templates/web/base/admin/category_edit.html | 14 | ||||
-rw-r--r-- | templates/web/base/admin/reports.html | 3 | ||||
-rw-r--r-- | templates/web/base/admin/user-form.html | 8 | ||||
-rw-r--r-- | templates/web/base/admin/users.html | 3 |
6 files changed, 26 insertions, 6 deletions
diff --git a/templates/web/base/admin/body-form.html b/templates/web/base/admin/body-form.html index 303afb682..6dd8a9547 100644 --- a/templates/web/base/admin/body-form.html +++ b/templates/web/base/admin/body-form.html @@ -189,7 +189,7 @@ </div> <p> <label for"comment_user_id">User ID to attribute fetched comments to</label> - <input type="text" name="comment_user_id" value="[% body.comment_user_id %]"> + <input type="text" class="form-control" name="comment_user_id" value="[% body.comment_user_id %]"> [% IF body.comment_user_id %] <a href="[% c.uri_for('user_edit', body.comment_user_id) %]">[% loc('edit user') %]</a> [% END %] diff --git a/templates/web/base/admin/body.html b/templates/web/base/admin/body.html index 065cafe2d..52df20c89 100644 --- a/templates/web/base/admin/body.html +++ b/templates/web/base/admin/body.html @@ -185,7 +185,7 @@ </p> </div> <p> - <strong>[% loc('Note:') %] </strong> <textarea name="note" rows="3" cols="40"></textarea> + <strong>[% loc('Note:') %] </strong> <textarea class="form-control" name="note" rows="3" cols="40"></textarea> </p> <div class="admin-hint"> diff --git a/templates/web/base/admin/category_edit.html b/templates/web/base/admin/category_edit.html index 7fe1a10d3..ebaa495db 100644 --- a/templates/web/base/admin/category_edit.html +++ b/templates/web/base/admin/category_edit.html @@ -19,7 +19,7 @@ [% END %] </p> -<form method="post" action="[% c.uri_for('body', body_id ) %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"> +<form method="post" action="[% c.uri_for('body', body_id ) %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8" id="category_edit"> <p><strong>[% loc('Category:') %] </strong>[% contact.category | html %] <input type="hidden" name="category" value="[% contact.category | html %]" > <input type="hidden" name="token" value="[% csrf_token %]" > @@ -47,7 +47,17 @@ [% END %] </p> - <p><strong>[% loc('Note:') %] </strong><textarea name="note" rows="3" cols="40"></textarea> + [% IF c.cobrand.moniker != 'zurich' %] + <p [% 'class=hidden' UNLESS contact.get_extra_metadata('inspection_required') %]> + <label> + [% loc('Reputation threshold:') %] + <input type="text" class="form-control" name="reputation_threshold" id="reputation_threshold" + value="[% contact.get_extra_metadata('reputation_threshold') | html %]" size="30"> + </label> + </p> + [% END %] + + <p><strong>[% loc('Note:') %] </strong><textarea class="form-control" name="note" rows="3" cols="40"></textarea> [% IF body.can_be_devolved %] <h2>[% loc('Configure Endpoint') %]</h2> diff --git a/templates/web/base/admin/reports.html b/templates/web/base/admin/reports.html index 071c5f5a5..7d8fe9561 100644 --- a/templates/web/base/admin/reports.html +++ b/templates/web/base/admin/reports.html @@ -2,7 +2,8 @@ [% PROCESS 'admin/report_blocks.html' %] <form method="get" action="[% c.uri_for('reports') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"> - <p><label for="search">[% loc('Search:') %]</label> <input type="text" name="search" size="30" id="search" value="[% searched | html %]"> + <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 %] diff --git a/templates/web/base/admin/user-form.html b/templates/web/base/admin/user-form.html index 1dfd35cee..5adc200a1 100644 --- a/templates/web/base/admin/user-form.html +++ b/templates/web/base/admin/user-form.html @@ -110,6 +110,14 @@ </label> [% END %] </li> + <li> + <div class="admin-hint"> + <p> + [% loc("Reports from users with high enough reputation will be sent immediately without requiring inspection. Each category's threshold can be managed on its edit page. Users earn reputation when a report they have made is marked as inspected by inspectors.") %] + </p> + </div> + [% loc('Reputation:') %] [% user.get_extra_metadata('reputation') %] + </li> [% END %] [% IF c.user.is_superuser %] diff --git a/templates/web/base/admin/users.html b/templates/web/base/admin/users.html index dfff77ee6..757046bcf 100644 --- a/templates/web/base/admin/users.html +++ b/templates/web/base/admin/users.html @@ -5,7 +5,8 @@ [% loc("User search finds matches in users' names and email addresses.") %] </div> <form method="get" action="[% c.uri_for('users') %]" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"> - <p><label for="search">[% loc('Search:') %]</label> <input type="text" name="search" size="30" id="search" value="[% searched | html %]"> + <p><label for="search">[% loc('Search:') %]</label> + <input class="form-control" type="text" name="search" size="30" id="search" value="[% searched | html %]"> </form> [% IF users.size %] |