From e8b0a1bbc2b75901c17c8eeacac8100749ce2516 Mon Sep 17 00:00:00 2001 From: saravanan30erd Date: Mon, 20 Jan 2020 18:10:37 +0400 Subject: [PATCH 1/2] change the view from horizontal to vertical --- templates/index.html | 5 +++-- templates/layout.html | 3 +-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/index.html b/templates/index.html index ea8169f..2d7e251 100644 --- a/templates/index.html +++ b/templates/index.html @@ -7,7 +7,7 @@ $ color = "green"
-
+
$for server in range(len(output)): $code: errors = 0 @@ -89,10 +89,11 @@ $for server in range(len(output)):
-
+



Latest update: $now.day/$now.month/$now.year, $now.hour:$now.minute:$now.second

+Home | Help
diff --git a/templates/layout.html b/templates/layout.html index 62fc37c..d2fc766 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -8,11 +8,10 @@ $def with (content) - + $:content - Home | Help From b1baeab76096fee807992786127826f52d31df2e Mon Sep 17 00:00:00 2001 From: saravanan30erd Date: Mon, 20 Jan 2020 18:12:23 +0400 Subject: [PATCH 2/2] update canvas graph --- static/monit-dashboard.css | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/static/monit-dashboard.css b/static/monit-dashboard.css index 8e1b27e..ab229bc 100644 --- a/static/monit-dashboard.css +++ b/static/monit-dashboard.css @@ -94,9 +94,11 @@ div.panel.show { } .canvas-container { - height: 35%; - margin: auto; - width: 24%; + width: 50%; + display: flex; + justify-content: center; + margin-top:200; + margin-bottom:100; } .canvas-graph {