]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/bacula-web/templates/index.tpl
bacula-web: Removed generaldata template
[bacula/bacula] / gui / bacula-web / templates / index.tpl
index fc7983cb0215e75b04446905e460e077f6d6276d..9f70c4ab76c7500eb128defd76a302afd63a0d1f 100644 (file)
@@ -2,6 +2,8 @@
   "http://www.w3.org/TR/html4/loose.dtd">
 <html lang="en">
 <head>
+<title>bacula-web</title>
+<link rel="stylesheet" type="text/css" href="style/default.css">
 {literal}
 <script type="text/javascript">
        function OpenWin(URL,wid,hei) {
        }
 </script>
 {/literal}
-<link rel="stylesheet" type="text/css" href="style/default.css" />
-<title>bacula-web</title>
+
 </head>
 <body>
 {popup_init src='./js/overlib.js'}
 {include file=header.tpl}
 
 <div id="main_left">
-{include file=generaldata.tpl}
-<br /> 
 {include file=volumes.tpl}
 </div>
 
 <div id="main_right">
-       {include file="$last_report"}   
+  <!-- General information -->
+  <div class="box">
+       <p class="title">General informations</p>
+       <table>
+         <tr>
+           <td class="label">{t}Clients{/t}</td> <td>{$clientes_totales}</td>
+         </tr>
+         <tr>
+               <td class="label">{t}Total bytes stored{/t}:</td> <td>{$bytes_stored}</td>
+         </tr>
+         <tr>
+               <td class="label">{t}Total files:{/t}</td> <td>{$files_totales}</td>
+         </tr>
+         <tr>
+               <td class="label">{t}Database size{/t}:</td> <td>{$database_size}</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>
+       </table>
+  </div>
+       
+  {include file="$last_report"}        
   
-<!--  <table class=genmed cellspacing="1" cellpadding="3" border=0 align="center">
-               <tr>
-                 <td>
--->
-       <div class="box">
-               <p class="title">General report</p>
-               {if $server==""} 
-                 <img src="stats.php?server={$server}&amp;tipo_dato=69&amp;title=General%20report&amp;modo_graph=bars&amp;sizex=420&amp;sizey=250&amp;MBottom=20&amp;legend=1" alt="" />
-               {else}
-                 <img src="stats.php?server={$server}&amp;tipo_dato=3&amp;title={$server}&amp;modo_graph=bars" alt="" />
-               {/if}
-       </div> <!-- end div box -->
-<!--
-                       </td>
-               </tr>
-  </table>
--->
-</div>
+  <div class="box">
+       <p class="title">General report</p>
+       {if $server==""} 
+         <img src="stats.php?server={$server}&amp;tipo_dato=69&amp;title=General%20report&amp;modo_graph=bars&amp;sizex=420&amp;sizey=250&amp;MBottom=20&amp;legend=1" alt="" />
+       {else}
+         <img src="stats.php?server={$server}&amp;tipo_dato=3&amp;title={$server}&amp;modo_graph=bars" alt="" />
+       {/if}
+  </div> <!-- end div box -->
+
+</div> <!-- end div main_right -->
 
 {include file="footer.tpl"}
\ No newline at end of file