blob: e7d798186ea0977d9e0c5c74e051e5ed9b9e6761 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
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="text-nowrap"><a href="?do=Statistics&uuid={{machineuuid}}">{{hostname}}</a></td>
<td class="text-right">{{firstseen}}</td>
<td class="{{kvmclass}}">{{kvmicon}}</td>
<td class="text-right {{ramclass}}">{{gbram}} GiB</td>
<td class="text-right {{hddclass}}">{{gbtmp}} 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>
|