]> 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 23fa288e5704bf08185ecff02d09213e58fd2159..3a6718faa32aaa0cf134c619653a407fca77409c 100644 (file)
@@ -1,28 +1,6 @@
 <!-- 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>
-       </td>
- </tr>
-</table>
+<!--
 {* {if $status != 0} *}
 <table>
        <tr>
        </tr>
 </table>       
  {* {/if} *}
-</div> <!-- end div box --> 
+</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 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">&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 != ""}
      </tr>
    </table>
  </form>
+</div>
+<!--
 {* {else if #mode# == "Full" || $smarty.get.Full_popup == "yes"} *}
 <table>
        <tr class="tbl_header1">
 {* {/if} *}
 
 </div>
-<!-- end last_run_report.tpl -->
\ No newline at end of file
+-->
+
+<!-- end last_run_report.tpl -->