Module: check_mk
Branch: master
Commit: 74f958cce255976b4d68b0e0cb2b74d0e282743c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=74f958cce25597…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Nov 28 09:14:03 2016 +0100
WATO: Highlighting "activate affected button" now
---
web/htdocs/check_mk.css | 15 +++++++++++++++
web/htdocs/wato.py | 2 +-
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index 9970828..840b641 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -150,6 +150,21 @@ input.button:disabled:active {
box-shadow: 0 0 1.5px #000000;
}
+input.button.hot {
+ border-color: #d4a466 #633e0d #633e0d #d4a466;
+ background-color: #c37d19;
+}
+
+input.button.hot:hover {
+ background-color: #deb548;
+}
+
+input.button.hot:active {
+ background-color: #c37d19;
+ border-color: #6d5723 #d9bf81 #d9bf81 #6d5723;
+}
+
+
/* pattern / regex input styling */
input.regexp {
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 1746766..d568387 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -4828,7 +4828,7 @@ class ModeActivateChanges(WatoMode, ActivateChanges):
forms.end()
html.jsbutton("activate_affected", _("Activate affected"),
- "activate_changes(\"affected\")")
+ "activate_changes(\"affected\")",
cssclass="hot")
html.jsbutton("activate_selected", _("Activate selected"),
"activate_changes(\"selected\")")