Module: check_mk
Branch: master
Commit: 3c00ed965b2e46735b19032039ab95359ed152b4
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3c00ed965b2e46…
Author: Bastian Kuhn <bk(a)mathias-kettner.de>
Date: Tue Oct 1 10:11:52 2013 +0200
And now fixed the wiki_snapin bug really
---
doc/treasures/wiki_snapin.py | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
diff --git a/doc/treasures/wiki_snapin.py b/doc/treasures/wiki_snapin.py
index 1520d35..fdb5021 100644
--- a/doc/treasures/wiki_snapin.py
+++ b/doc/treasures/wiki_snapin.py
@@ -100,6 +100,7 @@ def render_wiki():
""" % defaults.omd_site)
html.begin_form("wikisearch", onsubmit="wiki_search();")
html.text_input("wikisearch", "",
id="wikisearch_input", )
+ html.icon_button("#", _("Search"), "wikisearch",
onclick="wiki_search();")
html.end_form()
if defaults.omd_root:
@@ -114,8 +115,18 @@ if defaults.omd_root:
color: white;
}
input#wikisearch_input {
- margin-top: 3px;
- width: 222px;
+ # margin-top: 3px;
+ # width: 222px;
+ margin: 0;
+ padding: 0px 5px;
+ font-size: 8pt;
+ width: 194px;
+ height: 25px;
+ background-image: url("images/quicksearch_field_bg.png");
+ background-repeat: no-repeat;
+ -moz-border-radius: 0px;
+ border-style: none;
+ float: left;
}
#snapin_container_wiki hr {
margin: 5px 2px;
@@ -123,6 +134,14 @@ if defaults.omd_root:
#snapin_container_wiki ul {
margin: 1px;
}
+#wikisearch img.iconbutton {
+ width: 33px;
+ height: 26px;
+ margin-top: -25px;
+ left: 196px;
+ float:right;
+ z-index:100;
+}
"""
}