Module: check_mk
Branch: master
Commit: 202f1cce4561156b6a2b5a20930e4ad634a2331e
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=202f1cce456115…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Dec 23 12:19:59 2011 +0100
FIX: Fixed search form styling issue
---
ChangeLog | 2 ++
web/htdocs/wato.py | 7 ++-----
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 1657d3c..b73e073 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -22,6 +22,8 @@
* FIX: Calling activate_changes hook also in distributed WATO setups
* FIX: Fixed javascript errors when doing replication in distributed
wato environments when not having the sidebar open
+ * FIX: Fixed search form dependant attribute handling
+ * FIX: Fixed search form styling issues
* You can now move folders to other folders
* FIX: Distributed WATO: Supressing site sync progress output written in
the apache error log
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 6df17a2..b5f59e2 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -1954,14 +1954,13 @@ def mode_search(phase):
else:
render_folder_path()
- html.write("<table><tr><td>\n")
## # Show search form
html.begin_form("search")
- html.write("<table class=form>")
+ html.write("<table class=\"form nomargin\">")
# host name
- html.write("<tr><td class=legend colspan=2>" +
_("Hostname") + "</td><td class=content>")
+ html.write("<tr class=top><td class=legend colspan=2>" +
_("Hostname") + "</td><td class=content>")
html.text_input("host")
html.set_focus("host")
html.write("</td></tr>\n")
@@ -1997,8 +1996,6 @@ def mode_search(phase):
if not search_hosts_in_folders(folder, crit):
html.message(_("No matching hosts found."))
- html.write("</td></tr></table>")
-
def search_hosts_in_folders(folder, crit):