summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/templates/ajax-journal.html
diff options
context:
space:
mode:
authorSimon Rettberg2020-07-07 16:36:46 +0200
committerSimon Rettberg2020-07-07 16:36:46 +0200
commitd635a52fd965519eecb717ea5b953a5f12ef9b88 (patch)
tree621d70b385d35409ff5a9f93edbf42ba39ad584f /modules-available/systemstatus/templates/ajax-journal.html
parent[systemstatus] Add dnbd3-master-proxy to service status (diff)
downloadslx-admin-d635a52fd965519eecb717ea5b953a5f12ef9b88.tar.gz
slx-admin-d635a52fd965519eecb717ea5b953a5f12ef9b88.tar.xz
slx-admin-d635a52fd965519eecb717ea5b953a5f12ef9b88.zip
[systemstatus/sysconfig] Manage LDADP via systemd
Finally got rid of our own little service manager. Status/restart handling capabilities were added to the system status page. TODO: Permissions for dnbd3, service (re)starting in general
Diffstat (limited to 'modules-available/systemstatus/templates/ajax-journal.html')
-rw-r--r--modules-available/systemstatus/templates/ajax-journal.html19
1 files changed, 19 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..0405fe93
--- /dev/null
+++ b/modules-available/systemstatus/templates/ajax-journal.html
@@ -0,0 +1,19 @@
+<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">
+ <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