From e1cbefb692ceb9315315eba54eb042717afd1212 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Thu, 9 May 2024 07:19:41 -0600 Subject: [PATCH] Add link to system stats from status bar (#11303) --- web/src/components/Statusbar.tsx | 56 ++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 24 deletions(-) diff --git a/web/src/components/Statusbar.tsx b/web/src/components/Statusbar.tsx index 00374ad71..c2e81cf90 100644 --- a/web/src/components/Statusbar.tsx +++ b/web/src/components/Statusbar.tsx @@ -58,18 +58,20 @@ export default function Statusbar() {
{cpuPercent && ( -
- - CPU {cpuPercent}% -
+ +
+ + CPU {cpuPercent}% +
+ )} {Object.entries(stats?.gpu_usages || {}).map(([name, stats]) => { if (name == "error-gpu") { @@ -93,18 +95,24 @@ export default function Statusbar() { const gpu = parseInt(stats.gpu); return ( -
- - {gpuTitle} {gpu}% -
+ + {" "} +
+ + {gpuTitle} {gpu}% +
+ ); })}