From fdea4fb94cfac197301266545233138e34648b9a Mon Sep 17 00:00:00 2001 From: AlexC <40072887+alexdcrane@users.noreply.github.com> Date: Fri, 12 Nov 2021 12:56:19 -0700 Subject: [PATCH] Update system_status.php (#6120) --- .../resources/dashboard/system_status.php | 204 ++++++++---------- 1 file changed, 95 insertions(+), 109 deletions(-) diff --git a/app/system/resources/dashboard/system_status.php b/app/system/resources/dashboard/system_status.php index 833c53c2bb..f4bea43daf 100644 --- a/app/system/resources/dashboard/system_status.php +++ b/app/system/resources/dashboard/system_status.php @@ -48,126 +48,112 @@ if (substr_count($stat, '%') > 0) { $percent_disk_usage = rtrim($stat,'%'); break; } } - if ($percent_disk_usage != '') { - echo " -
-
-
%
-
+ if ($percent_disk_usage != '') + //add half doughnut charts + ?> +
+
+
+
- - "; + const disk_usage_chart = new Chart( + document.getElementById('disk_usage_chart'), + disk_chart_config + ); + +