]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/index.tpl
bacula-web: Removed useless last 24 hours elapsed time info 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 <!-- To be removed -->
59 {if $server==""} 
60   <!-- <img class="report" src="stats.php?server={$server}&amp;tipo_dato=69&amp;title=General%20report&amp;modo_graph=bars&amp;sizex=420&amp;sizey=250&amp;MBottom=20&amp;legend=1" alt="" /> -->
61 {else}
62   <!-- <img class="report" src="stats.php?server={$server}&amp;tipo_dato=3&amp;title={$server}&amp;modo_graph=bars" alt="" /> -->
63 {/if} 
64
65 <div id="main_right">
66   <!-- Last job Status -->
67   <div class="box">
68         <p class="title">Last 24 hours status</p>
69                 {* {if $mode == "Lite" && $smarty.get.Full_popup != "yes"} *}
70                 <table>
71                         <tr>
72                                 <td class="label">Failed jobs</td> 
73                                 <td class="info">{$failed_jobs}</td>
74                                 <td class="info"> <a href="jobs.php" title="View last failed jobs">View</a> </td>
75                         </tr>
76                         <tr>
77                                 <td class="label">Completed jobs</td> 
78                                 <td class="info">{$completed_jobs}</td>
79                                 <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td>
80                         </tr> 
81                         <!--
82                         <tr>
83                                 <td class="label">Elapsed time</td> 
84                                 <td class="info">{$elapsed_jobs}</td>
85                                 <td class="info"> <a href="#" title="View report">View</a> </td>
86                         </tr>
87                         -->
88                         <tr>
89                                 <td class="label">Transferred Bytes</td> 
90                                 <td class="info">{$bytes_totales}</td>
91                                 <td class="info"> <a href="#" title="View report">View</a> </td>
92                         </tr> 
93                 </table>
94
95   </div> <!-- end div box --> 
96   
97   <div class="box">
98         <p class="title">
99         Job Status Report
100         <a href="jobs.php" title="Show last 24 hours jobs status">View report</a>
101         </p>
102           <img src="{$graph_jobs}" alt="" />
103   </div> <!-- end div box -->
104   
105
106   {include file="$last_report"}         
107
108 </div> <!-- end div main_right -->
109
110 {include file="footer.tpl"}