]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/index.tpl
bacula-web: Some improvments in 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   <!-- General information -->
22   <div class="box">
23         <p class="title">Overall status</p>
24         <table>
25           <tr>
26             <td class="label">{t}Clients{/t}</td> <td class="info">{$clientes_totales}</td>
27           </tr>
28           <tr>
29                 <td class="label">{t}Total bytes stored{/t}</td> <td class="info">{$stored_bytes}</td>
30           </tr>
31           <tr>
32                 <td class="label">{t}Total files{/t}</td> <td class="info">{$files_totales} file(s)</td>
33           </tr>
34           <tr>
35                 <td class="label">{t}Database size{/t}</td> <td class="info">{$database_size}</td>
36           </tr>
37         </table>
38   </div>
39
40   <!-- Pools and Volumes Status -->
41   <div class="box">
42         <p class="title">
43         Pools and volumes status
44         <a href="pools.php" title="Show pools and volumes report">View report</a>
45         </p>
46           <img src="{$graph_pools}" alt="" />
47   </div> <!-- end div box -->
48   
49   <div class="box">
50         <p class="title">Stored Bytes (GB / Last 7 days)</p>
51           <img src="{$graph_stored_bytes}" alt="" />
52   </div> <!-- end div box -->
53
54 {* {include file=volumes.tpl}*}
55
56 </div>
57
58 <div id="main_right">
59   <!-- Last job Status -->
60   <div class="box">
61         <p class="title">Last 24 hours status
62                 <a href="jobs.php" title="Show last 24 hours jobs status">View report</a>
63         </p>
64                 <table>
65                         <tr>
66                                 <td class="label">Failed jobs</td> 
67                                 <td class="info">{$failed_jobs}</td>
68                                 <!-- <td class="info"> <a href="jobs.php" title="View last failed jobs">View</a> </td> -->
69                         </tr>
70                         <tr>
71                                 <td class="label">Completed jobs</td> 
72                                 <td class="info">{$completed_jobs}</td>
73                                 <!-- <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td> -->
74                         </tr> 
75                         <tr>
76                                 <td class="label">Waiting jobs</td> 
77                                 <td class="info">{$waiting_jobs}</td>
78                                 <!-- <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td> -->
79                         </tr> 
80                         <tr>
81                                 <td class="label">Transferred Bytes</td> 
82                                 <td class="info">{$bytes_totales}</td>
83                                 <!-- <td class="info"> <a href="#" title="View report">View</a> </td> -->
84                         </tr> 
85                 </table>
86
87   </div> <!-- end div box --> 
88   
89   <div class="box">
90         <p class="title">
91         Job Status Report
92         <a href="jobs.php" title="Show last 24 hours jobs status">View report</a>
93         </p>
94           <img src="{$graph_jobs}" alt="" />
95   </div> <!-- end div box -->
96   
97
98   {include file="$last_report"}         
99
100 </div> <!-- end div main_right -->
101
102 {include file="footer.tpl"}