Show cpu graph subtext

This commit is contained in:
Johannes Zellner
2022-10-13 23:22:17 +02:00
parent 7985ed4b7d
commit 76f028fcfe
2 changed files with 5 additions and 3 deletions
+3 -2
View File
@@ -945,11 +945,12 @@
},
"systemMemory": {
"title": "System Memory",
"graphSubtext": "Only apps using more than 1GB of memory are shown"
"graphSubtext": "Only apps using more than {{ threshold }} of memory are shown"
},
"cpuUsage": {
"title": "CPU Usage",
"graphTitle": "Percentage"
"graphTitle": "Percentage",
"graphSubtext": "Only apps using more than {{ threshold }} of cpu are shown"
},
"selectPeriodLabel": "Select Period"
},
+2 -1
View File
@@ -36,12 +36,13 @@
<div class="card" style="min-height: 300px;">
<label>{{ 'system.cpuUsage.title' | tr }}</label>
<canvas id="graphsCPUChart" style="width: 100%;"></canvas>
<div class="text-muted text-center text-small">{{ 'system.cpuUsage.graphSubtext' | tr:{ threshold: '20 %'} }}</div>
<br/>
<label>{{ 'system.systemMemory.title' | tr }}</label>
<canvas id="graphsSystemMemoryChart" style="width: 100%;"></canvas>
<div class="text-muted text-center text-small">{{ 'system.systemMemory.graphSubtext' | tr }}</div>
<div class="text-muted text-center text-small">{{ 'system.systemMemory.graphSubtext' | tr:{ threshold: '1 GiB'} }}</div>
</div>
</div>