From d5286149fb8295460d458fd23d574f40bfd2d5e6 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Tue, 3 May 2011 18:50:39 +0200 Subject: [PATCH] bacula-web: css improved and dashboard customisation - cleaned css file - changed colors for main dashboard - cleaned html code in index.tpl --- gui/bacula-web/style/default.css | 36 ++++++++++++------------------ gui/bacula-web/templates/index.tpl | 26 +++++++++------------ 2 files changed, 25 insertions(+), 37 deletions(-) diff --git a/gui/bacula-web/style/default.css b/gui/bacula-web/style/default.css index 284c03722d..936bdb6b2e 100644 --- a/gui/bacula-web/style/default.css +++ b/gui/bacula-web/style/default.css @@ -131,7 +131,6 @@ a:link, a:visited, a:hover, a:visited { text-align: center; vertical-align: middle; font-size: 11pt; - /*background-color: #1E90FF;*/ background-color: #888888; color: white; font-weight: bold; @@ -139,41 +138,34 @@ a:link, a:visited, a:hover, a:visited { margin: 0px; } -.box p.title a { - color: #FFFFFF; +.box div.footer { + text-align: right; + padding: 3px; +} + +.box div.footer a { text-decoration: none; font-size: 9pt; - float: right; vertical-align: middle; } -.box table tr td -{ +.box table tr td { padding: 3px; font-size: 8pt; height: 20px; } -.box table tr td.label -{ - /*font-weight: bold;*/ - background-color: #E0E0E0; - /*width: 150px;*/ +.box table tr td.label { + background-color: #FFFFFF; + font-weight: bold; text-align: left; - padding-left: 15px; - padding: 5px; - margin: 2px; + padding: 3px 3px 3px 15px; } -.box table td.info -{ +.box table td.info { text-align: right; - font-weight: bold; - background-color: #E0E0E0; - height: auto; - padding: 2px; - padding-right: 10px; - margin: 0px; + background-color: #FFFFFF; + padding: 3px 15px 3px 3px; } .box table tr td.info a { font-size: 8pt;} diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index 0d49ab7d3f..5df7a3c7e2 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -10,16 +10,18 @@
-

- Pools and volumes status - View report + Pools and volumes status

- + +
+

Stored Bytes

@@ -28,13 +30,13 @@
- +
-

- Job Status Report - View report -

+

Job Status Report

+
@@ -95,16 +97,10 @@ Waiting jobs {$waiting_jobs} - -
- Job Level (Incr / Diff / Full) {$incr_jobs} / {$diff_jobs} / {$full_jobs} - -
- Transferred Bytes {$bytes_last} -- 2.39.5