]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/index.tpl
40e2681d9256f423d24713cecac40109d5b12adc
[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">{$bytes_stored}</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">Pools and volumes status</p>
43           <img src="{$graph_pools}" alt="" />
44   </div> <!-- end div box -->
45
46   {include file=volumes.tpl}
47 </div>
48
49 <!-- To be removed -->
50 {if $server==""} 
51   <!-- <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="" /> -->
52 {else}
53   <!-- <img class="report" src="stats.php?server={$server}&amp;tipo_dato=3&amp;title={$server}&amp;modo_graph=bars" alt="" /> -->
54 {/if} 
55
56 <div id="main_right">
57   <!-- Last job Status -->
58   <div class="box">
59         <p class="title">Last 24 hours status</p>
60                 {* {if $mode == "Lite" && $smarty.get.Full_popup != "yes"} *}
61                 <table>
62                         <tr>
63                                 <td class="label">Failed jobs</td> 
64                                 <td class="info">{$failed_jobs}</td>
65                                 <td class="info"> <a href="jobs.php" title="View last failed jobs">View</a> </td>
66                         </tr>
67                         <tr>
68                                 <td class="label">Completed jobs</td> 
69                                 <td class="info">{$completed_jobs}</td>
70                                 <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td>
71                         </tr> 
72                         <tr>
73                                 <td class="label">Elapsed time</td> 
74                                 <td class="info">{$elapsed_jobs}</td>
75                                 <td class="info"> <a href="#" title="View report">View</a> </td>
76                         </tr>
77                         <tr>
78                                 <td class="label">Transferred Bytes</td> 
79                                 <td class="info">{$bytes_totales}</td>
80                                 <td class="info"> <a href="#" title="View report">View</a> </td>
81                         </tr> 
82                 </table>
83
84   </div> <!-- end div box --> 
85   
86   <div class="box">
87         <p class="title">Job Status Report (last 24 hours)</p>
88           <img src="{$graph_jobs}" alt="" />
89   </div> <!-- end div box -->
90   
91   {include file="$last_report"}         
92
93 </div> <!-- end div main_right -->
94
95 {include file="footer.tpl"}