]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Improved css code in volumes.tpl
authorDavide Franco <bacula-dev@dflc.ch>
Fri, 22 Oct 2010 16:35:10 +0000 (18:35 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Nov 2010 07:20:32 +0000 (08:20 +0100)
gui/bacula-web/style/default.css
gui/bacula-web/templates/volumes.tpl

index 2c8ba5440b7d215d80f9bbafa289d71be8172894..dfda8def97e5063b6cfca48c170e795b01dabaf8 100644 (file)
@@ -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 }
index 5138472e58b1bc7e48f16a38f9018f29a76ec893..1a74ee98b89e26e8521f31e74b11337c3551cf16 100644 (file)
@@ -9,13 +9,11 @@
         <td class=tbl_header2 background="images/end4.png"><img src="images/empty.png"></td>
 </tr>
 -->
-<table border=1 width=100% class=code cellspacing=0 cellpadding=0>
+<table>
        {foreach from=$pools item=current}
                <tr>
                        <td colspan=6>&nbsp;</td></tr>
         <tr>
-                       <!-- <td align=left style="background-color: #E0C8E5; color: black;" background="images/bg6.png"> -->
-                       <!-- <td colspan="6" style="text-align: left; background-color: #E0C8E5; color: black; background-image: url('../images/bg6.png');"> -->
                        <td colspan="6" class="pool_name">
                 {$current}
             </td>
                 {foreach from=$key item=current3 name=loop}
                 {if $current3.3 == $current && $current3.0 != ""}
                         {if $smarty.foreach.loop.first == TRUE}
-                                <tr style="text-align: center; background-image: url('../images/bg5.png'); border: 1px solid black;">
-                                        <td style="font-size: 5pt;">Volume Name</td>
-                                        <td>Volume Bytes</td>
-                                        <td>Media Type</td>
-                                        <td>Expire on</td>
-                                        <td>Last Written</td>                                      
-                                        <td>Volume Status</td>
+                                <tr>
+                                        <td class="tbl_vol_header">Volume Name</td>
+                                        <td class="tbl_vol_header">Volume Bytes</td>
+                                        <td class="tbl_vol_header">Media Type</td>
+                                        <td class="tbl_vol_header">Expire on</td>
+                                        <td class="tbl_vol_header">Last Written</td>                                      
+                                        <td class="tbl_vol_header">Volume Status</td>
                                 </tr>
                         {/if}
                                 <tr align=center bgcolor={cycle values="#D9E3FC,#CBE7F5"}>