Module: check_mk
Branch: master
Commit: b6c12242cdd7dfaecd862371436e2b8d09f7c1a4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b6c12242cdd7df…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Mar 11 11:45:17 2011 +0100
bi aggregations: Fixed IE8 rendering problem
---
web/htdocs/check_mk.css | 25 ++++++++++---------------
web/plugins/views/bi.py | 4 ++--
2 files changed, 12 insertions(+), 17 deletions(-)
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index e5c7351..dfd8329 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -1793,13 +1793,6 @@ div.wato {
*/
-.aggrtree ul.title {
- padding-left: 0px;
- margin-top: 2px;
- margin-bottom: 0px;
- padding-top: 0px;
-}
-
.aggrtree ul.subtree {
margin-left: 34px;
padding-bottom: 3px;
@@ -1820,23 +1813,28 @@ tr.even0 .aggrtree ul.subtree {
border-color: #aaa;
}
.aggrtree ul.subtree li {
+ margin: 0;
+ padding: 0;
margin-top: 2px;
- padding-top: 1px;
+ /*padding-top: 1px;*/
padding-bottom: 1px;
}
.aggrtree span.state {
margin-right: 3px;
width: 34px;
- padding: 0px 0px;
+ padding: 0;
text-align: center;
-moz-border-radius: 3px;
border-style: solid;
border-width: 1px;
border-color: #eee #888 #999 #ccc;
- float: none;
font-weight: bold;
- display: inline-block;
+
+ display:-moz-inline-stack;
+ display:inline-block;
+ zoom:1;
+ *display:inline;
}
.aggrtree img.assumption {
@@ -1863,10 +1861,7 @@ tr.even0 .aggrtree ul.subtree {
height: 15px;
margin-right: 2px;
margin-left: 0px;
- vertical-align: middle;
- position: relative;
- top: -1px;
- left: -1px;
+ vertical-align:middle;
}
table.services td.aggrtree {
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 0a8ab02..98c5e43 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -246,7 +246,7 @@ def paint_aggr_tree_foldable(row):
if nodes == None:
return aggr_render_leaf(tree, show_host)
else:
- h = '<ul class=title>'
+ h = '<span class=title>'
path_id = "/".join(path)
is_open = treestate.get(path_id)
@@ -269,7 +269,7 @@ def paint_aggr_tree_foldable(row):
continue
h += '<li>' + render_subtree(node, path + [node[2]],
show_host) + '</li>\n'
- return h + '</ul></ul>\n'
+ return h + '</ul></span>\n'
tree = row["aggr_treestate"]
if only_problems: