]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Fixed column width in pools view
authorDavide Franco <bacula-dev@dflc.ch>
Thu, 16 Dec 2010 10:32:35 +0000 (11:32 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Thu, 3 Mar 2011 09:39:08 +0000 (10:39 +0100)
gui/bacula-web/templates/pools.tpl

index 6af7f1ce1a66fbfe7c98ecfcb35e32ef46cb89d7..128397c870fcaafd44093303390c2ce01f646e48 100644 (file)
 {foreach from=$pools item=pool key=pool_name}
 <div class="box">
        <p class="title">{$pool_name}</p>
-       <table class="list">
-               <tr style="text-align: center;">
-                       <td class="info">Name</td>
-                       <td class="info">{t}Bytes{/t}</td>
-                       <td class="info">{t}Media Type{/t}</td>
-                       <td class="info">{t}Expire{/t}</td>
-                       <td class="info">{t}Last written{/t}</td>
+       <table class="list" border="0">
+               <tr>
+                       <td class="info" width="120px">Name</td>
+                       <td class="info" width="120px">{t}Bytes{/t}</td>
+                       <td class="info" width="120px">{t}Media Type{/t}</td>
+                       <td class="info" width="140px">{t}Expire{/t}</td>
+                       <td class="info" width="140px">{t}Last written{/t}</td>
                        <td class="info">{t}Status{/t}</td>
                </tr>
        </table>
        
        <div class="listbox">
-               <table class="list">
+               <table class="list" border="0">
                        {foreach from=$pool item=volume}
-                       <tr style="text-align: center;">
-                               <td>{$volume.volumename}</td>
-                               <td>{$volume.volbytes}</td>
-                               <td>{$volume.mediatype}</td>
-                               <td>{$volume.expire}</td>
-                               <td>{$volume.lastwritten}</td>
+                       <tr>
+                               <td width="120px">{$volume.volumename}</td>
+                               <td width="120px">{$volume.volbytes}</td>
+                               <td width="120px">{$volume.mediatype}</td>
+                               <td width="140px">{$volume.expire}</td>
+                               <td width="140px">{$volume.lastwritten}</td>
                                <td>{$volume.volstatus}</td>
                        </tr>
                        {foreachelse}