]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/volumes.tpl
bacula-web: Removed generaldata template
[bacula/bacula] / gui / bacula-web / templates / volumes.tpl
1 <!-- volumes.tpl -->
2
3 <div class="box">
4   <p class="title">Pools</p>
5         
6   <table width="100%">
7         {foreach from=$pools item=pool key=pool_name}
8         <tr>
9                 <th colspan="6" style="font-size: 10pt; text-align: center; background-color: #E0C8E5; color: black; padding: 3px;">
10                         {$pool_name}
11                 </th>
12         </tr>
13         <tr style="text-align: center;">
14                 <td style="background-image: url(style/images/bg5.png);" class=tbl_pool_inter_1>Name</td>
15                 <td style="background-image: url(style/images/bg5.png);" class=tbl_pool_inter_1>{t}Bytes{/t}</td>
16                 <td style="background-image: url(style/images/bg5.png);" class=tbl_pool_inter_1>{t}Media Type{/t}</td>
17                 <td style="background-image: url(style/images/bg5.png);" class=tbl_pool_inter_1>{t}Expire{/t}</td>
18                 <td style="background-image: url(style/images/bg5.png);" class=tbl_pool_inter_1>{t}Last written{/t}</td>
19                 <td style="background-image: url(style/images/bg5.png);" class=tbl_pool_inter_1>{t}Status{/t}</td>
20         </tr>
21         {foreach from=$pool item=volume}
22                 <tr style="text-align: center;">
23                         <td style="text-align: left;">{$volume.volumename}</td>
24                         <td>{$volume.volbytes}</td>
25                         <td>{$volume.mediatype}</td>
26                         <td>{$volume.expire}</td>
27                         <td>{$volume.lastwritten}</td>
28                         <td>{$volume.volstatus}</td>
29                 {foreachelse}
30                 <tr>
31                         <td colspan="6" style="text-align: center; font-weight: bold; font-size: 8pt; padding: 1em;">
32                                 No volume in this pool
33                         </td>
34                 {/foreach}
35                 </tr>
36         {/foreach}
37   </table>
38
39 </div> <!-- end div box -->
40
41 <!-- End volumes.tpl -->