feat: Add GPU inspection support (#373)

This commit is contained in:
UUBulb
2024-06-23 10:27:33 +08:00
committed by GitHub
parent 65dee23137
commit cf9bbb5ff4
9 changed files with 110 additions and 72 deletions

View File

@@ -73,6 +73,10 @@
<span class="node-cell-expand-label">CPU:</span>
@#node.host.CPU.join(",")#@ (@#node.cpu.percent#@%)
</span>
<span class="node-cell-expand" v-if="node.host.GPU">
<span class="node-cell-expand-label">GPU:</span>
@#node.host.GPU.join(",")#@ (@#node.gpu.percent#@%)
</span>
<span class="node-cell-expand">
<span class="node-cell-expand-label">{{tr "DiskUsed"}}:</span>
@#formatByteSize(node.state.DiskUsed)#@ / @#formatByteSize(node.host.DiskTotal)#@ (@#node.hdd.percent#@%)