]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/pools.tpl
bacula-web: JobFiles detail added in job list (jobs.php)
[bacula/bacula] / gui / bacula-web / templates / pools.tpl
index 75d655215d8d0b48c5a44cd31ce71d35c14367d5..128397c870fcaafd44093303390c2ce01f646e48 100644 (file)
 </div>
 
 <div id="main_center">
+
+{foreach from=$pools item=pool key=pool_name}
 <div class="box">
-  <p class="title">Pools</p>
-       
-  <table class="list">
-       {foreach from=$pools item=pool key=pool_name}
-       <tr>
-               <th colspan="6" style="font-size: 10pt; text-align: center; background-color: #E0C8E5; color: black; padding: 3px;">
-                       {$pool_name}
-               </th>
-       </tr>
-       <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>
-               <td class="info">{t}Status{/t}</td>
-       </tr>
-       {foreach from=$pool item=volume}
-               <tr style="text-align: center;">
-                       <td style="text-align: left;">{$volume.volumename}</td>
-                       <td>{$volume.volbytes}</td>
-                       <td>{$volume.mediatype}</td>
-                       <td>{$volume.expire}</td>
-                       <td>{$volume.lastwritten}</td>
-                       <td>{$volume.volstatus}</td>
-               {foreachelse}
+       <p class="title">{$pool_name}</p>
+       <table class="list" border="0">
                <tr>
-                       <td colspan="6" style="text-align: center; font-weight: bold; font-size: 8pt; padding: 1em;">
-                               No volume in this pool
-                       </td>
-               {/foreach}
+                       <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>
-       {/foreach}
-  </table>
+       </table>
+       
+       <div class="listbox">
+               <table class="list" border="0">
+                       {foreach from=$pool item=volume}
+                       <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}
+                       <tr>
+                               <td colspan="6" style="text-align: center; font-weight: bold; font-size: 8pt; padding: 1em;">
+                                       No volume(s) in this pool
+                               </td>
+                       </tr>
+                       {/foreach}
+               </table>        
+       </div>
+</div> <!-- end div box-->
+{/foreach}
 
-</div> <!-- end div box -->
 </div> <!-- end div main_center -->
 
 <!-- End volumes.tpl -->