Module: check_mk
Branch: master
Commit: 2338045e8c8c845302434a65d1202c246f84d5d5
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=2338045e8c8c84…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Dec 14 16:05:07 2011 +0100
FIX: fix dashboard dashlet background on IE
---
ChangeLog | 1 +
web/htdocs/dashboard.css | 2 +-
web/htdocs/dashboard.py | 2 +-
web/htdocs/views.css | 4 ++--
4 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index f27461b..ceda8f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -90,6 +90,7 @@
* FIX: fix hitting enter in Quicksearch on IE 8
* FIX: event/log views: reverse sorting, so that newest entries
are shown first
+ * FIX: fix dashboard dashlet background on IE
Checks & Agents:
* FIX: lnx_if: assume interfaces as up if ethtool is missing or
diff --git a/web/htdocs/dashboard.css b/web/htdocs/dashboard.css
index 488fe8e..d060b69 100644
--- a/web/htdocs/dashboard.css
+++ b/web/htdocs/dashboard.css
@@ -54,7 +54,7 @@ div.dashlet div.dashlet_inner.background {
}
div.dashlet iframe {
- border-style: none;
+ border-style: none;
}
div.dashlet div.title {
diff --git a/web/htdocs/dashboard.py b/web/htdocs/dashboard.py
index 283fab9..44ceba8 100644
--- a/web/htdocs/dashboard.py
+++ b/web/htdocs/dashboard.py
@@ -193,7 +193,7 @@ def render_dashlet(nr, dashlet, wato_folder):
if "content" in dashlet: # fixed content
html.write(dashlet["content"])
elif "iframe" in dashlet: # fixed content containing iframe
- html.write('<iframe width="100%%" height="100%%"
src="%s"></iframe>' %
+ html.write('<iframe allowTransparency="true"
frameborder="0" width="100%%" height="100%%"
src="%s"></iframe>' %
add_wato_folder_to_url(dashlet["iframe"], wato_folder))
html.write("</div></div>\n")
diff --git a/web/htdocs/views.css b/web/htdocs/views.css
index 4ab9cd8..56dc248 100644
--- a/web/htdocs/views.css
+++ b/web/htdocs/views.css
@@ -27,8 +27,8 @@ Boston, MA 02110-1301 USA.
/* special background for embedded views */
body.main.dashlet {
- background-image: none;
- /* background-color: #709aa5; */
+ background-image: none;
+ background: transparent;
padding: 0px;
}