From 5e8eb7e0643dae523de27393cdf64fb4c4e548d3 Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Fri, 22 Oct 2010 18:35:10 +0200 Subject: [PATCH] bacula-web: Improved css code in volumes.tpl --- gui/bacula-web/style/default.css | 6 ++++++ gui/bacula-web/templates/volumes.tpl | 18 ++++++++---------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/gui/bacula-web/style/default.css b/gui/bacula-web/style/default.css index 2c8ba5440b..dfda8def97 100644 --- a/gui/bacula-web/style/default.css +++ b/gui/bacula-web/style/default.css @@ -93,6 +93,7 @@ body{ table { width: 100%; margin: 0px; + border-collapse: collapse; } .pool_name { text-align: left; @@ -103,6 +104,11 @@ table { color: black; } +.tbl_vol_header { + text-align: center; + background-image: url('../images/bg5.png'); +} + a:link { color: #0000c0 } a:visited { color: #0000c0 } a:hover { color: #6040ff } diff --git a/gui/bacula-web/templates/volumes.tpl b/gui/bacula-web/templates/volumes.tpl index 5138472e58..1a74ee98b8 100644 --- a/gui/bacula-web/templates/volumes.tpl +++ b/gui/bacula-web/templates/volumes.tpl @@ -9,13 +9,11 @@ --> - +
{foreach from=$pools item=current} - - @@ -25,13 +23,13 @@ {foreach from=$key item=current3 name=loop} {if $current3.3 == $current && $current3.0 != ""} {if $smarty.foreach.loop.first == TRUE} - - - - - - - + + + + + + + {/if} -- 2.39.5
 
{$current}
Volume NameVolume BytesMedia TypeExpire onLast WrittenVolume Status
Volume NameVolume BytesMedia TypeExpire onLast WrittenVolume Status