]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Changed header.tpl design and links
authorDavide Franco <bacula-dev@dflc.ch>
Fri, 22 Oct 2010 16:26:44 +0000 (18:26 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Nov 2010 07:20:31 +0000 (08:20 +0100)
gui/bacula-web/style/default.css
gui/bacula-web/templates/header.tpl

index a50c5b2b7e94b9a4527555795515937f14b261ff..f29052cb857fe4fd0d49a6b12ccd34333f2d226d 100644 (file)
@@ -1,5 +1,47 @@
 body{
   background-color: #ffffff;
+  padding: 0px;
+  margin: 0px;
+  
+  font-family: Arial,Verdana;
+}
+
+#header{
+ width: 100%;
+ padding: 0px;
+ margin: 0px;
+ background-color: #1E90FF ;
+}
+#header p.title{
+ vertical-align: middle;
+ background-image: url('images/bg2.png');
+ font-size: 18pt;
+ font-variant: small-caps;
+ font-weight: bold;
+ text-align: right;
+ color: #FFFFFF;
+ padding: 0.5em;
+}
+#subheader {
+ width: 100%;
+ font-size: 10pt;
+ margin: 0px;
+ padding: 0px;
+ border-bottom: 1px solid black;
+}
+#subheader ul {
+ height: 20px;
+ margin: 0px;
+}
+
+#subheader li {
+ display: inline;
+ float: right;
+ padding: 0px 10px 0px 10px;
+}
+
+#subheader li a {
+ text-decoration: none;
 }
 
 a:link { color: #0000c0 }
@@ -101,4 +143,5 @@ td,input,select {
 }
 .size_small { 
  font-size: 9px; 
-}
\ No newline at end of file
+}
+
index 453fbde8087414e774ada3f2b703d82719366db6..d6f1c1180fc898649e2b6fdd7af8be6589cbd221 100644 (file)
@@ -1,9 +1,25 @@
 <!-- Header -->
-<table width=1000px cellpadding=0 cellspacing=0 border=0 bgcolor="#2F92AF">
+<div id="header">
+ <p class="title">bacula-web</p>
+</div>
+
+<div id="subheader">
+ <ul>
+       <li> 
+               <a href="index.php">Refresh</a>
+       </li>
+       <li>
+               <a href="http://bacula-web.dflc.ch/bugs" target="_blank">Bugs</a
+       <li>
+               <a href="http://bacula-web.dflc.ch" target="_blank">About</a>
+       </li>
+ </ul>
+</div>
+
+<!-- 
+<table width="100%" cellpadding=0 cellspacing=0 border=0 bgcolor="#2F92AF">
  <tr>
-       <td class="titulo2" background="images/bg2.png" valign="bottom">
-        bacula-web
-       </td>
+
        {if $dbs ne ""}
                <form method=post action=index.php>
                <td background="{#root#}/images/bg2.png" align="right" valign="top">
                {html_options values=$dbs output=$dbs selected=$dbs_now}
                </select>
                </td>
-               </form>
        {/if}
-       <td background="{#root#}/images/bg2.png" align=right width=7%>
-       <a href="{php $_SERVER['PHP_SELF'];}"><img src="{#root#}/images/refresh.gif" alt='Refresh'></a>
-       <a href="http://indpnday.com/bacula_stuff/bacula-web/mantisbt/login_page.php" target="_blank" {popup text="They grow thanks to Juan Luis Francés...Please, click here to report them"}>
-       Bugs?
-       </a>
-       </td>
-       <td background="images/end2.png">
-       <img src="images/empty.png">
-       </td>
- </tr>
-</table>
+    </tr>
+  </table>
+</form>
+-->
 <!-- End Header -->
\ No newline at end of file