diff options
Diffstat (limited to 'modules-available/systemstatus/templates/_page.html')
-rw-r--r-- | modules-available/systemstatus/templates/_page.html | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/modules-available/systemstatus/templates/_page.html b/modules-available/systemstatus/templates/_page.html index 0de94cad..64830ea3 100644 --- a/modules-available/systemstatus/templates/_page.html +++ b/modules-available/systemstatus/templates/_page.html @@ -11,11 +11,20 @@ </a> </li> {{#tabs}} + {{^enabled}} + <li class="disabled"> + <a> + {{name}} + </a> + </li> + {{/enabled}} + {{#enabled}} <li> <a href="#id-{{type}}_pane" class="ajax-tab" id="id-{{type}}" data-toggle="tab" role="tab"> {{name}} </a> </li> + {{/enabled}} {{/tabs}} </ul> @@ -83,10 +92,10 @@ {{lang_maintenance}} </div> <div class="panel-body"> - <form class="form-adduser" action="?do=SystemStatus" method="post"> + <form 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 {{perms.serverreboot.disabled}} 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"> |