]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Changed main layout apparence
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 6 Dec 2010 12:53:48 +0000 (13:53 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:31 +0000 (14:43 +0200)
gui/bacula-web/style/default.css
gui/bacula-web/templates/index.tpl
gui/bacula-web/templates/last_run_report.tpl

index c0b46ded8d28fb4d7e1a08252bee5a4364bea647..f7fc759badffa26a3199cec307ded1e4f26a6e29 100644 (file)
@@ -72,7 +72,7 @@ a:hover { color: #736F6E }
 #main_left {
  position: absolute; 
  left:10px; 
- width: 550px; 
+ width: 500px; 
  border:none; 
  margin-top: 1em; 
  background-color: #FFFFFF;
@@ -80,8 +80,8 @@ a:hover { color: #736F6E }
 
 #main_right {
  position: absolute; 
- left:570px; 
- width: 420px; 
+ left:520px; 
+ width: 500px; 
  border: none; 
  margin-top: 1em;
 }
@@ -135,10 +135,11 @@ a:hover { color: #736F6E }
 }
 .box table tr td.label
 {
- font-weight: bold;
+ /*font-weight: bold;*/
  width: 150px;
  text-align: left;
- padding-left: 3px;
+ padding-left: 15px;
+ padding: 3px;
 }
 .box table tr td.info
 {
index 507ef4fd1b6247f3f907a3528d529525e7647b2e..62ed02b226a79d5f28750f67fc553dc42bc1c9d0 100644 (file)
 {include file=header.tpl}
 
 <div id="main_left">
-{include file=volumes.tpl}
-</div>
-
-<!-- To be removed -->
-{if $server==""} 
-  <!-- <img class="report" 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 class="report" src="stats.php?server={$server}&amp;tipo_dato=3&amp;title={$server}&amp;modo_graph=bars" alt="" /> -->
-{/if} 
-
-<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 -->
-  
-  <!-- Pools and Volumes Status -->
-  <div class="box">
-       <p class="title">Job Status Report (last 24 hours)</p>
-         <img src="{$graph_pools}" alt="" />
-  </div> <!-- end div box -->
   <!-- General information -->
   <div class="box">
        <p class="title">General informations</p>
-       <table width="90%">
+       <table>
          <tr>
            <td class="label">{t}Clients{/t}</td> <td class="info">{$clientes_totales}</td>
          </tr>
          </tr>
        </table>
   </div>
-       
+
+  <!-- Pools and Volumes Status -->
+  <div class="box">
+       <p class="title">Pools and volumes status</p>
+         <img src="{$graph_pools}" alt="" />
+  </div> <!-- end div box -->
+
+  {include file=volumes.tpl}
+</div>
+
+<!-- To be removed -->
+{if $server==""} 
+  <!-- <img class="report" 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 class="report" src="stats.php?server={$server}&amp;tipo_dato=3&amp;title={$server}&amp;modo_graph=bars" alt="" /> -->
+{/if} 
+
+<div id="main_right">
+  <!-- Last job Status -->
+  <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> 
+               </table>
+
+  </div> <!-- end div box --> 
+  
+  <div class="box">
+       <p class="title">Job Status Report (last 24 hours)</p>
+         <img src="{$graph_jobs}" alt="" />
+  </div> <!-- end div box -->
+  
   {include file="$last_report"}        
 
 </div> <!-- end div main_right -->
index f7bd6b0b837a1cc0de7dcf098e6e16fdd428ba69..d6392b72b7cc913bde0cd7da6a828341cf052da1 100644 (file)
@@ -1,24 +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> 
-</table>
-
-</div> <!-- end div box --> 
 <!--
 {* {if $status != 0} *}
 <table>
          </tr>
         <tr> <td colspan="2">&nbsp;</td> </tr>
         <tr>
-          <td class="label">{t}Select a job:{/t}</td>
+          <td class="label"><b>{t}Select a job:{/t}</b></td>
           <td align=center>
             <input type=hidden name="default" value="1">                               
                   <select name=server>