diff --git a/pydash/settings.py b/pydash/settings.py index c4649df..8acb3a8 100644 --- a/pydash/settings.py +++ b/pydash/settings.py @@ -20,7 +20,6 @@ BASE_DIR = os.path.dirname(os.path.dirname(__file__)) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = '1)$crmowu-23tz@i2-d=7tb3t+1u&(pm!lnjyuarki^72h!3af' - # SECURITY WARNING: don't run with debug turned on in production! DEBUG = False @@ -37,7 +36,7 @@ TIME_JS_REFRESH = 30000 TIME_JS_REFRESH_LONG = 120000 TIME_JS_REFRESH_NET = 2000 -VERSION = 1.4 +VERSION = 1.4.1 ALLOWED_HOSTS = ['*'] diff --git a/static/css/style.css b/static/css/style.css index 42c55ff..ce10fee 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -410,12 +410,8 @@ textarea { .widget-content { padding: 20px 15px 15px; - background: #FFF; - - border: 1px solid #D5D5D5; - -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; @@ -423,7 +419,6 @@ textarea { .widget-header+.widget-content { border-top: none; - -webkit-border-top-left-radius: 0; -webkit-border-top-right-radius: 0; -moz-border-radius-topleft: 0; diff --git a/static/js/dashboard.js b/static/js/dashboard.js index 355e7a4..7542790 100644 --- a/static/js/dashboard.js +++ b/static/js/dashboard.js @@ -250,3 +250,12 @@ dashboard.getIps = function() { }); } +//Expand-Collapse div/table +jQuery(document).ready(function() { + jQuery(".widget-content").show(); + //toggle the componenet with class msg_body + jQuery(".widget-header").click(function() + { + jQuery(this).next(".widget-content").slideToggle(500); + }); +}); \ No newline at end of file