blob: 1139d5b9a30ed6bd9ccbcf2214d6b39aaad2514a (
plain) (
tree)
|
|
<h1>
{{hostname}} {{#hostname}}–{{/hostname}} {{clientip}}
{{#notes}}<a href="#usernotes"><span class="glyphicon glyphicon-tags"></span></a>{{/notes}}
</h1>
<ol class="breadcrumb">
{{#locations}}
<li><a href="?do=statistics&show=list&filters=location={{locationid}}">{{locationname}}</a></li>
{{/locations}}
<li class="active">{{hostname}} {{^hostname}} {{clientip}} {{/hostname}}</li>
</ol>
<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" style="margin-bottom:-5px">
<tr>
<td class="text-nowrap">{{lang_uuid}}</td>
<td>{{machineuuid}}</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_macAddr}}</td>
<td>{{macaddr}}</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_ip}}</td>
<td>{{clientip}}</td>
</tr>
{{#nic-speed}}
<tr>
<td class="text-nowrap">{{lang_nicSpeed}}</td>
<td>{{nic-speed}} MBit/s, {{lang_duplex}}: {{nic-duplex}}</td>
</tr>
{{/nic-speed}}
{{#hostname}}
<tr>
<td class="text-nowrap">{{lang_hostname}}</td>
<td>{{hostname}}</td>
</tr>
{{/hostname}}
<tr>
<td class="text-nowrap">{{lang_firstSeen}}</td>
<td>{{firstseen_s}}</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_lastBoot}}</td>
<td>
{{lastboot_s}}
{{#minilinux}}
<div>
{{lang_baseSystem}}: {{minilinux}}
{{#boottime_s}}
(<span title="{{lang_boottimeTooltip}}">{{boottime_s}}</span>)
{{/boottime_s}}
</div>
{{/minilinux}}
</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_lastSeen}}</td>
<td>{{lastseen_s}}</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_usageState}}</td>
<td>
{{#state_OFFLINE}}
<span class="glyphicon glyphicon-off"></span> {{lang_machineOff}}
{{/state_OFFLINE}}
{{#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}}{{logintime_s}}{{/logintime}}</div>
{{/state_OCCUPIED}}
{{#state_STANDBY}}
<span class="glyphicon glyphicon-off green"></span> {{lang_machineStandby}}
{{/state_STANDBY}}
{{#session}}
<div>
{{#lectureid}}
<a href="?do=dozmod§ion=actionlog&action=showtarget&uuid={{lectureid}}">{{session}}</a>
{{/lectureid}}
{{^lectureid}}
{{session}}
{{/lectureid}}
</div>
{{/session}}
</td>
</tr>
{{#modeid}}
<tr>
<td class="text-nowrap">{{lang_runMode}}</td>
<td>
<a href="?do=runmode&module={{module}}">{{moduleName}}</a> – {{modeName}}
</td>
</tr>
{{/modeid}}
{{#roomsvg}}
<tr>
<td class="text-nowrap">
{{lang_roomplan}}
</td>
<td>
<div>
{{{roomsvg}}}
</div>
<a href="?do=roomplanner&locationid={{locationid}}" target="_blank"
onclick="window.open(this.href, '_blank', 'toolbar=0,scrollbars,resizable');return false">
{{lang_edit}}
</a>
</td>
</tr>
{{/roomsvg}}
{{#rebootcontrol}}
<tr>
<td class="text-nowrap">
{{lang_remoteActions}}
</td>
<td>
<form method="post" action="?do=statistics">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="uuid" value="{{machineuuid}}">
<div class="slx-smallspace">
{{#canShutdown}}
<button type="button" class="btn btn-sm btn-danger btn-machine-action" data-toggle="modal"
data-target="#shutdown-confirm">
<span class="glyphicon glyphicon-off"></span>
{{lang_shutdown}}
</button>
{{/canShutdown}}
{{#canReboot}}
<button type="button" class="btn btn-sm btn-warning btn-machine-action" data-toggle="modal"
data-target="#reboot-confirm">
<span class="glyphicon glyphicon-repeat"></span>
{{lang_reboot}}
</button>
{{/canReboot}}
</div>
<div>
{{#canWol}}
<button type="submit" name="action" value="wol" class="btn btn-sm btn-primary btn-machine-action">
<span class="glyphicon glyphicon-bell"></span>
{{lang_wakeOnLan}}
</button>
{{/canWol}}
{{#canExec}}
<div class="btn-group">
<button type="submit" name="action" value="prepare-exec" class="btn btn-sm btn-primary btn-machine-action">
<span class="glyphicon glyphicon-play"></span>
{{lang_remoteExec}}
</button>
<button type="button" class="btn btn-sm btn-primary btn-machine-action dropdown-toggle"
data-toggle="dropdown" aria-haspopup="true">
<span class="caret"></span>
<span class="sr-only">Toggle Dropdown</span>
</button>
<div class="dropdown-menu" style="padding:0">
<div class="btn-group-vertical">
{{#execList}}
<button type="submit" name="action" value="exec-preset-{{id}}" class="btn btn-danger btn-machine-action">
{{title}}
</button>
{{/execList}}
</div>
</div>
</div>
{{/canExec}}
</div>
<div class="modal fade" id="reboot-confirm" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<b>{{lang_reboot}}</b>
</div>
<div class="modal-body">
<p>{{lang_rebootConfirm}}</p>
<div class="checkbox">
<input type="checkbox" name="kexec" value="1" id="kexec-input">
<label for="kexec-input">{{lang_rebootKexecCheck}}</label>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default"
data-dismiss="modal">{{lang_cancel}}</button>
<button type="submit" class="btn btn-danger" name="action"
value="rebootmachines">
<span class="glyphicon glyphicon-repeat"></span>
{{lang_reboot}}
</button>
</div>
</div>
</div>
</div>
<div class="modal fade" id="shutdown-confirm" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<b>{{lang_shutdown}}</b>
</div>
<div class="modal-body">
{{lang_shutdownConfirm}}
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default"
data-dismiss="modal">{{lang_cancel}}</button>
<button type="submit" class="btn btn-danger" name="action"
value="shutdownmachines">
<span class="glyphicon glyphicon-off"></span>
{{lang_shutdown}}
</button>
</div>
</div>
</div>
</div>
</form>
</td>
</tr>
{{/rebootcontrol}}
{{#hasBaseconfig}}
<tr>
<td class="text-nowrap">
{{lang_configVars}}
</td>
<td>
<a class="btn btn-sm btn-default" href="?do=baseconfig&module=statistics&machineuuid={{machineuuid}}&redirect={{qstr_urlencode}}">
<span class="glyphicon glyphicon-edit"></span>
{{lang_edit}} ({{overriddenVars}})
</a>
</td>
</tr>
{{/hasBaseconfig}}
</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 class="text-nowrap">{{lang_cpuModel}}</td>
<td>
<a href="?do=statistics&show=list&filter[cpumodel]=1&op[cpumodel]=%3D&arg[cpumodel]={{cpumodel}}">
{{cpumodel}}
</a>
{{#cpu-sockets}}
<div class="small">
{{lang_sockets}}: {{cpu-sockets}}, {{lang_cores}}: {{cpu-cores}}, {{lang_virtualCores}}: {{cpu-threads}}
</div>
{{/cpu-sockets}}
{{#live_cpuload_s}}
<div class="meter">
<div class="text left">{{lang_cpuload}}</div>
<div class="text right">{{live_cpuload_s}}</div>
<div class="bar" style="width:{{live_cpuidle}}%"></div>
</div>
{{/live_cpuload_s}}
{{#live_cputemp}}
<div class="meter">
<div class="text left">{{lang_cputemp}}</div>
<div class="text right">{{live_cputemp}} °C</div>
<div class="bar" style="width:{{live_cputemppercent}}%"></div>
</div>
{{/live_cputemp}}
</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_pcmodel}}</td>
<td>
{{#system.Product Name}}
<a href="?do=statistics&show=list&filter[systemmodel]=1&op[systemmodel]=%3D&arg[systemmodel]={{system.Product Name}}+({{system.Manufacturer}})">
{{system.Product Name}} ({{system.Manufacturer}})
</a>
{{/system.Product Name}}
</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_mobomodel}}</td>
<td>{{mainboard.Product Name}} ({{mainboard.Manufacturer}})</td>
</tr>
<tr>
<td class="text-nowrap">
<div>{{lang_biosVersion}}</div>
<div>{{lang_biosDate}}</div>
</td>
<td class="text-nowrap">
<div id="bios-panel" class="pull-right"style="max-width:30%">{{{bioshtml}}}</div>
<div>{{bios.Version}} (<b>{{bios.BIOS Revision}}</b>)</div>
<div>{{bios.Release Date}}</div>
</td>
</tr>
<tr class="{{ramclass}}">
<td class="text-nowrap">{{lang_ram}}</td>
<td>
<div>
{{gbram}} GiB
{{#Memory Maximum Capacity}}
/ {{lang_maximumAbbrev}} {{Memory Maximum Capacity}}
{{/Memory Maximum Capacity}}
{{#Memory Slot Count}}
({{Memory Slot Count}} {{lang_slots}})
{{/Memory Slot Count}}
</div>
<div>{{ramtype}}</div>
{{#live_memsize}}
<div class="meter">
<div class="text left">{{lang_ram}}</div>
<div class="text right">{{live_memfree_s}} {{lang_free}}</div>
<div class="bar" style="width:{{live_mempercent}}%"></div>
</div>
{{/live_memsize}}
{{#live_swapsize}}
<div class="meter">
<div class="text left">{{lang_swap}}</div>
<div class="text right">{{live_swapfree_s}} {{lang_free}}</div>
<div class="bar" style="width:{{live_swappercent}}%"></div>
</div>
{{/live_swapsize}}
</td>
</tr>
<tr>
<td colspan="2">
<table class="table-responsive slx-table text-nowrap">
<thead>
<tr class="small">
<td>{{lang_slot}}</td>
<td></td>
<td>{{lang_speed}}</td>
<td>{{lang_manufacturer}}</td>
<td>{{lang_serialNo}}</td>
</tr>
</thead>
{{#ram}}
{{#Speed}}
<tr>
<td>
{{Locator}},
{{Bank Locator}}
{{^Bank Locator}}{{#Set}}Set {{Set}}{{/Set}}{{/Bank Locator}}
</td>
<td class="slx-bold">{{Size}}</td>
<td>{{#Configured Memory Speed}}{{Configured Memory Speed}} / {{/Configured Memory Speed}}{{Speed}}</td>
<td>{{Manufacturer}}</td>
<td>{{Serial Number}}</td>
</tr>
{{/Speed}}
{{/ram}}
</table>
</td>
</tr>
<tr class="{{hddclass}}">
<td class="text-nowrap">{{lang_tempPartID}}
<div class="text-muted">
{{lang_tempPart}}
</div>
</td>
<td>
<div>
{{gbtmp}} GiB
</div>
{{#live_tmpsize}}
<div class="meter">
<div class="text right">{{live_tmpfree_s}} {{lang_free}}</div>
<div class="bar" style="width:{{live_tmppercent}}%"></div>
</div>
{{/live_tmpsize}}
</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_persistentPartID}}
<div class="text-muted">
{{lang_persistentPart}}
</div>
</td>
<td>
<div>
{{gbid45}} GiB
</div>
{{#live_id45size}}
<div class="meter">
<div class="text right">{{live_id45free_s}} {{lang_free}}</div>
<div class="bar" style="width:{{live_id45percent}}%"></div>
</div>
{{/live_id45size}}
</td>
</tr>
<tr class="{{kvmclass}}">
<td class="text-nowrap">{{lang_64bitSupport}}</td>
<td>{{kvmstate}}</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_screens}}</td>
<td>
<form method="post" action="?do=statistics&show=projectors" id="delprojector">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="delprojector">
</form>
<form method="post" action="?do=statistics&show=projectors" id="addprojector">
<input type="hidden" name="token" value="{{token}}">
<input type="hidden" name="action" value="addprojector">
</form>
{{#screens}}
<div class="small">
{{#hwname}}
<div class="pull-right btn-group btn-group-xs">
{{#projector}}
<a href="?do=statistics&show=projectors" class="btn btn-default {{perms.hardware.projectors.view.disabled}}">
{{lang_projector}}
</a>
<button form="delprojector" type="submit" name="hwid" value="{{hwid}}"
class="btn btn-danger" {{perms.hardware.projectors.edit.disabled}}>
<span class="glyphicon glyphicon-remove"></span>
</button>
{{/projector}}
{{^projector}}
<button form="addprojector" type="submit" name="hwid" value="{{hwid}}"
class="btn btn-success" {{perms.hardware.projectors.edit.disabled}}>
<span class="glyphicon glyphicon-plus"></span> {{lang_projector}}
</button>
{{/projector}}
</div>
{{/hwname}}
{{connector}}: <b>{{hwname}}</b> {{^hwname}}<i>{{lang_noEdid}}</i>{{/hwname}} {{resolution}}
<div class="clearfix"></div>
</div>
{{/screens}}
</td>
</tr>
</table>
<h4>{{lang_devices}}</h4>
{{#lspci1}}
<div><span>{{class_s}}</span></div>
{{#entries}}
<div class="small">
 └
<span class="badge">{{pt}}</span>
<span{{^vendor_s}} class="query-{{vendor}}"{{/vendor_s}}>{{vendor_s}}</span>
<span{{^device_s}} class="query-{{vendor}}-{{device}}"{{/device_s}}>{{device_s}}</span>
<a href="?do=passthrough&show=hwlist#{{vendor}}-{{device}}">[{{vendor}}:{{device}}]</a>
</div>
{{/entries}}
{{/lspci1}}
<div id="lspci" class="collapse">
{{#lspci2}}
<div><span>{{class_s}}</span></div>
{{#entries}}
<div class="small">
 └
<span class="badge">{{pt}}</span>
<span{{^vendor_s}} class="query-{{vendor}}"{{/vendor_s}}>{{vendor_s}}</span>
<span{{^device_s}} class="query-{{vendor}}-{{device}}"{{/device_s}}>{{device_s}}</span>
<a href="?do=passthrough&show=hwlist#{{vendor}}-{{device}}">[{{vendor}}:{{device}}]</a>
</div>
{{/entries}}
{{/lspci2}}
</div>
<div><button class="btn btn-xs btn-default" data-toggle="collapse" data-target="#lspci">{{lang_more}}</button></div>
</div>
</div>
</div>
</div>
|