<!-- last_run_report.tpl -->
-<div class="box">
- <p class="title">Last 24 hours status</p>
-<!--
-<table width=100% align=center {if !$status }background="images/backlast.gif"{else}background="images/backlastred.gif" {/if} style="background-repeat:no-repeat" height=178px border=0 cellspacing=0 cellpadding=0>
- <tr>
- <td colspan=2 align=center style="font-size: 12px; font-weight: bold; background-repeat: repeat" background="images/bg6.png" height=25>
- {t}Status from last 24h{/t}
- </td>
- </tr>
--->
-{if #mode# == "Lite" && $smarty.get.Full_popup != "yes"}
-<table width="100%">
- <tr>
- <td>
- <b>{t}Errors:{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$status}
- </td>
- </tr>
-
- <tr>
- <td>
- <b>{t}Terminated Jobs:{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$total_jobs}
- </td>
- </tr>
- <tr>
- <td>
- <b>{t}Total time spent to do backup:{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$TotalElapsed}
- </td>
- </tr>
-
- <tr>
- <td>
- <b>{t}Bytes transferred last 24h{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$bytes_totales|fsize_format}
- </td>
- </tr>
- <tr>
- <td colspan=2 align=center>
- <a href="javascript:OpenWin('index.php?Full_popup=yes','490','350')">{t}Show details{/t}</a>
- </td>
- </tr>
- </table>
-
- {if $status != 0}
+<!--
+{* {if $status != 0} *}
<table>
<tr>
<td colspan=2>
</td>
</tr>
<tr>
- <td background="images/bg6.png"><b>JobId </b></td>
- <td background="images/bg6.png"><b>{t}Name{/t}</b></td>
- <td background="images/bg6.png"><b>{t}EndTime{/t}</b></td>
- <td background="images/bg6.png"><b>{t}JobStatus{/t}</b></td>
+ <td background="style/images/bg6.png"><b>JobId </b></td>
+ <td background="style/images/bg6.png"><b>{t}Name{/t}</b></td>
+ <td background="style/images/bg6.png"><b>{t}EndTime{/t}</b></td>
+ <td background="style/images/bg6.png"><b>{t}JobStatus{/t}</b></td>
</tr>
{section name=row loop=$errors_array}
<tr {* bgcolor=#{cycle values="E6E6F5,E1E5E0"} *}>
</td>
</tr>
</table>
- {/if}
-</div> <!-- end div box -->
-
+ {* {/if} *}
+</div>
+-->
<div class="box">
- <p class="title">Detailled report</p>
+ <p class="title">Reports</p>
<form method="get" action="report.php" target="_blank">
- <table>
- <!--
- <tr>
- <td align=right colspan=2 valign=bottom>
+ <table width="100%" cellpadding="0" cellspacing="3" border="0">
- <table width="100%" cellpadding="0" cellspacing="3" border="0">
- <tr bgcolor=white>
- <td colspan="3" style="text-align: center; background-image: url(images/bg1.png); font-size: 12px; font-weight: bold;">
- Detailed report
- </td>
- </tr>
- -->
- <tr>
- <td align=left>
- {t}Select a job:{/t}
- </td>
- <td align=right>
- <input type=hidden name="default" value="1">
- <select name=server>
- {if $smarty.get.server!=""}
- {html_options values=$smarty.get.server output=$smarty.get.server}
- {else}
- {html_options values=$total_name_jobs output=$total_name_jobs}
- {/if}
- </select>
- </td>
- <td>
- <input type=submit value="{t}go{/t}">
- </td>
-
- </tr>
- </table>
- </form>
-{else if #mode# == "Full" || $smarty.get.Full_popup == "yes"}
+<!--
+<tr>
+ <td colspan=2 align=center>
+ <a href="javascript:OpenWin('index.php?Full_popup=yes','490','350')">{t}Show details{/t}</a>
+ <a href="jobs.php" title="Show last jobs details">Show last jobs status</a>
+ </td>
+ </tr>
+-->
+ <tr>
+ <td colspan=2 align=center>
+ <a href="javascript:OpenWin('index.php?pop_graph1=yes','600','400')">{t}Last month, bytes transferred{/t}</a>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2 align=center>
+ <a href="javascript:OpenWin('index.php?pop.graph2=yes','600','400')">{t}Last month, bytes transferred (pie){/t}</a>
+ </td>
+ </tr>
+ <tr> <td colspan="2"> </td> </tr>
+ <tr>
+ <td class="label"><b>{t}Select a job:{/t}</b></td>
+ <td class="info">
+ <input type=hidden name="default" value="1">
+ <select name=server>
+ {if $smarty.get.server != ""}
+ {html_options values=$smarty.get.server output=$smarty.get.server}
+ {else}
+ {html_options values=$total_name_jobs output=$total_name_jobs}
+ {/if}
+ </select>
+ <input type=submit value="{t}go{/t}">
+ </td>
+ </tr>
+ </table>
+ </form>
+</div>
+<!--
+{* {else if #mode# == "Full" || $smarty.get.Full_popup == "yes"} *}
<table>
<tr class="tbl_header1">
<td><b>{t}Elapsed time{/t}</b></td>
{/if}
{if $smarty.section.row.last == TRUE}
{if $clients[job][row] eq "T"}
- <img src={#root#}/images/s_ok.gif>
+ <img src={#root#}/style/images/s_ok.gif>
{else}
- <img src={#root#}/images/s_error.gif>
+ <img src={#root#}/style/images/s_error.gif>
{/if}
{else}
{$clients[job][row]}
</td>
</tr>
</table>
-{/if}
+{* {/if} *}
</div>
-<!-- end last_run_report.tpl -->
\ No newline at end of file
+-->
+
+<!-- end last_run_report.tpl -->