From a22071dffe225c7a6b8b6f49026cf20f1b608c52 Mon Sep 17 00:00:00 2001 From: saravanan30erd Date: Wed, 21 Aug 2019 17:51:02 +0400 Subject: [PATCH] get chart values dynamically --- templates/index.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 174c06a..92d0b7b 100644 --- a/templates/index.html +++ b/templates/index.html @@ -3,6 +3,7 @@ $def with (output, now) $ errors = 0 $ color = "green" + $for server in range(len(output)): $code: errors = 0 @@ -17,7 +18,7 @@ $for server in range(len(output)): $if errors > 0: $code: color = "red" - +

@@ -82,6 +83,7 @@ Latest update: $now.day/$now.month/$now.year, $now.hour:$now.minute:$now.second +