From 5bab1a6f171812aa52269599eac8d6e7c4b72201 Mon Sep 17 00:00:00 2001 From: Mokaddem Date: Tue, 26 Jul 2016 12:12:26 +0200 Subject: [PATCH] Added the click on a part in module stats --- var/www/templates/Moduletrending.html | 4 ++-- var/www/templates/trending_graphs/Moduletrending.html | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/var/www/templates/Moduletrending.html b/var/www/templates/Moduletrending.html index ee49c428..ba36703f 100644 --- a/var/www/templates/Moduletrending.html +++ b/var/www/templates/Moduletrending.html @@ -91,11 +91,11 @@ if (data[0][1] > 0 && data[0][1] < 7){ $("#day-"+module_name).text(data[0][1] + " Day(s) ago "); $("#panel-"+module_name).removeClass("panel-default") - $("#panel-"+module_name).addClass("panel-warning") + $("#panel-"+module_name).addClass("panel-info") } else if (data[0][1] > 6) { $("#day-"+module_name).text(data[0][1] + " Day(s) ago "); $("#panel-"+module_name).removeClass("panel-default") - $("#panel-"+module_name).addClass("panel-danger") + $("#panel-"+module_name).addClass("panel-warning") } } else { temp_data_pie.push({label: data[i][0], data: data[i][1]}); diff --git a/var/www/templates/trending_graphs/Moduletrending.html b/var/www/templates/trending_graphs/Moduletrending.html index 4c3477cc..133fe137 100644 --- a/var/www/templates/trending_graphs/Moduletrending.html +++ b/var/www/templates/trending_graphs/Moduletrending.html @@ -9,7 +9,7 @@
-
+
Click on a part
@@ -33,7 +33,7 @@
-
+
Click on a part
@@ -57,7 +57,7 @@
-
+
Click on a part