diff --git a/README.md b/README.md index 30c95bf..8b43a6f 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -pyDash - v1.4.1 +pyDash - v1.4.2 ====== A small web-based monitoring dashboard for your linux pc/server writen in Python and Django + Chart.js. diff --git a/pydash/settings.py b/pydash/settings.py index face6fd..ade20e6 100644 --- a/pydash/settings.py +++ b/pydash/settings.py @@ -36,7 +36,7 @@ TIME_JS_REFRESH = 30000 TIME_JS_REFRESH_LONG = 120000 TIME_JS_REFRESH_NET = 2000 -VERSION = "1.4.1" +VERSION = "1.4.2" ALLOWED_HOSTS = ['*'] diff --git a/static/js/dashboard.js b/static/js/dashboard.js index 1a54f88..a2eb107 100644 --- a/static/js/dashboard.js +++ b/static/js/dashboard.js @@ -251,11 +251,11 @@ dashboard.getIps = function() { } //Expand-Contract div/table -jQuery(document).ready(function() { - jQuery(".widget-content").show(); - //toggle the componenet with class msg_body - jQuery(".widget-header").click(function() +$(document).ready(function() { + $(".widget-content").show(); + $(".widget-header").click(function() { - jQuery(this).next(".widget-content").slideToggle(500); + $(this).next(".widget-content").slideToggle(500); + $("i",this).toggleClass("icon-minus icon-plus"); }); -}); \ No newline at end of file +}); diff --git a/templates/main.html b/templates/main.html index 1362f5d..0d1859d 100644 --- a/templates/main.html +++ b/templates/main.html @@ -61,12 +61,10 @@