summaryrefslogtreecommitdiffstats
path: root/modules-available/syslog/templates
diff options
context:
space:
mode:
authorSimon Rettberg2025-08-07 17:51:54 +0200
committerSimon Rettberg2025-08-07 17:51:54 +0200
commited9b97d6c7dddb153b2e0178fd0bd0e8d6bf4f16 (patch)
tree9ca54ef9e079899695568faa6cb77d6d63f44256 /modules-available/syslog/templates
parentJS: Reorganize script to lower number of ready listeners (diff)
downloadslx-admin-ed9b97d6c7dddb153b2e0178fd0bd0e8d6bf4f16.tar.gz
slx-admin-ed9b97d6c7dddb153b2e0178fd0bd0e8d6bf4f16.tar.xz
slx-admin-ed9b97d6c7dddb153b2e0178fd0bd0e8d6bf4f16.zip
[syslog] Improve POSTs for audit logging
Diffstat (limited to 'modules-available/syslog/templates')
-rw-r--r--modules-available/syslog/templates/heading.html4
-rw-r--r--modules-available/syslog/templates/page-syslog.html2
2 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/syslog/templates/heading.html b/modules-available/syslog/templates/heading.html
index 8dd3d440..45e09a32 100644
--- a/modules-available/syslog/templates/heading.html
+++ b/modules-available/syslog/templates/heading.html
@@ -26,7 +26,7 @@
<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">
+ name="action" value="anondays" class="btn btn-primary">
<span class="glyphicon glyphicon-floppy-disk"></span>
{{lang_save}}
</button>
@@ -53,7 +53,7 @@
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">{{lang_cancel}}</button>
- <button type="submit" class="btn btn-primary">
+ <button type="submit" class="btn btn-primary" name="action" value="user-export">
<span class="glyphicon glyphicon-export"></span>
{{lang_export}}
</button>
diff --git a/modules-available/syslog/templates/page-syslog.html b/modules-available/syslog/templates/page-syslog.html
index 33be4ab7..0ac202ce 100644
--- a/modules-available/syslog/templates/page-syslog.html
+++ b/modules-available/syslog/templates/page-syslog.html
@@ -28,7 +28,7 @@
<input class="form-control" placeholder="{{lang_searchString}}" value="{{search}}" name="search">
</div>
<div class="col-sm-1">
- <button class="btn btn-primary" type="submit">{{lang_applyFilter}}</button>
+ <button class="btn btn-primary" type="submit" name="action" value="filter">{{lang_applyFilter}}</button>
</div>
</div>
</form>