]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/pools.tpl
bacula-web: Removed file includes/db/cpgsqldb.class.php
[bacula/bacula] / gui / bacula-web / templates / pools.tpl
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2   "http://www.w3.org/TR/html4/loose.dtd">
3 <html lang="en">
4 <head>
5 <title>bacula-web</title>
6 <link rel="stylesheet" type="text/css" href="style/default.css">
7 </head>
8 <body>
9 {include file=header.tpl}
10
11 <div id="nav">
12   <a href="index.php" title="Back to the dashboard">Dashboard</a> > Pools and Volumes list
13 </div>
14
15 <div id="main_center">
16
17 {foreach from=$pools item=pool key=pool_name}
18 <div class="box">
19         <p class="title">{$pool_name}</p>
20         <table class="list" border="0">
21                 <tr>
22                         <td class="tbl_header" width="120">Name</td>
23                         <td class="tbl_header" width="120">{t}Bytes{/t}</td>
24                         <td class="tbl_header" width="120">{t}Media Type{/t}</td>
25                         <td class="tbl_header" width="140">{t}Expire{/t}</td>
26                         <td class="tbl_header" width="140">{t}Last written{/t}</td>
27                         <td class="tbl_header">{t}Status{/t}</td>
28                 </tr>
29         </table>
30         
31         <div class="listbox">
32                 <table class="list" border="0">
33                         {foreach from=$pool item=volume}
34                         <tr>
35                                 <td width="120" class="{$volume.class}">{$volume.volumename}</td>
36                                 <td width="120" class="{$volume.class}">{$volume.volbytes}</td>
37                                 <td width="120" class="{$volume.class}">{$volume.mediatype}</td>
38                                 <td width="140" class="{$volume.class}">{$volume.expire}</td>
39                                 <td width="140" class="{$volume.class}">{$volume.lastwritten}</td>
40                                 <td class="{$volume.class}">{$volume.volstatus}</td>
41                         </tr>
42                         {foreachelse}
43                         <tr>
44                                 <td colspan="6" style="text-align: center; font-weight: bold; font-size: 8pt; padding: 1em;">
45                                         No volume(s) in this pool
46                                 </td>
47                         </tr>
48                         {/foreach}
49                 </table>        
50         </div>
51 </div> <!-- end div box-->
52 {/foreach}
53
54 </div> <!-- end div main_center -->
55
56 <!-- End volumes.tpl -->
57
58 {include file="footer.tpl"}