summaryrefslogtreecommitdiffstats
path: root/modules-available/systemstatus/templates/services.html
diff options
context:
space:
mode:
authorJannik Schönartz2017-12-14 13:03:44 +0100
committerJannik Schönartz2017-12-14 13:03:44 +0100
commit5d5c2f27bee5d4fbd3747555efbf2ac9f337805b (patch)
treec65898e1b3d6f0f46366a280bbbaf4c6ccbc477c /modules-available/systemstatus/templates/services.html
parent[usb-lock-off] Design changes to fit the design_guidelines. TODO: lang_discar... (diff)
parent[sysconfig] Update translations (diff)
downloadslx-admin-5d5c2f27bee5d4fbd3747555efbf2ac9f337805b.tar.gz
slx-admin-5d5c2f27bee5d4fbd3747555efbf2ac9f337805b.tar.xz
slx-admin-5d5c2f27bee5d4fbd3747555efbf2ac9f337805b.zip
Merge branch 'master' into usb-lock-off
Diffstat (limited to 'modules-available/systemstatus/templates/services.html')
-rw-r--r--modules-available/systemstatus/templates/services.html26
1 files changed, 20 insertions, 6 deletions
diff --git a/modules-available/systemstatus/templates/services.html b/modules-available/systemstatus/templates/services.html
index 6c4f0b93..29b33687 100644
--- a/modules-available/systemstatus/templates/services.html
+++ b/modules-available/systemstatus/templates/services.html
@@ -1,6 +1,20 @@
-{{#ldadpError}}
-<pre>{{ldadpError}}</pre>
-{{/ldadpError}}
-{{^ldadpError}}
-<div class="alert alert-success">LDAP-AD-Proxy: OK</div>
-{{/ldadpError}}
+{{#services}}
+ {{#unknown}}
+ <div class="alert alert-warning">
+ {{name}}: {{lang_unknownState}}
+ </div>
+ {{/unknown}}
+ {{^unknown}}
+ {{#fail}}
+ <div class="alert alert-danger">
+ {{name}}: <b>{{lang_failure}}</b>
+ {{#data.messages}}<pre>{{data.messages}}</pre>{{/data.messages}}
+ </div>
+ {{/fail}}
+ {{^fail}}
+ <div class="alert alert-success">
+ {{name}}: {{lang_OK}}
+ </div>
+ {{/fail}}
+ {{/unknown}}
+{{/services}}