Remove graph subtext and move to footer
This commit is contained in:
@@ -209,7 +209,6 @@ onUnmounted(async () => {
|
||||
<div class="graphs" v-if="!busy">
|
||||
<GraphItem ref="cpuGraphItem"
|
||||
:title="$t('system.cpuUsage.title')"
|
||||
:subtext='systemCpus.length ? `${systemCpus.length} Core "${systemCpus[0].model}"` : ""'
|
||||
:period="period"
|
||||
yscale="cpu"
|
||||
:cpu-count="systemCpus.length"
|
||||
@@ -218,7 +217,6 @@ onUnmounted(async () => {
|
||||
|
||||
<GraphItem ref="memoryGraphItem"
|
||||
:title="$t('system.systemMemory.title')"
|
||||
:subtext="`RAM: ${prettyDecimalSize(systemMemory.memory)} Swap: ${prettyDecimalSize(systemMemory.swap)}`"
|
||||
:period="period"
|
||||
yscale="memory"
|
||||
:memory="systemMemory.memory + systemMemory.swap"
|
||||
@@ -227,7 +225,7 @@ onUnmounted(async () => {
|
||||
|
||||
<GraphItem ref="diskGraphItem"
|
||||
title="Disk I/O"
|
||||
:subtext="$t('app.graphs.diskIOTotal', { read: blockReadTotal, write: blockWriteTotal })"
|
||||
:footer="$t('app.graphs.diskIOTotal', { read: blockReadTotal, write: blockWriteTotal })"
|
||||
:period="period"
|
||||
yscale="disk"
|
||||
>
|
||||
@@ -235,7 +233,7 @@ onUnmounted(async () => {
|
||||
|
||||
<GraphItem ref="networkGraphItem"
|
||||
title="Network I/O"
|
||||
:subtext="$t('app.graphs.networkIOTotal', { inbound: networkReadTotal, outbound: networkWriteTotal })"
|
||||
:footer="$t('app.graphs.networkIOTotal', { inbound: networkReadTotal, outbound: networkWriteTotal })"
|
||||
:period="period"
|
||||
yscale="network"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user