diff options
author | Simon Rettberg | 2014-06-06 20:31:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-06 20:31:42 +0200 |
commit | b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1 (patch) | |
tree | 08e85b79bbc024d5497f2d65b744822ff8abf35e /templates/systemstatus/_page.html | |
parent | More stuff for system status page (diff) | |
download | slx-admin-b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1.tar.gz slx-admin-b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1.tar.xz slx-admin-b9f67a0ac4dcdc745e14dd4f4097c5560e90a1e1.zip |
Reboot functionality on system status page
Diffstat (limited to 'templates/systemstatus/_page.html')
-rw-r--r-- | templates/systemstatus/_page.html | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/systemstatus/_page.html b/templates/systemstatus/_page.html index a62534da..b202181e 100644 --- a/templates/systemstatus/_page.html +++ b/templates/systemstatus/_page.html @@ -1,4 +1,8 @@ <div class="container"> + + {{#rebootTask}} + <div data-tm-id="{{rebootTask}}" data-tm-log="messages">Reboot...</div> + {{/rebootTask}} <div class="row"> @@ -52,6 +56,26 @@ </div> </div> + + <div class="row"> + + <div class="col-md-6"> + <div class="panel panel-default"> + <div class="panel-heading"> + Wartung + </div> + <div class="panel-body"> + <form class="form-adduser" action="?do=SystemStatus" method="post"> + <input type="hidden" name="token" value="{{token}}"> + <input type="hidden" name="action" value="reboot"> + <div>Server Reboot</div> + <label><input type="checkbox" name="confirm" value="yep"> Ja, ich bin sicher</label> + <button class="btn btn-warning btn-xs" type="submit">Reboot</button> + </form> + </div> + </div> + + </div> </div> |