summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/templates/ajax-journal.html
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/systemstatus/templates/ajax-journal.html')
-rw-r--r--modules-available/systemstatus/templates/ajax-journal.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/modules-available/systemstatus/templates/ajax-journal.html b/modules-available/systemstatus/templates/ajax-journal.html
new file mode 100644
index 00000000..5b476d9c
--- /dev/null
+++ b/modules-available/systemstatus/templates/ajax-journal.html
@@ -0,0 +1,20 @@
+<form method="post" action="?do=systemstatus">
+ <input type="hidden" name="token" value="{{token}}">
+ <input type="hidden" name="action" value="service-restart">
+ {{#modules}}
+ <div class="slx-space">
+ <div class="pull-right">
+ <button class="btn btn-warning btn-sm pull-right" name="service" value="{{service}}"
+ data-confirm="#confirm-restart" {{restart_disabled}}>
+ <span class="glyphicon glyphicon-refresh"></span>
+ {{lang_restart}}
+ </button>
+ </div>
+ <h4>{{name}}</h4>
+ <div data-tm-id="{{task.id}}" data-tm-log="messages">{{service}}</div>
+ </div>
+ {{/modules}}
+</form>
+<script>
+ tmInit();
+</script> \ No newline at end of file