From d0489fa579bb14d26553b802340f9b42d2bf9a15 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Mon, 6 Dec 2010 17:29:53 +0100 Subject: [PATCH] bacula-web: Customized main layout stylesheet --- gui/bacula-web/style/default.css | 31 ++++++++++++++------ gui/bacula-web/templates/index.tpl | 24 ++++++++++----- gui/bacula-web/templates/last_run_report.tpl | 4 +-- gui/bacula-web/templates/volumes.tpl | 14 ++++----- 4 files changed, 47 insertions(+), 26 deletions(-) diff --git a/gui/bacula-web/style/default.css b/gui/bacula-web/style/default.css index f7fc759bad..c624638671 100644 --- a/gui/bacula-web/style/default.css +++ b/gui/bacula-web/style/default.css @@ -111,19 +111,26 @@ a:hover { color: #736F6E } background-color: #888888; color: white; font-weight: bold; - padding: 0px; - margin-top: 0px; - margin-bottom: 5px; - padding-top: 5px; - padding-bottom: 5px; + padding: 3px; + margin: 0px; + + /*padding-top: 5px; + padding-bottom: 5px;*/ } -.box table +.box table.list { + border-collapse: collapse; width: 100%; margin: 0px; } +.box table +{ + border-collapse: separate; + margin: 0px; +} + .box table th { font-size: 10pt; background-color: #CACACA; @@ -132,20 +139,26 @@ a:hover { color: #736F6E } .box table tr td { padding: 2px; + font-size: 8pt; } + .box table tr td.label { /*font-weight: bold;*/ - width: 150px; + background-color: #E0E0E0; + /*width: 150px;*/ text-align: left; padding-left: 15px; padding: 3px; + margin: 2px; } + .box table tr td.info { - text-align:right; - padding-right: 8em; + text-align: center; + /* padding-right: 8em; */ font-weight: bold; + background-color: #E0E0E0; } table { diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index 62ed02b226..40e2681d92 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -20,19 +20,19 @@
-

General informations

+

Overall status

- + - + - +
{t}Clients{/t} {$clientes_totales}
{t}Total bytes stored{/t}: {$bytes_stored}{t}Total bytes stored{/t} {$bytes_stored}
{t}Total files:{/t} {$files_totales} file(s){t}Total files{/t} {$files_totales} file(s)
{t}Database size{/t}: {$database_size}{t}Database size{/t} {$database_size}
@@ -60,16 +60,24 @@ {* {if $mode == "Lite" && $smarty.get.Full_popup != "yes"} *} - + + + - + + + - + + + - + + +
Failed jobs {$failed_jobs}Failed jobs{$failed_jobs} View
Completed jobs {$completed_jobs}Completed jobs{$completed_jobs} View
Elapsed time {$elapsed_jobs}Elapsed time{$elapsed_jobs} View
Transferred Bytes {$bytes_totales}Transferred Bytes{$bytes_totales} View
diff --git a/gui/bacula-web/templates/last_run_report.tpl b/gui/bacula-web/templates/last_run_report.tpl index d6392b72b7..dff638e2de 100644 --- a/gui/bacula-web/templates/last_run_report.tpl +++ b/gui/bacula-web/templates/last_run_report.tpl @@ -103,7 +103,7 @@   {t}Select a job:{/t} - +