<!-- last_run_report.tpl -->
-<div class="box">
- <p class="title">Last 24 hours status</p>
-<!--
-<table width=100% align=center {if !$status }background="style/images/backlast.gif"{else}background="style/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="style/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}
- </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>
</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">
+ <form method="post" action="backupjob-report.php">
<table width="100%" cellpadding="0" cellspacing="3" border="0">
-<!--
- <tr bgcolor=white>
- <td colspan="3" style="text-align: center; background-image: url('style/images/bg1.png'); font-size: 12px; font-weight: bold;">
- Detailed report
- </td>
- </tr>
--->
+
+<!--
+<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">{t}Select a job:{/t}</td>
- <td align=center>
+ <td class="label"><b>{t}Select a job:{/t}</b></td>
+ <td class="info">
<input type=hidden name="default" value="1">
- <select name=server>
+ <select name=backupjob_name>
{if $smarty.get.server != ""}
{html_options values=$smarty.get.server output=$smarty.get.server}
{else}
</tr>
</table>
</form>
-{else if #mode# == "Full" || $smarty.get.Full_popup == "yes"}
+</div>
+<!--
+{* {else if #mode# == "Full" || $smarty.get.Full_popup == "yes"} *}
<table>
<tr class="tbl_header1">
<td><b>{t}Elapsed time{/t}</b></td>
</td>
</tr>
</table>
-{/if}
+{* {/if} *}
</div>
-<!-- end last_run_report.tpl -->
\ No newline at end of file
+-->
+
+<!-- end last_run_report.tpl -->