]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/pools.tpl
bacula-web: New Stored bytes graph in main layout
[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 <div class="box">
26   <p class="title">Pools</p>
27         
28   <table class="list">
29         {foreach from=$pools item=pool key=pool_name}
30         <tr>
31                 <th colspan="6" style="font-size: 10pt; text-align: center; background-color: #E0C8E5; color: black; padding: 3px;">
32                         {$pool_name}
33                 </th>
34         </tr>
35         <tr style="text-align: center;">
36                 <td class="info">Name</td>
37                 <td class="info">{t}Bytes{/t}</td>
38                 <td class="info">{t}Media Type{/t}</td>
39                 <td class="info">{t}Expire{/t}</td>
40                 <td class="info">{t}Last written{/t}</td>
41                 <td class="info">{t}Status{/t}</td>
42         </tr>
43         {foreach from=$pool item=volume}
44                 <tr style="text-align: center;">
45                         <td style="text-align: left;">{$volume.volumename}</td>
46                         <td>{$volume.volbytes}</td>
47                         <td>{$volume.mediatype}</td>
48                         <td>{$volume.expire}</td>
49                         <td>{$volume.lastwritten}</td>
50                         <td>{$volume.volstatus}</td>
51                 {foreachelse}
52                 <tr>
53                         <td colspan="6" style="text-align: center; font-weight: bold; font-size: 8pt; padding: 1em;">
54                                 No volume in this pool
55                         </td>
56                 {/foreach}
57                 </tr>
58         {/foreach}
59   </table>
60
61 </div> <!-- end div box -->
62 </div> <!-- end div main_center -->
63
64 <!-- End volumes.tpl -->
65
66 {include file="footer.tpl"}