Module: check_mk
Branch: master
Commit: 5bbb30da4521532b8cd81e18b29fa0c873244c92
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5bbb30da452153…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Feb 10 11:20:01 2012 +0100
Fixed foldertree styling in chrome; Changed title of WATO foldertree snapin to
"Foldertree"
---
web/plugins/sidebar/wato.py | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/web/plugins/sidebar/wato.py b/web/plugins/sidebar/wato.py
index 9ed84c9..39885ae 100644
--- a/web/plugins/sidebar/wato.py
+++ b/web/plugins/sidebar/wato.py
@@ -212,8 +212,8 @@ def render_tree_folder(f):
html.write("</ul>")
sidebar_snapins['wato_foldertree'] = {
- 'title' : _('WATO Foldertree'),
- 'description' : _('This snapin shows the folders defined in WATO. It can
be used to open views filtered by theWATO folder.'),
+ 'title' : _('Foldertree'),
+ 'description' : _('This snapin shows the folders defined in WATO. It can
be used to open views filtered by the WATO folder.'),
'author' : 'Lars Michelsen',
'render' : render_wato_foldertree,
'allowed' : [ 'admin', 'user', 'guest' ],
@@ -222,14 +222,20 @@ sidebar_snapins['wato_foldertree'] = {
float: right;
padding: 0;
width: 190px;
+ height: 19px;
margin-bottom: 2px;
background-color: #8EAEB8;
color: #fff;
}
+#snapin_wato_foldertree select option {
+ background-color: #8EAEB8;
+}
#snapin_wato_foldertree span {
+ text-align: middle;
+ margin-top: 1px;
display: block;
color: #ffffff;
- height: 21px;
+ height: 20px;
}
"""
}