diff options
Diffstat (limited to 'modules-available/statistics/templates/newclients.html')
-rw-r--r-- | modules-available/statistics/templates/newclients.html | 44 |
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&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>
\ No newline at end of file |