Module: check_mk
Branch: master
Commit: 61a363237df8678e3e7747134b5d3df20ab23b05
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=61a363237df867…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu May 24 17:09:44 2012 +0200
Minor layout fixed for site configuration
---
web/htdocs/pages.css | 10 +++++++---
web/htdocs/wato.css | 2 +-
web/htdocs/wato.py | 7 ++++---
web/plugins/wato/builtin_modules.py | 2 +-
4 files changed, 13 insertions(+), 8 deletions(-)
diff --git a/web/htdocs/pages.css b/web/htdocs/pages.css
index 0bc1d5c..7b40bd1 100644
--- a/web/htdocs/pages.css
+++ b/web/htdocs/pages.css
@@ -393,13 +393,16 @@ input[type=text] {
input[type=password] {
box-shadow: 0.1px 1.2px 1.8px 0 #800 inset;
}
-input[type=text],input[type=text] {
+input[type=text], input[type=password] {
height: 18px;
- padding: 2px 3px;
+ padding: 3px 3px 1px 3px;
vertical-align: middle;
}
select {
- height: 24px;
+ height: 20px;
+ border-style: solid none;
+ border-width: 2px;
+ border-color: white;
}
input[type=radio] {
@@ -658,6 +661,7 @@ div.really, div.success, div.error, div.message, div.warning {
margin: 2em 0em;
border-radius: 1ex;
padding: 1em 2em;
+ box-shadow: 0 0 3px #444;
/* border-width: 2px;
border-style: solid;*/
}
diff --git a/web/htdocs/wato.css b/web/htdocs/wato.css
index 0910003..acc3f0c 100644
--- a/web/htdocs/wato.css
+++ b/web/htdocs/wato.css
@@ -269,7 +269,7 @@ table.validationerror img {
.wato div.folderpath li select {
padding: 2px 0px 2px 4px;
- background-color: #6da1b8;
+ background-color: #7399ba;
margin: 0;
color: #fff;
font-weight: normal;
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index cc624ac..a60f3a3 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -3347,7 +3347,7 @@ def mode_changelog(phase):
"<th>%s</th>" % _("Last
result"))
html.write("</tr>")
- odd = "even"
+ odd = "odd"
num_replsites = 0 # for detecting end of bulk replication
for site_id, site in sites:
is_local = site_is_local(site_id)
@@ -3361,6 +3361,7 @@ def mode_changelog(phase):
# Make row red, if site status is not online
html.write('<tr class="data %s%d">' % (odd,
status != "online" and 2 or 0))
+ odd = odd == "odd" and "even" or "odd"
# ID & Alias
html.write("<td><a
href='%s'>%s</a></td>" %
@@ -6040,7 +6041,7 @@ def sort_sites(sites):
def mode_sites(phase):
if phase == "title":
- return _("Multisite connections")
+ return _("Distributed Monitoring")
elif phase == "buttons":
global_buttons()
@@ -6172,7 +6173,7 @@ def mode_sites(phase):
return
- html.write("<h3>" + _("Multisite connections") +
"</h3>")
+ html.write("<h3>" + _("Connections to local and remote
sites") + "</h3>")
html.write("<table class=data>")
html.write("<tr><th>" + _("Actions") +
"<th>"
+ _("Site-ID")
diff --git a/web/plugins/wato/builtin_modules.py b/web/plugins/wato/builtin_modules.py
index 4218084..6e73a4e 100644
--- a/web/plugins/wato/builtin_modules.py
+++ b/web/plugins/wato/builtin_modules.py
@@ -62,7 +62,7 @@ modules = [
_("Timeperiods restrict notifications and other things to certain periods of
"
"the day.") ),
- ( "sites", _("Multisite Connections"), "sites",
"sites",
+ ( "sites", _("Distributed Monitoring"), "sites",
"sites",
_("Distributed monitoring via Multsite, distributed configuration via
WATO")),
( "auditlog", _("Audit Logfile"), "auditlog",
"auditlog",