From 9b43ef47fe4fae18f93cc3f305c5818ce24d2e13 Mon Sep 17 00:00:00 2001 From: Phillip Tarrant Date: Thu, 27 Aug 2020 20:01:41 -0400 Subject: [PATCH] adding colors to dashboard based on cpu/mem load --- app/frontend/templates/panel/dashboard.html | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/app/frontend/templates/panel/dashboard.html b/app/frontend/templates/panel/dashboard.html index 6d1abeb3..e8283454 100644 --- a/app/frontend/templates/panel/dashboard.html +++ b/app/frontend/templates/panel/dashboard.html @@ -132,15 +132,30 @@
-
- +
{{server['stats'][0]['cpu']}}%
-
+
{{server['stats'][0]['mem_percent']}}% - {{server['stats'][0]['mem']}}