Module: check_mk
Branch: master
Commit: 940af76d55a3e78805c4c917b03e8f512ca3a9a9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=940af76d55a3e7…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Oct 18 08:46:22 2011 +0200
Dashboard: use more space on the right side
---
web/htdocs/js/dashboard.js | 2 +-
web/plugins/dashboard/builtin.py | 18 +++++++++---------
2 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/web/htdocs/js/dashboard.js b/web/htdocs/js/dashboard.js
index 462234c..b96d812 100644
--- a/web/htdocs/js/dashboard.js
+++ b/web/htdocs/js/dashboard.js
@@ -98,7 +98,7 @@ function resize_dashlets(id, code)
function set_dashboard_size()
{
- var body_padding = 10;
+ var body_padding = 0;
var width = pageWidth();
var height = pageHeight();
width = width - 2*screen_margin - 2*body_padding;
diff --git a/web/plugins/dashboard/builtin.py b/web/plugins/dashboard/builtin.py
index 9064434..7215a84 100644
--- a/web/plugins/dashboard/builtin.py
+++ b/web/plugins/dashboard/builtin.py
@@ -28,17 +28,17 @@ builtin_dashboards = {
"main" : {
"title" : _("Main Overview"),
"dashlets" : [
- {
- "url" : "dashlet_mk_logo.py",
- "position" : (1, 1),
- "size" : (4, 5),
- "shadow" : False,
- "background" : False,
- },
+# {
+# "url" : "dashlet_mk_logo.py",
+# "position" : (1, 1),
+# "size" : (4, 5),
+# "shadow" : False,
+# "background" : False,
+# },
{
"title" : _("Host Statistics"),
"url" : "dashlet_hoststats.py",
- "position" : (6, 1),
+ "position" : (1, 1),
"size" : (10, 6),
"shadow" : True,
"background" : True,
@@ -47,7 +47,7 @@ builtin_dashboards = {
{
"title" : _("Service Statistics"),
"url" : "dashlet_servicestats.py",
- "position" : (16, 1),
+ "position" : (11, 1),
"size" : (10, 6),
"shadow" : True,
"background" : True,