summaryrefslogtreecommitdiffstats
path: root/templates/statistics/clientlist.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-11-19 12:13:36 +0100
committerSimon Rettberg2015-11-19 12:13:36 +0100
commit66aac2e67e35bd987bc3750b63f2734e47d0d57d (patch)
treeb9881051c3587a00fa56972c6b449731689cdd68 /templates/statistics/clientlist.html
parent[request.inc.php] Add optional parameter to control variable type (diff)
downloadslx-admin-66aac2e67e35bd987bc3750b63f2734e47d0d57d.tar.gz
slx-admin-66aac2e67e35bd987bc3750b63f2734e47d0d57d.tar.xz
slx-admin-66aac2e67e35bd987bc3750b63f2734e47d0d57d.zip
Implement statistics logging
DB scheme update is still missing, might still change a little...
Diffstat (limited to 'templates/statistics/clientlist.html')
-rw-r--r--templates/statistics/clientlist.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/templates/statistics/clientlist.html b/templates/statistics/clientlist.html
new file mode 100644
index 00000000..e5f91493
--- /dev/null
+++ b/templates/statistics/clientlist.html
@@ -0,0 +1,26 @@
+<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_lastBoot}}</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"><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">{{lastboot}}</td>
+ <td class="{{kvmclass}}">{{kvmstate}}</td>
+ <td class="text-right {{ramclass}}">{{gbram}}&thinsp;GiB</td>
+ <td class="text-right {{hddclass}}">{{gbtmp}}&thinsp;GiB</td>
+ <td>{{lang_realCores}}: {{realcores}}<div class="small">{{cpumodel}}</div></td>
+ </tr>
+ {{/rows}}
+</table> \ No newline at end of file