hub v0.154.0: the host page shows each storage place's physical disk(s) and whether the agent proved them (16 §3)
gates / gates (push) Successful in 6m43s
gates / gates (push) Successful in 6m43s
Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
This commit is contained in:
1 parent
6749118cc8
commit
4c9bb5f198
6 files changed
+88
-9
No files matched your search
@@ -162,6 +162,8 @@
|
||||
<th>SMART</th>
|
||||
<th>Temp</th>
|
||||
<th>Wear</th>
|
||||
<th>Physical disk</th>
|
||||
<th>Identity</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -176,6 +178,8 @@
|
||||
<td>{{if .SmartHealth}}{{if eq .SmartHealth "PASSED"}}<span style="color: var(--green)">{{.SmartHealth}}</span>{{else if eq .SmartHealth "FAILED"}}<span style="color: var(--red)">{{.SmartHealth}}</span>{{else}}{{.SmartHealth}}{{end}}{{else}}—{{end}}</td>
|
||||
<td>{{if .TempC}}{{.TempC}}°C{{else}}—{{end}}</td>
|
||||
<td>{{if .WearPct}}{{.WearPct}}%{{else}}—{{end}}</td>
|
||||
<td class="mono" style="font-size:.8rem">{{if .PhysicalDisks}}{{range $i, $d := .PhysicalDisks}}{{if $i}}<br>{{end}}{{$d}}{{end}}{{else}}—{{end}}</td>
|
||||
<td>{{if eq .Identity "proven"}}<span style="color: var(--green)">proven</span>{{else if .Identity}}unknown{{if .IdentityReason}} ({{.IdentityReason}}){{end}}{{else}}—{{end}}{{if .Kind}} · {{.Kind}}{{end}}</td>
|
||||
</tr>
|
||||
{{end}}
|
||||
</tbody>
|
||||
|
||||
Reference in new issue
Block a user