Module: check_mk
Branch: master
Commit: 431a0f6120b221825e8a9c3496d4239b20bed247
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=431a0f6120b221…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Fri Jan 24 15:49:51 2014 +0100
Update inline comment headers
---
web/plugins/views/painters.py | 35 ++++++++++++++++++++++-------------
1 file changed, 22 insertions(+), 13 deletions(-)
diff --git a/web/plugins/views/painters.py b/web/plugins/views/painters.py
index 48178a7..b91cf60 100644
--- a/web/plugins/views/painters.py
+++ b/web/plugins/views/painters.py
@@ -278,12 +278,17 @@ multisite_painters["sitealias"] = {
"paint" : lambda row: (None,
config.site(row["site"])["alias"]),
}
-# ____ _
-# / ___| ___ _ ____ _(_) ___ ___ ___
-# \___ \ / _ \ '__\ \ / / |/ __/ _ \/ __|
-# ___) | __/ | \ V /| | (_| __/\__ \
-# |____/ \___|_| \_/ |_|\___\___||___/
-#
+#.
+# .--Services------------------------------------------------------------.
+# | ____ _ |
+# | / ___| ___ _ ____ _(_) ___ ___ ___ |
+# | \___ \ / _ \ '__\ \ / / |/ __/ _ \/ __| |
+# | ___) | __/ | \ V /| | (_| __/\__ \ |
+# | |____/ \___|_| \_/ |_|\___\___||___/ |
+# | |
+# +----------------------------------------------------------------------+
+# | Painters for services |
+# '----------------------------------------------------------------------'
def paint_service_state_short(row):
if row["service_has_been_checked"] == 1:
@@ -855,15 +860,19 @@ multisite_painters["svc_custom_vars"] = {
}
+#.
+# .--Hosts---------------------------------------------------------------.
+# | _ _ _ |
+# | | | | | ___ ___| |_ ___ |
+# | | |_| |/ _ \/ __| __/ __| |
+# | | _ | (_) \__ \ |_\__ \ |
+# | |_| |_|\___/|___/\__|___/ |
+# | |
+# +----------------------------------------------------------------------+
+# | Painters for hosts |
+# '----------------------------------------------------------------------'
-# _ _ _
-# | | | | ___ ___| |_ ___
-# | |_| |/ _ \/ __| __/ __|
-# | _ | (_) \__ \ |_\__ \
-# |_| |_|\___/|___/\__|___/
-#
-
multisite_painters["host_state"] = {
"title" : _("Host state"),
"short" : _("state"),