blob: d8f2c521751a7a3a58bbf503f9d56db3c00e1a1f (
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
<h1>
{{hostname}} {{#hostname}}–{{/hostname}} {{clientip}}
{{#notes}}<a href="#usernotes"><span class="glyphicon glyphicon-exclamation-sign"></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">
<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>
{{#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}}</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_s}}</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}}
</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>
{{cpumodel}}
{{#Sockets}}
<div class="small">
{{lang_sockets}}: {{Sockets}}, {{lang_cores}}: {{Realcores}}, {{lang_virtualCores}}: {{Virtualcores}}
</div>
{{/Sockets}}
</td>
</tr>
<tr>
<td class="text-nowrap">{{lang_model}}</td>
<td>{{pcmodel}} ({{manufacturer}})</td>
</tr>
<tr class="{{ramclass}}">
<td class="text-nowrap">{{lang_ram}}</td>
<td>
{{gbram}} GiB
{{#maxram}}({{lang_maximumAbbrev}} {{maxram}}){{/maxram}}
{{ramtype}}
</td>
</tr>
{{#extram}}
<tr>
<td class="text-nowrap">{{lang_ramSlots}}</td>
<td>
{{ramslotcount}}:
{{#ramslot}}
[ {{size}} ]
{{/ramslot}}
</td>
</tr>
{{/extram}}
<tr class="{{hddclass}}">
<td class="text-nowrap">{{lang_tempPart}}</td>
<td>{{gbtmp}} GiB</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">{{lang_projector}}</a>
<button form="delprojector" type="submit" name="hwid" value="{{hwid}}"
class="btn btn-danger"><span class="glyphicon glyphicon-remove"></span></button>
{{/projector}}
{{^projector}}
<button form="addprojector" type="submit" name="hwid" value="{{hwid}}"
class="btn btn-success"><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="{{lookupClass}}">{{class}}</span></div>
{{#entries}}
<div class="small"> └ <span class="{{lookupVen}}">{{ven}}</span> <span class="{{lookupDev}}">{{dev}}</span></div>
{{/entries}}
{{/lspci1}}
<div id="lspci" class="collapse">
{{#lspci2}}
<div><span class="{{lookupClass}}">{{class}}</span></div>
{{#entries}}
<div class="small"> └ <span class="{{lookupVen}}">{{ven}}</span> <span class="{{lookupDev}}">{{dev}}</span></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>
<script type="application/javascript"><!--
document.addEventListener("DOMContentLoaded", function () {
$('span.do-lookup').each(function () {
$(this).load('?do=statistics&lookup=' + $(this).text());
});
}, false);
// --></script>
|