Module: check_mk
Branch: master
Commit: b1367f6997b8fa3595a7d15ed6d063f083ad5167
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=b1367f6997b8fa…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 14 16:26:52 2011 +0100
Fixed bullet layout of two snapins
---
web/plugins/sidebar/shipped.py | 2 ++
web/plugins/sidebar/wato.py | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/web/plugins/sidebar/shipped.py b/web/plugins/sidebar/shipped.py
index 97511cd..19e9c07 100644
--- a/web/plugins/sidebar/shipped.py
+++ b/web/plugins/sidebar/shipped.py
@@ -44,10 +44,12 @@ except NameError:
# --------------------------------------------------------------
def render_about():
html.write("Version: " + defaults.check_mk_version)
+ html.write("<ul>")
bulletlink("Homepage",
"http://mathias-kettner.de/check_mk.html")
bulletlink("Documentation",
"http://mathias-kettner.de/checkmk.html")
bulletlink("Download",
"http://mathias-kettner.de/check_mk_download.html")
bulletlink("Mathias Kettner", "http://mathias-kettner.de")
+ html.write("</ul>")
sidebar_snapins["about"] = {
"title" : "About Check_MK",
diff --git a/web/plugins/sidebar/wato.py b/web/plugins/sidebar/wato.py
index aeba3f7..a25f76f 100644
--- a/web/plugins/sidebar/wato.py
+++ b/web/plugins/sidebar/wato.py
@@ -28,9 +28,11 @@ def ajax_wato_files(h):
global html
html = h
if config.may("use_wato"):
+ html.write('<ul>')
for filename, title, roles in config.config_files:
if config.role in roles:
bulletlink(title, "wato.py?filename=%s" % filename)
+ html.write('</ul>')
sidebar_snapins["wato"] = {