]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/pools.tpl
bacula-web: Added last jobs in Backup Job report page
[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 {literal}
8 <script type="text/javascript">
9         function OpenWin(URL,wid,hei) {
10                 window.open(URL,"window1","width="+wid+",height="+hei+",scrollbars=yes,menubar=no,location=no,resizable=no")
11         }
12 </script>
13 {/literal}
14
15 </head>
16 <body>
17 {popup_init src='./external_packages/js/overlib.js'}
18 {include file=header.tpl}
19
20 <div id="nav">
21   <a href="index.php" title="Back to the dashboard">Dashboard</a> > Pools and Volumes list
22 </div>
23
24 <div id="main_center">
25
26 {foreach from=$pools item=pool key=pool_name}
27 <div class="box">
28         <p class="title">{$pool_name}</p>
29         <table class="list" border="0">
30                 <tr>
31                         <td class="tbl_header" width="120">Name</td>
32                         <td class="tbl_header" width="120">{t}Bytes{/t}</td>
33                         <td class="tbl_header" width="120">{t}Media Type{/t}</td>
34                         <td class="tbl_header" width="140">{t}Expire{/t}</td>
35                         <td class="tbl_header" width="140">{t}Last written{/t}</td>
36                         <td class="tbl_header">{t}Status{/t}</td>
37                 </tr>
38         </table>
39         
40         <div class="listbox">
41                 <table class="list" border="0">
42                         {foreach from=$pool item=volume}
43                         <tr>
44                                 <td width="120" class="{$volume.class}">{$volume.volumename}</td>
45                                 <td width="120" class="{$volume.class}">{$volume.volbytes}</td>
46                                 <td width="120" class="{$volume.class}">{$volume.mediatype}</td>
47                                 <td width="140" class="{$volume.class}">{$volume.expire}</td>
48                                 <td width="140" class="{$volume.class}">{$volume.lastwritten}</td>
49                                 <td class="{$volume.class}">{$volume.volstatus}</td>
50                         </tr>
51                         {foreachelse}
52                         <tr>
53                                 <td colspan="6" style="text-align: center; font-weight: bold; font-size: 8pt; padding: 1em;">
54                                         No volume(s) in this pool
55                                 </td>
56                         </tr>
57                         {/foreach}
58                 </table>        
59         </div>
60 </div> <!-- end div box-->
61 {/foreach}
62
63 </div> <!-- end div main_center -->
64
65 <!-- End volumes.tpl -->
66
67 {include file="footer.tpl"}