blob: 0d9c74dfb26dc8b4c42fae695af9a95c1f0334f1 (
plain) (
tree)
|
|
<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&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>
|