]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/last_run_report.tpl
bacula-web: JobFiles detail added in job list (jobs.php)
[bacula/bacula] / gui / bacula-web / templates / last_run_report.tpl
index 3c0f7100c9e9885ba3a2f7de82343fcd4c7ab899..3a6718faa32aaa0cf134c619653a407fca77409c 100644 (file)
@@ -1,30 +1,5 @@
 <!-- last_run_report.tpl -->
 
-<div class="box">
-       <p class="title">Last 24 hours status</p>
-{* {if $mode == "Lite" && $smarty.get.Full_popup != "yes"} *}
-<table>
- <tr>
-       <td class="label">Failed jobs</td> <td class="info">{$failed_jobs}</td>
- </tr>
- <tr>
-       <td class="label">Completed jobs</td> <td class="info">{$completed_jobs}</td>
- </tr> 
- <tr>
-       <td class="label">Elapsed time</td> <td class="info">{$elapsed_jobs}</td>
- </tr>
- <tr>
-       <td class="label">Transferred Bytes</td> <td class="info">{$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> -->
-               <a href="jobs.php" title="Show last jobs details">Show last jobs status</a>
-       </td>
- </tr>
-</table>
-
-</div> <!-- end div box --> 
 <!--
 {* {if $status != 0} *}
 <table>
 </div> 
 -->
 <div class="box">
-       <p class="title">Detailled report</p>
+       <p class="title">Reports</p>
  
  <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">&nbsp;</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>
                     {if $smarty.get.server != ""}
 </div>
 -->
 
-<!-- end last_run_report.tpl -->
\ No newline at end of file
+<!-- end last_run_report.tpl -->