summaryrefslogtreecommitdiffstats
path: root/templates/statistics/machine-hdds.html
diff options
context:
space:
mode:
authorSimon Rettberg2016-02-15 18:33:37 +0100
committerSimon Rettberg2016-02-15 18:33:37 +0100
commit6821a5f066b8e2a5648c0eabf1322749300d28c3 (patch)
treed61b1fd3e2e91532dceed824ae03513430f037b6 /templates/statistics/machine-hdds.html
parent[ad/ldap] Fallback to default ports if working on old config (diff)
downloadslx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.tar.gz
slx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.tar.xz
slx-admin-6821a5f066b8e2a5648c0eabf1322749300d28c3.zip
[statistics] Smart values, show last log lines, location support
Diffstat (limited to 'templates/statistics/machine-hdds.html')
-rw-r--r--templates/statistics/machine-hdds.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/templates/statistics/machine-hdds.html b/templates/statistics/machine-hdds.html
index cb3cbffc..fd6cf1be 100644
--- a/templates/statistics/machine-hdds.html
+++ b/templates/statistics/machine-hdds.html
@@ -4,9 +4,21 @@
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
- {{dev}}
+ <b>{{s_ModelFamily}}</b> {{dev}}
</div>
<div class="panel-body">
+ {{#s_DeviceModel}}
+ <div>{{lang_modelNo}}: {{s_DeviceModel}}, {{lang_serialNo}}: {{s_SerialNumber}}</div>
+ {{/s_DeviceModel}}
+ {{#s_ReallocatedSectorCt}}
+ <div class="red">{{lang_reallocatedSectors}}: {{s_ReallocatedSectorCt}}</div>
+ {{/s_ReallocatedSectorCt}}
+ {{#s_CurrentPendingSector}}
+ <div class="red">{{lang_pendingSectors}}: {{s_CurrentPendingSector}}</div>
+ {{/s_CurrentPendingSector}}
+ {{#s_PowerOnHours}}
+ <div>{{lang_powerOnTime}}: {{s_PowerOnHours}}&thinsp;{{lang_hours}} ({{PowerOnTime}})</div>
+ {{/s_PowerOnHours}}
<div class="row">
<div class="col-sm-6">
<table class="table table-condensed table-striped table-responsive">