]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/index.tpl
bacula-web: Added last 24 hours stored files to main dashboard
[bacula/bacula] / gui / bacula-web / templates / index.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="main_left">
21
22
23   <!-- Pools and Volumes Status -->
24   <div class="box">
25         <p class="title">
26         Pools and volumes status
27         <a href="pools.php" title="Show pools and volumes report">View report</a>
28         </p>
29           <img src="{$graph_pools}" alt="" />
30   </div> <!-- end div box -->
31   
32   <div class="box">
33         <p class="title">Stored Bytes (GB / Last 7 days)</p>
34           <img src="{$graph_stored_bytes}" alt="" />
35   </div> <!-- end div box -->
36
37 </div>
38
39 <div id="main_middle">
40   
41   <div class="box">
42         <p class="title">
43         Job Status Report
44         <a href="jobs.php" title="Show last 24 hours jobs status">View report</a>
45         </p>
46           <img src="{$graph_jobs}" alt="" />
47   </div> <!-- end div box -->
48   
49   <div class="box">
50         <p class="title">Last used volumes</p>
51           <table>
52                 <tr>
53                   <td class="tbl_header">Volume</td>
54                   <td class="tbl_header">Status</td>
55                   <td class="tbl_header">Last written</td>
56                   <td class="tbl_header">Job Id</td>
57                 </tr>
58                 {foreach from=$volume_list item=vol}
59                 <tr>
60                   <td>{$vol.Volumename}</td>
61                   <td>{$vol.VolStatus}</td>
62                   <td>{$vol.Lastwritten}</td>
63                   <td>{$vol.JobId}</td>
64                 </tr>
65                 {/foreach}
66           </table>
67   </div> <!-- end div box -->
68   
69 </div> <!-- end div main_middle -->
70
71 <div id="main_right">
72   <!-- General information -->
73   <div class="box">
74         <p class="title">Overall status</p>
75         <table>
76           <tr>
77             <td class="label">{t}Clients{/t}</td> <td class="info">{$clientes_totales}</td>
78           </tr>
79           <tr>
80                 <td class="label">{t}Total bytes stored{/t}</td> <td class="info">{$stored_bytes}</td>
81           </tr>
82           <tr>
83                 <td class="label">{t}Total files{/t}</td> <td class="info">{$stored_files} file(s)</td>
84           </tr>
85           <tr>
86                 <td class="label">{t}Database size{/t}</td> <td class="info">{$database_size}</td>
87           </tr>
88         </table>
89   </div>
90
91   <!-- Last 24 hours job Status -->
92   <div class="box">
93         <p class="title">Last 24 hours status</p>
94                 <table>
95                         <tr>
96                                 <td class="label">Failed jobs</td> 
97                                 <td class="info">{$failed_jobs}</td>
98                         </tr>
99                         <tr>
100                                 <td class="label">Completed jobs</td> 
101                                 <td class="info">{$completed_jobs}</td>
102                         </tr> 
103                         <tr>
104                                 <td class="label">Waiting jobs</td> 
105                                 <td class="info">{$waiting_jobs}</td>
106                         </tr> 
107                         <tr>
108                                 <td colspan="2" class="label"><hr></td>
109                         </tr>
110                         <tr>
111                                 <td class="label">Transferred Bytes</td> 
112                                 <td class="info">{$bytes_last}</td>
113                         </tr>
114                         <tr>
115                                 <td class="label">Transferred Files</td> 
116                                 <td class="info">{$files_last}</td>
117                         </tr>
118                 </table>
119   </div> <!-- end div box -->   
120   
121   {include file="$last_report"}
122 </div> <!-- end div main_right -->
123
124 {include file="footer.tpl"}