1 {* Página principal BACULA *}
2 {config_load file=bacula.conf}
3 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
4 "http://www.w3.org/TR/html4/loose.dtd">
8 {popup_init src="js/overlib.js"}
9 <title>{t}Stats Bacula: Job{/t} {$smarty.get.server}</title>
11 <link rel="stylesheet" type="text/css" href="style/default.css" />
17 <table width=100% border=1 class=back>
19 <td width=65% valign=top>
20 <table width=100% cellpadding=5>
22 <td align=center class=titulo>
23 {t}Job:{/t} <font color=blue> {$smarty.get.server}</font>
25 {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>
34 {t}Bytes transferred in the period:{/t}
36 <td align=right width=15% class=table2>
37 {$bytesperiod|fsize_format}
42 {t}Files transferred in the period:{/t}
44 <td align=right class=table2>
50 {if $smarty.get.server==""}
51 <img src=stats.php?server={$smarty.get.server|escape:"url"}&tipo_dato=69&title=Análisis%20general&modo_graph=lines>
52 {elseif $smarty.get.default == 1}
53 <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"}>
55 <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}>
65 <table width=100% border=0>
67 <td>{include file=report_select.tpl}</td>
71 <table width=100% border=0 class=genmed cellpadding=0 cellspacing=2>
73 <td background="images/bg7.gif" height=25>{t}JobID{/t}</td>
74 <td background="images/bg7.gif" height=25>{t}Date{/t}</td>
75 <td background="images/bg7.gif" height=25>{t}Elapsed{/t}</td>
76 <td background="images/bg7.gif" height=25>{t}Level{/t}</td>
77 <td background="images/bg7.gif" height=25 align=center>{t}Bytes{/t}</td>
78 <td background="images/bg7.gif" height=25 width=1%>{t}Status{/t}</td>
80 {section name=job loop=$jobs}
81 <tr class={cycle values="table1,table2"}>
82 <td align=center>{$jobs[job].JobId}</td>
83 <td {popup caption="Sheduled time" text=$jobs[job].SchedTime}>{$jobs[job].StartTime}</td>
84 <td {popup autostatus=yes caption="EndTime" text=$jobs[job].EndTime}>{$jobs[job].elapsed}</td>
85 <td align=center>{$jobs[job].Level}</td>
86 <td align=right>{$jobs[job].JobBytes|fsize_format}</td>
87 <td align=center width=1%>
88 {if $jobs[job].JobStatus eq "T"}
89 <img src={#root#}/images/s_ok.gif>
91 <img src={#root#}/images/s_error.gif>
106 {include file="footer.tpl"}