summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/newclients.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/newclients.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/newclients.html')
-rw-r--r--modules-available/statistics/templates/newclients.html44
1 files changed, 44 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/newclients.html b/modules-available/statistics/templates/newclients.html
new file mode 100644
index 00000000..0d9c74df
--- /dev/null
+++ b/modules-available/statistics/templates/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