From cc15e4adadb015a9df69991a00712e4ec3132e25 Mon Sep 17 00:00:00 2001 From: JA Date: Sat, 26 Nov 2016 02:42:33 +0900 Subject: [PATCH] Disable WebUI header menu WEB, DNS, MAIL, DB, CRON, BACKUP if they are set "0" in the package. --- web/css/styles.min.css | 15 +++++++++++- web/templates/scripts.html | 50 +++++++++++++++++++++++++++++++++++++- 2 files changed, 63 insertions(+), 2 deletions(-) diff --git a/web/css/styles.min.css b/web/css/styles.min.css index f767c3c8..46ddfa69 100644 --- a/web/css/styles.min.css +++ b/web/css/styles.min.css @@ -993,6 +993,19 @@ input[type="checkbox"] { margin-right: -8px; } +.l-stat__col a.disabled { + cursor: default; + text-decoration: none; +} + +.l-stat__col a.disabled:hover { + border: none; +} + +.l-stat__col a.disabled .l-stat__col-title, .l-stat__col a.disabled li { + color: #e0e0e0; +} + .l-separator.selected, .l-separator { height: 1px; @@ -2512,7 +2525,7 @@ label:hover { } .vst-list.flat { - border: 1px solid #fff; + border: 1px solid #fff; color: #2c9491; text-transform: uppercase; font-weight: bold; diff --git a/web/templates/scripts.html b/web/templates/scripts.html index 7c1e551e..d36aa552 100644 --- a/web/templates/scripts.html +++ b/web/templates/scripts.html @@ -15,6 +15,54 @@ }); + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file +?>