summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/templates/_page.html
diff options
context:
space:
mode:
authorChristian Hofmaier2018-01-26 19:56:42 +0100
committerChristian Hofmaier2018-01-26 19:56:42 +0100
commitbac67141633eddcc8980467cd107f5e0a6b231f6 (patch)
tree5bf4ec5fde2b2b7060d2a44303271c36778deb49 /modules-available/systemstatus/templates/_page.html
parent[statistics] added permissions to view client logs; (diff)
downloadslx-admin-bac67141633eddcc8980467cd107f5e0a6b231f6.tar.gz
slx-admin-bac67141633eddcc8980467cd107f5e0a6b231f6.tar.xz
slx-admin-bac67141633eddcc8980467cd107f5e0a6b231f6.zip
[systemstatus] implemented permission-system. alot of show-permissions to view things. and a server-reboot permission.
Diffstat (limited to 'modules-available/systemstatus/templates/_page.html')
-rw-r--r--modules-available/systemstatus/templates/_page.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules-available/systemstatus/templates/_page.html b/modules-available/systemstatus/templates/_page.html
index 0de94cad..715fd233 100644
--- a/modules-available/systemstatus/templates/_page.html
+++ b/modules-available/systemstatus/templates/_page.html
@@ -86,7 +86,7 @@
<form class="form-adduser" action="?do=SystemStatus" method="post">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="reboot">
- <button class="btn btn-warning" type="button" data-toggle="modal" data-target="#rebootServerModal"><span class="glyphicon glyphicon-repeat"></span> {{lang_serverReboot}}</button>
+ <button {{^allowedToReboot}}disabled{{/allowedToReboot}} class="btn btn-warning" type="button" data-toggle="modal" data-target="#rebootServerModal"><span class="glyphicon glyphicon-repeat"></span> {{lang_serverReboot}}</button>
<div class ="modal fade" id="rebootServerModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">