Module: check_mk
Branch: master
Commit: 99c3f96c515ff55379da629d216455b7b5fdb83c
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=99c3f96c515ff5…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Thu Jan 12 15:11:10 2012 +0100
WATO: Stylesheets to use are now configurable by each mode
---
.bugs/588 | 9 +++++++++
.bugs/589 | 10 ++++++++++
.bugs/590 | 8 ++++++++
web/htdocs/wato.py | 6 +++++-
4 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/.bugs/588 b/.bugs/588
new file mode 100644
index 0000000..58e52b7
--- /dev/null
+++ b/.bugs/588
@@ -0,0 +1,9 @@
+Title: Mandatory Attribut in wato nicht ersichtlich
+Component: wato
+State: open
+Date: 2012-01-12 10:42:27
+Targetversion: 1.2.0
+Class: nastiness
+
+Man kann in den Masken von WATO nicht erkennen, welche Felder unbedingt ausgefüllt
+werden müssen. Eine Markierung ist auf jeden Fall sinnvoll.
diff --git a/.bugs/589 b/.bugs/589
new file mode 100644
index 0000000..b22ee0a
--- /dev/null
+++ b/.bugs/589
@@ -0,0 +1,10 @@
+Title: Wato Configuration: cloneable flag fuer Attribute
+Component: wato
+State: open
+Date: 2012-01-12 10:44:03
+Targetversion: 1.2.0
+Class: feature
+
+Wenn derzeit ein Host in Wato mit der Clone Funktion dupliziert wird
+werden teilweise auch unsinnige Attribute uebernommen, die
+fuer den Klon keine Bedeutung haben/schlichtweg falsch sind. Bsp. ssh key, mac addresse.
diff --git a/.bugs/590 b/.bugs/590
new file mode 100644
index 0000000..4152af7
--- /dev/null
+++ b/.bugs/590
@@ -0,0 +1,8 @@
+Title: WATO: factory reset nicht erreichbar bei defekter hosts.mk
+Component: wato
+State: open
+Date: 2012-01-12 12:20:44
+Targetversion: 1.2.0
+Class: bug
+
+Man kommt nicht ins Backup/Restore, wenn beim Einlesen der hosts.mk ein Fehler auftritt
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 8b7f75c..1fc1890 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -280,8 +280,12 @@ def page_handler():
action_message = e.reason
html.add_user_error(None, e.reason)
+ styles = modefunc("styles")
+ if not styles:
+ styles = []
+
# Title
- html.header(modefunc("title"), stylesheets = wato_styles)
+ html.header(modefunc("title"), stylesheets = wato_styles + styles)
html.write("<script type='text/javascript'
src='js/wato.js'></script>")
html.write("<div class=wato>\n")