summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/summary.html
diff options
context:
space:
mode:
authorSimon Rettberg2017-11-30 14:16:35 +0100
committerSimon Rettberg2017-11-30 14:16:35 +0100
commit0914ae089ccaaa1a44d6d6fab4e6966dd06b813c (patch)
tree07630f1d02cf9f8b802c0e558748b6e40622e85c /modules-available/statistics/templates/summary.html
parent[locationinfo] Added standby to the summary panel (diff)
downloadslx-admin-0914ae089ccaaa1a44d6d6fab4e6966dd06b813c.tar.gz
slx-admin-0914ae089ccaaa1a44d6d6fab4e6966dd06b813c.tar.xz
slx-admin-0914ae089ccaaa1a44d6d6fab4e6966dd06b813c.zip
[statistics] Handle runmode and its isclient flag
Diffstat (limited to 'modules-available/statistics/templates/summary.html')
-rw-r--r--modules-available/statistics/templates/summary.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/modules-available/statistics/templates/summary.html b/modules-available/statistics/templates/summary.html
index 642c48fc..fe9559ed 100644
--- a/modules-available/statistics/templates/summary.html
+++ b/modules-available/statistics/templates/summary.html
@@ -1,6 +1,11 @@
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
+ {{#runmode}}
+ <div class="pull-right">
+ <a href="?do=runmode">{{lang_runmodeMachines}}</a>: <b>{{runmode}}</b>
+ </div>
+ {{/runmode}}
<div>
{{lang_knownMachines}}: <b>{{known}}</b>&emsp;
<a href="?do=Statistics&amp;show=stat&amp;filters={{query}}~,~state=on">{{lang_onlineMachines}}</a>: <b>{{online}}</b>&emsp;
@@ -10,8 +15,9 @@
<div>
<span class="glyphicon glyphicon-exclamation-sign red"></span>
<a href="?do=Statistics&amp;show=list&amp;filters={{query}}~,~badsectors>=10">
- {{lang_withBadSectors}}: <b>{{badhdd}}</b>
+ {{lang_withBadSectors}}:
</a>
+ <b>{{badhdd}}</b>
</div>
{{/badhdd}}
</div>