]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/index.tpl
bacula-web: Link to backup job report page in jobs page
[bacula/bacula] / gui / bacula-web / templates / index.tpl
index ae0e06cdd851e22cb803ebe5210f9035de4d1252..d752c37fc7308c5da3ae078b851748460d997fae 100644 (file)
@@ -53,7 +53,7 @@
 
 </div>
 
-<div id="main_right">
+<div id="main_middle">
   <!-- Last job Status -->
   <div class="box">
        <p class="title">Last 24 hours status
          <img src="{$graph_jobs}" alt="" />
   </div> <!-- end div box -->
   
+  <div class="box">
+       <p class="title">Last used volumes</p>
+         <table>
+               <tr>
+                 <td class="tbl_header">Volume</td>
+                 <td class="tbl_header">Status</td>
+                 <td class="tbl_header">Last written</td>
+                 <td class="tbl_header">Job Id</td>
+               </tr>
+               {foreach from=$volume_list item=vol}
+               <tr>
+                 <td>{$vol.Volumename}</td>
+                 <td>{$vol.VolStatus}</td>
+                 <td>{$vol.Lastwritten}</td>
+                 <td>{$vol.JobId}</td>
+               </tr>
+               {/foreach}
+         </table>
+  </div> <!-- end div box -->
+  
+</div> <!-- end div main_middle -->
 
-  {include file="$last_report"}        
-
+<div id="main_right">
+  {include file="$last_report"}
 </div> <!-- end div main_right -->
 
 {include file="footer.tpl"}