summaryrefslogtreecommitdiffstats
path: root/templates/statistics/newclients.html
diff options
context:
space:
mode:
authorSimon Rettberg2015-11-30 13:48:11 +0100
committerSimon Rettberg2015-11-30 13:48:11 +0100
commite5c5e8422a74694d1abcd28f420450a25094c4b9 (patch)
tree8bd1f0ad89b264f6d1dcf7f7fa4c0295f3c2672b /templates/statistics/newclients.html
parentImplement statistics logging (diff)
downloadslx-admin-e5c5e8422a74694d1abcd28f420450a25094c4b9.tar.gz
slx-admin-e5c5e8422a74694d1abcd28f420450a25094c4b9.tar.xz
slx-admin-e5c5e8422a74694d1abcd28f420450a25094c4b9.zip
Improve client logging
Diffstat (limited to 'templates/statistics/newclients.html')
-rw-r--r--templates/statistics/newclients.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/templates/statistics/newclients.html b/templates/statistics/newclients.html
new file mode 100644
index 00000000..0d9c74df
--- /dev/null
+++ b/templates/statistics/newclients.html
@@ -0,0 +1,44 @@
+<div class="col-md-6">
+ <div class="panel panel-default">
+ <div class="panel-heading">
+ {{lang_newMachines}}
+ </div>
+ <div class="panel-body">
+ <table class="table table-condensed table-striped" id="newclienttable">
+ <tr>
+ <th>{{lang_machine}}</th>
+ <th class="text-right"></th>
+ <th>64Bit</th>
+ <th class="text-right">RAM</th>
+ <th class="text-right">HDD</th>
+ </tr>
+ {{#rows}}
+ <tr style="{{style}}">
+ <td class="slx-nowrap"><a href="?do=Statistics&amp;uuid={{machineuuid}}">{{hostname}}</a></td>
+ <td class="text-right">{{firstseen}}</td>
+ <td class="{{kvmclass}}">{{kvmicon}}</td>
+ <td class="text-right {{ramclass}}">{{gbram}}&thinsp;GiB</td>
+ <td class="text-right {{hddclass}}">{{gbtmp}}&thinsp;GiB</td>
+ </tr>
+ {{/rows}}
+ {{#openbutton}}
+ <tr>
+ <td colspan="5" onclick="slxExpandNew(this)">
+ <span class="btn-group btn-group-justified">
+ <span class="btn btn-default">
+ <span class="glyphicon glyphicon-menu-down"></span>
+ </span>
+ </span>
+ <script type="text/javascript">
+ function slxExpandNew(b) {
+ $('#newclienttable').find('tr').show();
+ $(b).hide();
+ }
+ </script>
+ </td>
+ </tr>
+ {{/openbutton}}
+ </table>
+ </div>
+ </div>
+</div> \ No newline at end of file