Module: check_mk
Branch: master
Commit: 6238453d651a43ad862269a6ad5d5ec427e0d069
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6238453d651a43…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Wed Sep 7 15:30:39 2011 +0200
Minor layout fixes
---
web/htdocs/check_mk.css | 9 +++++++++
web/plugins/views/layouts.py | 4 ++--
2 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/web/htdocs/check_mk.css b/web/htdocs/check_mk.css
index 8b5456c..166392c 100644
--- a/web/htdocs/check_mk.css
+++ b/web/htdocs/check_mk.css
@@ -663,6 +663,15 @@ table.data tr.data td.checkbox {
width: 20px;
text-align: center;
}
+table.data th input.checkgroup {
+ height: 12px;
+ width: 16px;
+ padding: 0;
+ margin: 0;
+ text-align: center;
+ vertical-align: middle;
+ font-size: 5pt;
+}
table.data td.host {
border-style: none;
diff --git a/web/plugins/views/layouts.py b/web/plugins/views/layouts.py
index 4f559ba..aa3030c 100644
--- a/web/plugins/views/layouts.py
+++ b/web/plugins/views/layouts.py
@@ -42,8 +42,8 @@ def render_checkbox_td(view, row, num_tds):
html.write("</td>")
def render_group_checkbox_th():
- html.write("<th><input type=button class=group
name=_toggle_group"
- " onclick=\"toggle_group_rows(this);\"
value=\"%s\" /></th>" % _('x'))
+ html.write("<th><input type=button class=checkgroup
name=_toggle_group"
+ " onclick=\"toggle_group_rows(this);\"
value=\"%s\" /></th>" % _('X'))
# -------------------------------------------------------------------------
# ____ _ _