]> git.sur5r.net Git - bacula/bacula/blob - gui/bacula-web/templates/report.tpl
commit changes
[bacula/bacula] / gui / bacula-web / templates / report.tpl
1 {* Página principal BACULA *}
2 {config_load  file=bacula.conf}
3 {popup_init src="js/overlib.js"}
4 <html>
5 <head>
6
7 <title>{t}Stats Bacula: Job{/t} {$smarty.get.server}</title></head>
8 <body>
9
10 {include file=css.tpl}
11
12 <table width=100% border=1 class=back>
13 <tr>
14         <td width=65% valign=top>
15                 <table width=100% cellpadding=5>
16                 <tr>
17                         <td align=center class=titulo>
18                                 {t}Job:{/t} <font color=blue> {$smarty.get.server}</font>
19                                 <br>
20                                 {t}Period: From{/t} <font color=red>{$startperiod|date_format:"%d/%m/%Y"}</font> {t}to{/t} <font color=red>{$endperiod|date_format:"%d/%m/%Y"}</font>
21                         </td>
22                 </tr>
23
24                 <tr>
25                         <td align=left>
26                                 <table width=100%>
27                                 <tr>
28                                         <td class=table1>
29                                                 {t}Bytes transferred in the period:{/t}
30                                         </td>
31                                         <td align=right width=15% class=table2>
32                                                 {$bytesperiod|fsize_format}
33                                         </td>
34                                 </tr>
35                                 <tr>
36                                         <td class=table1 >
37                                                 {t}Files transferred in the period:{/t}
38                                         </td>
39                                         <td align=right class=table2>
40                                                 {$filesperiod}
41                                         </td>
42                                 </tr>
43                                 <tr>
44                                         <td colspan=2>
45                                                 {if $smarty.get.server==""}
46                                                         <img src=stats.php?server={$smarty.get.server|escape:"url"}&tipo_dato=69&title=Análisis%20general&modo_graph=lines>
47                                                 {elseif $smarty.get.default == 1}
48                                                         <img src=stats.php?server={$smarty.get.server|escape:"url"}&tipo_dato=3&title={$smarty.get.server|escape:"url"}&modo_graph=bars&StartDateMonth={$startperiod|date_format:"%m"}&StartDateDay={$startperiod|date_format:"%d"}&StartDateYear={$startperiod|date_format:"%Y"}&EndDateMonth={$endperiod|date_format:"%m"}&EndDateDay={$endperiod|date_format:"%d"}&EndDateYear={$endperiod|date_format:"%Y"}>                                                
49                                                 {else}
50                                                         <img src=stats.php?server={$smarty.get.server|escape:"url"}&tipo_dato={$smarty.get.tipo_dato}&title={$smarty.get.server|escape:"url"}&modo_graph={$smarty.get.modo_graph}&StartDateMonth={$smarty.get.StartDateMonth}&StartDateDay={$smarty.get.StartDateDay}&StartDateYear={$smarty.get.StartDateYear}&EndDateMonth={$smarty.get.EndDateMonth}&EndDateDay={$smarty.get.EndDateDay}&EndDateYear={$smarty.get.EndDateYear}>
51                                                 {/if}
52                                         </td>
53                                 </tr>           
54                                 </table>
55                         </td>
56                 </tr>
57                 </table>        
58         </td>
59         <td width=35%>
60                 <table width=100% border=0>
61                 <tr>
62                         <td>{include file=report_select.tpl}</td>
63                 </tr>
64                 <tr>
65                         <td>  
66                                 <table width=100% border=0 class=genmed cellpadding=0 cellspacing=2>
67                                 <tr class=titulo2>
68                                         <td background="images/bg7.gif" height=25>{t}JobID{/t}</td>
69                                         <td background="images/bg7.gif" height=25>{t}Date{/t}</td>
70                                         <td background="images/bg7.gif" height=25>{t}Elapsed{/t}</td>
71                                         <td background="images/bg7.gif" height=25>{t}Level{/t}</td>
72                                         <td background="images/bg7.gif" height=25 align=center>{t}Bytes{/t}</td>
73                                         <td background="images/bg7.gif" height=25 width=1%>{t}Status{/t}</td>
74                                 </tr>
75                                 {section name=job loop=$jobs}
76                                 <tr class={cycle values="table1,table2"}>
77                                         <td align=center>{$jobs[job].JobId}</td>
78                                         <td {popup caption="Sheduled time" text=$jobs[job].SchedTime}>{$jobs[job].StartTime}</td>
79                                         <td {popup autostatus=yes caption="EndTime" text=$jobs[job].EndTime}>{$jobs[job].elapsed}</td>
80                                         <td align=center>{$jobs[job].Level}</td>
81                                         <td align=right>{$jobs[job].JobBytes|fsize_format}</td>
82                                         <td align=center width=1%>
83                                                 {if $jobs[job].JobStatus eq "T"}
84                                                         <img src={#root#}/images/s_ok.gif>
85                                                 {else}
86                                                         <img src={#root#}/images/s_error.gif>
87                                                 {/if}
88                                         </td>
89                                 </tr>
90                                 {/section}
91                                 </table>
92                         </td>
93                 </tr>
94                 </table>
95         <td>
96 </tr>
97 </table>        
98
99
100
101 {include file="footer.tpl"}