]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/index.tpl
bacula-web: Changed main dashboard layout
[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">{$files_totales} 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
94                 <!-- <a href="jobs.php" title="Show last 24 hours jobs status">View report</a> -->
95         </p>
96                 <table>
97                         <tr>
98                                 <td class="label">Failed jobs</td> 
99                                 <td class="info">{$failed_jobs}</td>
100                                 <!-- <td class="info"> <a href="jobs.php" title="View last failed jobs">View</a> </td> -->
101                         </tr>
102                         <tr>
103                                 <td class="label">Completed jobs</td> 
104                                 <td class="info">{$completed_jobs}</td>
105                                 <!-- <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td> -->
106                         </tr> 
107                         <tr>
108                                 <td class="label">Waiting jobs</td> 
109                                 <td class="info">{$waiting_jobs}</td>
110                                 <!-- <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td> -->
111                         </tr> 
112                         <tr>
113                                 <td class="label">Transferred Bytes</td> 
114                                 <td class="info">{$bytes_totales}</td>
115                                 <!-- <td class="info"> <a href="#" title="View report">View</a> </td> -->
116                         </tr> 
117                 </table>
118   </div> <!-- end div box -->   
119   
120   {include file="$last_report"}
121 </div> <!-- end div main_right -->
122
123 {include file="footer.tpl"}