Module: check_mk
Branch: master
Commit: 6ea5e86cfccd6e8f294a738f18c8ef68d966eb52
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6ea5e86cfccd6e…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue May 8 12:01:42 2012 +0200
BI: make folding treeangles black
---
ChangeLog | 3 +++
web/htdocs/images/tree_black_00.png | Bin 0 -> 432 bytes
web/htdocs/images/tree_black_10.png | Bin 0 -> 468 bytes
web/htdocs/images/tree_black_20.png | Bin 0 -> 464 bytes
web/htdocs/images/tree_black_30.png | Bin 0 -> 386 bytes
web/htdocs/images/tree_black_40.png | Bin 0 -> 479 bytes
web/htdocs/images/tree_black_50.png | Bin 0 -> 465 bytes
web/htdocs/images/tree_black_60.png | Bin 0 -> 402 bytes
web/htdocs/images/tree_black_70.png | Bin 0 -> 490 bytes
web/htdocs/images/tree_black_80.png | Bin 0 -> 491 bytes
web/htdocs/images/tree_black_90.png | Bin 0 -> 396 bytes
web/htdocs/js/checkmk.js | 4 +++-
web/plugins/views/bi.py | 4 ++--
13 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 14be1df..388048d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -28,6 +28,9 @@
Checks & Agents:
* FIX: Logwatch: fixed missing linebreak during reclassifing lines of logfiles
+ BI:
+ * FIX: make rotating folding arrows black (white was not visible)
+
1.2.0b3:
Core:
* FIX: fixed SNMP info declaration in checks: could be garbled
diff --git a/web/htdocs/images/tree_black_00.png b/web/htdocs/images/tree_black_00.png
new file mode 100644
index 0000000..1b08094
Binary files /dev/null and b/web/htdocs/images/tree_black_00.png differ
diff --git a/web/htdocs/images/tree_black_10.png b/web/htdocs/images/tree_black_10.png
new file mode 100644
index 0000000..c0054ac
Binary files /dev/null and b/web/htdocs/images/tree_black_10.png differ
diff --git a/web/htdocs/images/tree_black_20.png b/web/htdocs/images/tree_black_20.png
new file mode 100644
index 0000000..7fa4ed1
Binary files /dev/null and b/web/htdocs/images/tree_black_20.png differ
diff --git a/web/htdocs/images/tree_black_30.png b/web/htdocs/images/tree_black_30.png
new file mode 100644
index 0000000..9c78b31
Binary files /dev/null and b/web/htdocs/images/tree_black_30.png differ
diff --git a/web/htdocs/images/tree_black_40.png b/web/htdocs/images/tree_black_40.png
new file mode 100644
index 0000000..0be9300
Binary files /dev/null and b/web/htdocs/images/tree_black_40.png differ
diff --git a/web/htdocs/images/tree_black_50.png b/web/htdocs/images/tree_black_50.png
new file mode 100644
index 0000000..e9eb8aa
Binary files /dev/null and b/web/htdocs/images/tree_black_50.png differ
diff --git a/web/htdocs/images/tree_black_60.png b/web/htdocs/images/tree_black_60.png
new file mode 100644
index 0000000..0e1072f
Binary files /dev/null and b/web/htdocs/images/tree_black_60.png differ
diff --git a/web/htdocs/images/tree_black_70.png b/web/htdocs/images/tree_black_70.png
new file mode 100644
index 0000000..696edea
Binary files /dev/null and b/web/htdocs/images/tree_black_70.png differ
diff --git a/web/htdocs/images/tree_black_80.png b/web/htdocs/images/tree_black_80.png
new file mode 100644
index 0000000..9ea59c0
Binary files /dev/null and b/web/htdocs/images/tree_black_80.png differ
diff --git a/web/htdocs/images/tree_black_90.png b/web/htdocs/images/tree_black_90.png
new file mode 100644
index 0000000..2c78286
Binary files /dev/null and b/web/htdocs/images/tree_black_90.png differ
diff --git a/web/htdocs/js/checkmk.js b/web/htdocs/js/checkmk.js
index 5f58876..5f66f93 100644
--- a/web/htdocs/js/checkmk.js
+++ b/web/htdocs/js/checkmk.js
@@ -802,7 +802,9 @@ function folding_step(oImg, state, step) {
else
step = 8;
- oImg.src = "images/tree_" + step + "0.png";
+ // Relace XX.png at the end of the image with the
+ // current rotating angle
+ oImg.src = oImg.src.substr(0, oImg.src.length - 6) + step + "0.png";
if(state == 1) {
if(step == 9) {
diff --git a/web/plugins/views/bi.py b/web/plugins/views/bi.py
index 5c8c09f..0985208 100644
--- a/web/plugins/views/bi.py
+++ b/web/plugins/views/bi.py
@@ -349,10 +349,10 @@ def paint_aggr_tree_foldable(row, boxes=False):
mc = ''
elif is_open:
style = ''
- mc = mousecode + 'src="images/tree_open.png" '
+ mc = mousecode + 'src="images/tree_black_90.png" '
else:
style = 'style="display: none" '
- mc = mousecode + 'src="images/tree_00.png" '
+ mc = mousecode + 'src="images/tree_black_00.png" '
h += aggr_render_node(tree, tree[2]["title"], mc, show_host)
if not is_empty: