diff options
author | Simon Rettberg | 2018-02-13 16:30:49 +0100 |
---|---|---|
committer | Simon Rettberg | 2018-02-13 16:30:49 +0100 |
commit | 2a8858e17ef441a22526e8aedf5262e7e065d8d6 (patch) | |
tree | b17041cdecfe91b120094eae0450085ef8c1d5d2 /modules-available/syslog/templates/heading.html | |
parent | [permissionmanager] Slightly more efficient queries, wildcard support, debug ... (diff) | |
download | slx-admin-2a8858e17ef441a22526e8aedf5262e7e065d8d6.tar.gz slx-admin-2a8858e17ef441a22526e8aedf5262e7e065d8d6.tar.xz slx-admin-2a8858e17ef441a22526e8aedf5262e7e065d8d6.zip |
[syslog] Permission checks when saving anonymization days
Diffstat (limited to 'modules-available/syslog/templates/heading.html')
-rw-r--r-- | modules-available/syslog/templates/heading.html | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/modules-available/syslog/templates/heading.html b/modules-available/syslog/templates/heading.html index d6790a21..2ab1a848 100644 --- a/modules-available/syslog/templates/heading.html +++ b/modules-available/syslog/templates/heading.html @@ -1 +1,35 @@ -<h1>{{lang_clientLog}}</h1>
\ No newline at end of file +<div class="page-header"> + <button type="button" class="btn btn-default pull-right" data-toggle="modal" data-target="#modal-settings"> + <span class="glyphicon glyphicon-cog"></span> {{lang_settings}} + </button> + + <div id="modal-settings" class="modal fade" role="dialog"> + <div class="modal-dialog"> + <div class="modal-content"> + <form method="post" action="?do=syslog"> + <input type="hidden" name="token" value="{{token}}"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal">×</button> + <h4 class="modal-title"><b>{{lang_settings}}</b></h4> + </div> + <div class="modal-body"> + <p>{{lang_anonDaysDescription}}</p> + <input {{perms.configure-anonymization.disabled}} class="form-control" type="number" name="anondays" + value="{{anondays}}" min="0" max="180"> + </div> + <div class="modal-footer"> + <button type="button" class="btn btn-default" data-dismiss="modal">{{lang_cancel}}</button> + <button {{perms.configure-anonymization.disabled}} type="submit" + class="btn btn-primary"> + <span class="glyphicon glyphicon-floppy-disk"></span> + {{lang_save}} + </button> + </div> + </form> + </div> + + </div> + </div> + + <h1>{{lang_clientLog}}</h1> +</div>
\ No newline at end of file |