summaryrefslogtreecommitdiffstats
path: root/modules-available/statistics/templates/machine-main.html
blob: 8071416a2888af59242c833a3dfe6814e117b69e (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
<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}}&thinsp;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}}&thinsp;GiB</td>
					</tr>
					<tr class="{{kvmclass}}">
						<td>{{lang_64bitSupport}}</td>
						<td>{{kvmstate}}</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
</div>