summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/clientlist.html
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-03 19:03:09 +0200
committerSimon Rettberg2016-05-03 19:03:09 +0200
commit50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66 (patch)
tree05e99fdffa696434960d7c77966c0bc36d6339e8 /modules-available/statistics/templates/clientlist.html
parentSecond half of merge.... (diff)
downloadslx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.tar.gz
slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.tar.xz
slx-admin-50404f3b23b7fd6aeae4c9d2f6df0ea25e984e66.zip
WIP
Diffstat (limited to 'modules-available/statistics/templates/clientlist.html')
-rw-r--r--modules-available/statistics/templates/clientlist.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/clientlist.html b/modules-available/statistics/templates/clientlist.html
new file mode 100644
index 00000000..8e8565fe
--- /dev/null
+++ b/modules-available/statistics/templates/clientlist.html
@@ -0,0 +1,45 @@
+<h1>{{lang_clientList}}</h1>
+<div class="pull-right">{{filter}} ~= {{argument}}</div>
+<div class="clearfix"></div>
+
+<table class="table table-condensed table-striped">
+ <tr>
+ <th>{{lang_machine}}</th>
+ <th>{{lang_address}}</th>
+ <th class="text-right">{{lang_lastSeen}}</th>
+ <th>{{lang_kvmSupport}}</th>
+ <th class="text-right">{{lang_gbRam}}</th>
+ <th class="text-right">{{lang_tmpGb}}</th>
+ <th>{{lang_cpuModel}}</th>
+ </tr>
+ {{#rows}}
+ <tr>
+ <td class="slx-nowrap">
+ {{#hasnotes}}<span class="glyphicon glyphicon-exclamation-sign pull-right"></span>{{/hasnotes}}
+ {{#state_off}}
+ <span class="glyphicon glyphicon-off" title="{{lang_machineOff}}"></span>
+ {{/state_off}}
+ {{#state_idle}}
+ <span class="glyphicon glyphicon-ok green" title="{{lang_machineIdle}}"></span>
+ {{/state_idle}}
+ {{#state_occupied}}
+ <span class="glyphicon glyphicon-user red" title="{{lang_machineOccupied}}"></span>
+ {{/state_occupied}}
+ <a href="?do=Statistics&amp;uuid={{machineuuid}}"><b>{{hostname}}</b></a>
+ <div class="small">{{machineuuid}}</div>
+ </td>
+ <td><b><a href="?do=Statistics&amp;filter=subnet&amp;argument={{subnet}}">{{subnet}}</a>{{lastoctet}}</b><br>{{macaddr}}</td>
+ <td class="text-right">{{lastseen}}</td>
+ <td class="{{kvmclass}}">{{kvmstate}}</td>
+ <td class="text-right {{ramclass}}">{{gbram}}&thinsp;GiB</td>
+ <td class="text-right {{hddclass}}">
+ {{gbtmp}}&thinsp;GiB
+ {{#badsectors}}<div>
+ <span class="glyphicon glyphicon-exclamation-sign"></span>
+ {{badsectors}}
+ </div>{{/badsectors}}
+ </td>
+ <td>{{lang_realCores}}: {{realcores}}<div class="small">{{cpumodel}}</div></td>
+ </tr>
+ {{/rows}}
+</table>