-<table width=90% 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"}
- <tr>
- <td>
- <b>{t}Errors:{/t}</b>
- </td>
- <td style="font-size: 13px; color: blue">
- {$status}
- </td>
- </tr>
+<!-- last_run_report.tpl -->
- <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>
-
- {if $status != 0}
- <tr>
+<!--
+{* {if $status != 0} *}
+<table>
+ <tr>
<td colspan=2>
<table border=0 cellpadding=0 cellspacing=0>
<tr>
</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"} *}>
{/section}
</table>
</td>
- </tr>
- {/if}
+ </tr>
+</table>
+ {* {/if} *}
+</div>
+-->
+<div class="box">
+ <p class="title">Reports</p>
- <tr>
- <td align=right colspan=2 valign=bottom>
- <table widh=100% cellpadding=0 cellspacing=3 border=0>
- <tr bgcolor=white>
- <td align=right colspan=3 background="images/bg1.png" style="font-size: 12px; font-weight: bold;">
- <i>{t}Detailed report{/t}</i>
- </td>
- </tr>
-
- <tr>
- <td align=left>
- {t}Select a job:{/t}
- </td>
- <form method=get action="report.php" target="_blank">
- <input type=hidden name="default" value="1">
- <td align=right>
- <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>
- </form>
- </tr>
- </table>
- </td>
- </tr>
-{else if #mode# == "Full" || $smarty.get.Full_popup == "yes"}
- <tr>
- <td>
- <table width=100% class="genmed" cellpadding=2 cellspacing=0>
- <tr class="tbl_header1">
- <td><b>{t}Elapsed time{/t}</b></td>
- <td><b>{t}Client{/t}</b></td>
- <td><b>{t}Start Time{/t}</b></td>
- <td><b>{t}End Time{/t}</b></td>
- <td><b>{t}Type{/t}</b></td>
- <td><b>{t}Pool{/t}</b></td>
- <td><b>{t}Status{/t}</b></td>
- </tr>
- {section name=job loop=$clients}
- <tr class={cycle values="table3,table4"}>
- {section name=row loop=$clients[job]}
- <td align=left class="size_small">
- {if $smarty.section.row.iteration == 2}
- <a href=report.php?default=1&server={$clients[job][row]|escape:"url"} target="_blank">
- {/if}
- {if $smarty.section.row.last == TRUE}
- {if $clients[job][row] eq "T"}
- <img src={#root#}/images/s_ok.gif>
- {else}
- <img src={#root#}/images/s_error.gif>
- {/if}
- {else}
- {$clients[job][row]}
- {/if}
- {if $smarty.section.row.iteration == 2}
- </a>
- {/if}
- </td>
- {/section}
- </tr>
- {/section}
- </table>
+ <form method="get" action="report.php" target="_blank">
+ <table width="100%" cellpadding="0" cellspacing="3" border="0">
+ <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>
+ <td><b>{t}Client{/t}</b></td>
+ <td><b>{t}Start Time{/t}</b></td>
+ <td><b>{t}End Time{/t}</b></td>
+ <td><b>{t}Type{/t}</b></td>
+ <td><b>{t}Pool{/t}</b></td>
+ <td><b>{t}Status{/t}</b></td>
+ </tr>
+ {section name=job loop=$clients}
+ <tr class={cycle values="table3,table4"}>
+ {section name=row loop=$clients[job]}
+ <td align=left class="size_small">
+ {if $smarty.section.row.iteration == 2}
+ <a href=report.php?default=1&server={$clients[job][row]|escape:"url"} target="_blank">
+ {/if}
+ {if $smarty.section.row.last == TRUE}
+ {if $clients[job][row] eq "T"}
+ <img src={#root#}/style/images/s_ok.gif>
+ {else}
+ <img src={#root#}/style/images/s_error.gif>
+ {/if}
+ {else}
+ {$clients[job][row]}
+ {/if}
+ {if $smarty.section.row.iteration == 2}
+ </a>
+ {/if}
+ </td>
+ {/section}
+ </tr>
+ {/section}
</td>
</tr>
-{/if}
-</table>
\ No newline at end of file
+</table>
+{* {/if} *}
+
+</div>
+-->
+
+<!-- end last_run_report.tpl -->