summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/templates/_page.html
diff options
context:
space:
mode:
authorUdo Walter2017-09-26 13:22:41 +0200
committerUdo Walter2017-09-26 13:22:41 +0200
commit8a07243b2d54d83b91182a207ab633dee6cdb69f (patch)
tree45cc204ae4d416843c43c8ade83a88587e804fd7 /modules-available/systemstatus/templates/_page.html
parent[serversetup] fixed inconsistencies (diff)
downloadslx-admin-8a07243b2d54d83b91182a207ab633dee6cdb69f.tar.gz
slx-admin-8a07243b2d54d83b91182a207ab633dee6cdb69f.tar.xz
slx-admin-8a07243b2d54d83b91182a207ab633dee6cdb69f.zip
[systemstatus] fixed inconsistencies
Diffstat (limited to 'modules-available/systemstatus/templates/_page.html')
-rw-r--r--modules-available/systemstatus/templates/_page.html22
1 files changed, 19 insertions, 3 deletions
diff --git a/modules-available/systemstatus/templates/_page.html b/modules-available/systemstatus/templates/_page.html
index 48a7e5c4..dbacbda2 100644
--- a/modules-available/systemstatus/templates/_page.html
+++ b/modules-available/systemstatus/templates/_page.html
@@ -1,3 +1,5 @@
+<h1>{{lang_moduleHeading}}</h1>
+
{{#rebootTask}}
<div data-tm-id="{{rebootTask}}" data-tm-log="messages">Reboot...</div>
{{/rebootTask}}
@@ -84,9 +86,23 @@
<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"> {{lang_iAmSure}}</label>
- <button class="btn btn-warning btn-xs" type="submit">Reboot</button>
+ <button 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">
+ <div class="modal-dialog" style="width: 400px" role="document">
+ <div class="modal-content">
+ <div class="modal-body">
+ {{lang_areYouSureNoUndo}}
+ </div>
+ <div class="modal-footer">
+ <button type="button" class="btn btn-default" data-dismiss="modal">{{lang_cancel}}</button>
+ <button type="submit" class="btn btn-sm btn-warning" name="deletelocation" value="{{locationid}}"><span class="glyphicon glyphicon-repeat"></span> {{lang_serverReboot}}</button>
+ </div>
+ </div>
+ </div>
+ </div>
+
</form>
<div id="dmsd-users"></div>
</div>