diff options
Diffstat (limited to 'modules-available/statistics/templates/machine-main.html')
-rw-r--r-- | modules-available/statistics/templates/machine-main.html | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/modules-available/statistics/templates/machine-main.html b/modules-available/statistics/templates/machine-main.html new file mode 100644 index 00000000..8071416a --- /dev/null +++ b/modules-available/statistics/templates/machine-main.html @@ -0,0 +1,124 @@ +<h1> + {{hostname}} {{#hostname}}–{{/hostname}} {{clientip}} + {{#notes}}<a href="#usernotes"><span class="glyphicon glyphicon-exclamation-sign"></span></a>{{/notes}} +</h1> + +<div class="row"> + <div class="col-md-6"> + <div class="panel panel-default"> + <div class="panel-heading"> + {{lang_machineSummary}} + </div> + <div class="panel-body"> + <table class="table table-condensed"> + <tr> + <td>{{lang_uuid}}</td> + <td>{{machineuuid}}</td> + </tr> + <tr> + <td>{{lang_macAddr}}</td> + <td>{{macaddr}}</td> + </tr> + <tr> + <td>{{lang_ip}}</td> + <td>{{clientip}}</td> + </tr> + {{#hostname}} + <tr> + <td>{{lang_hostname}}</td> + <td>{{hostname}}</td> + </tr> + {{/hostname}} + <tr> + <td>{{lang_firstSeen}}</td> + <td>{{firstseen_s}}</td> + </tr> + <tr> + <td>{{lang_lastBoot}}</td> + <td>{{lastboot_s}}</td> + </tr> + <tr> + <td>{{lang_lastSeen}}</td> + <td>{{lastseen_s}}</td> + </tr> + <tr> + <td>{{lang_usageState}}</td> + <td> + {{#state_off}} + <span class="glyphicon glyphicon-off"></span> {{lang_machineOff}} + {{/state_off}} + {{#state_idle}} + <span class="glyphicon glyphicon-ok green"></span> {{lang_machineIdle}} + {{/state_idle}} + {{#state_occupied}} + {{#username}} + <span class="glyphicon glyphicon-user red"></span> {{lang_machineOccupiedBy}} <b>{{username}}</b> + {{/username}} + {{^username}} + <span class="glyphicon glyphicon-user red"></span> {{lang_machineOccupied}} + {{/username}} + <div>{{logintime_s}}</div> + {{/state_occupied}} + {{#session}} + <div>{{session}}</div> + {{/session}} + </td> + </tr> + </table> + </div> + </div> + </div> + <div class="col-md-6"> + <div class="panel panel-default"> + <div class="panel-heading"> + {{lang_hardwareSummary}} + </div> + <div class="panel-body"> + <table class="table table-condensed"> + <tr> + <td>{{lang_cpuModel}}</td> + <td> + {{cpumodel}} + {{#Sockets}} + <div class="small"> + {{lang_sockets}}: {{Sockets}}, {{lang_cores}}: {{Realcores}}, {{lang_virtualCores}}: {{Virtualcores}} + </div> + {{/Sockets}} + </td> + </tr> + <tr> + <td>{{lang_model}}</td> + <td>{{pcmodel}} ({{manufacturer}})</td> + </tr> + <tr class="{{ramclass}}"> + <td>{{lang_ram}}</td> + <td> + {{gbram}} GiB + {{#maxram}}({{lang_maximumAbbrev}} {{maxram}}){{/maxram}} + {{ramtype}} + </td> + </tr> + {{#extram}} + <tr> + <td>{{lang_ramSlots}}</td> + <td> + {{ramslotcount}}: + {{#ramslot}} + [ {{size}} ] + {{/ramslot}} + </td> + </tr> + {{/extram}} + <tr class="{{hddclass}}"> + <td>{{lang_tempPart}}</td> + <td>{{gbtmp}} GiB</td> + </tr> + <tr class="{{kvmclass}}"> + <td>{{lang_64bitSupport}}</td> + <td>{{kvmstate}}</td> + </tr> + </table> + </div> + </div> + </div> +</div> |