blob: 5f16fd89f767e7a6c791ac0bee5e2139c63103ee (
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
|
<div class="col-md-12">
<div class="panel panel-default">
<div class="panel-body">
<div>
{{lang_knownMachines}}: <b>{{known}}</b> 
<a href="?do=Statistics&filter=state&argument=on">{{lang_onlineMachines}}</a>: <b>{{online}}</b> 
<a href="?do=Statistics&filter=state&argument=occupied">{{lang_inUseMachines}}</a>: <b>{{used}}</b> (<b>{{usedpercent}}%</b>)
</div>
{{#badhdd}}
<div>
<span class="glyphicon glyphicon-exclamation-sign red"></span>
<a href="?do=Statistics&filter=badsectors&argument=10">
{{lang_withBadSectors}}: <b>{{badhdd}}</b>
</a>
</div>
{{/badhdd}}
</div>
</div>
<div>
<canvas id="usagehist" style="width:100%;height:150px"></canvas>
<script type="text/javascript">
document.addEventListener("DOMContentLoaded", function() {
var data = {{{json}}};
var sel = false;
new Chart(document.getElementById('usagehist').getContext('2d')).Line(data, {
animation: false,
pointHitDetectionRadius: 5
});
}, false);
</script>
</div>
</div>
|