]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/index.tpl
bacula-web: Removed useless last 24 hours elapsed time info in main dashboard
[bacula/bacula] / gui / bacula-web / templates / index.tpl
index 507ef4fd1b6247f3f907a3528d529525e7647b2e..b7387c5d5e1cd403c7ba16a6961027ee79c748cf 100644 (file)
 {include file=header.tpl}
 
 <div id="main_left">
-{include file=volumes.tpl}
+  <!-- General information -->
+  <div class="box">
+       <p class="title">Overall status</p>
+       <table>
+         <tr>
+           <td class="label">{t}Clients{/t}</td> <td class="info">{$clientes_totales}</td>
+         </tr>
+         <tr>
+               <td class="label">{t}Total bytes stored{/t}</td> <td class="info">{$stored_bytes}</td>
+         </tr>
+         <tr>
+               <td class="label">{t}Total files{/t}</td> <td class="info">{$files_totales} file(s)</td>
+         </tr>
+         <tr>
+               <td class="label">{t}Database size{/t}</td> <td class="info">{$database_size}</td>
+         </tr>
+       </table>
+  </div>
+
+  <!-- Pools and Volumes Status -->
+  <div class="box">
+       <p class="title">
+       Pools and volumes status
+       <a href="pools.php" title="Show pools and volumes report">View report</a>
+       </p>
+         <img src="{$graph_pools}" alt="" />
+  </div> <!-- end div box -->
+  
+  <div class="box">
+       <p class="title">Stored Bytes (GB / Last 7 days)</p>
+         <img src="{$graph_stored_bytes}" alt="" />
+  </div> <!-- end div box -->
+
+{* {include file=volumes.tpl}*}
+
 </div>
 
 <!-- To be removed -->
 <div id="main_right">
   <!-- Last job Status -->
   <div class="box">
-       <p class="title">Job Status Report (last 24 hours)</p>
-         <img src="{$graph_jobs}" alt="" />
-  </div> <!-- end div 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>
+                               <td class="info"> <a href="jobs.php" title="View last failed jobs">View</a> </td>
+                       </tr>
+                       <tr>
+                               <td class="label">Completed jobs</td> 
+                               <td class="info">{$completed_jobs}</td>
+                               <td class="info"> <a href="jobs.php" title="View last completed jobs">View</a> </td>
+                       </tr> 
+                       <!--
+                       <tr>
+                               <td class="label">Elapsed time</td> 
+                               <td class="info">{$elapsed_jobs}</td>
+                               <td class="info"> <a href="#" title="View report">View</a> </td>
+                       </tr>
+                       -->
+                       <tr>
+                               <td class="label">Transferred Bytes</td> 
+                               <td class="info">{$bytes_totales}</td>
+                               <td class="info"> <a href="#" title="View report">View</a> </td>
+                       </tr> 
+               </table>
+
+  </div> <!-- end div box --> 
   
-  <!-- Pools and Volumes Status -->
   <div class="box">
-       <p class="title">Job Status Report (last 24 hours)</p>
-         <img src="{$graph_pools}" alt="" />
+       <p class="title">
+       Job Status Report
+       <a href="jobs.php" title="Show last 24 hours jobs status">View report</a>
+       </p>
+         <img src="{$graph_jobs}" alt="" />
   </div> <!-- end div box -->
-  <!-- General information -->
-  <div class="box">
-       <p class="title">General informations</p>
-       <table width="90%">
-         <tr>
-           <td class="label">{t}Clients{/t}</td> <td class="info">{$clientes_totales}</td>
-         </tr>
-         <tr>
-               <td class="label">{t}Total bytes stored{/t}:</td> <td class="info">{$bytes_stored}</td>
-         </tr>
-         <tr>
-               <td class="label">{t}Total files:{/t}</td> <td class="info">{$files_totales} file(s)</td>
-         </tr>
-         <tr>
-               <td class="label">{t}Database size{/t}:</td> <td class="info">{$database_size}</td>
-         </tr>
-       </table>
-  </div>
-       
+  
+
   {include file="$last_report"}        
 
 </div> <!-- end div main_right -->