]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Changed css file location -> style/default.css
authorDavide Franco <bacula-dev@dflc.ch>
Fri, 22 Oct 2010 16:10:30 +0000 (18:10 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Tue, 2 Nov 2010 07:20:31 +0000 (08:20 +0100)
gui/bacula-web/index.php
gui/bacula-web/templates/css.tpl [deleted file]
gui/bacula-web/templates/header.tpl
gui/bacula-web/templates/index.tpl
gui/bacula-web/templates_c/blank [deleted file]

index 1e7486358132bc98c83b123f6c5cce356dc45ce8..735957f29f1db81add5330a573f30f9216f65a6a 100644 (file)
@@ -23,8 +23,10 @@ include "classes.inc";
 $smarty = new Smarty;                                                                                                                   // Template engine
 $dbSql = new Bweb();
 
-//$smarty->compile_check = true;
-//$smarty->debugging = true;
+$smarty->compile_check = true;
+$smarty->debugging = false;
+$smarty->force_compile = true;
+
 $smarty->template_dir = "./templates";
 $smarty->compile_dir = "./templates_c";
 $smarty->config_dir     = "./configs";
diff --git a/gui/bacula-web/templates/css.tpl b/gui/bacula-web/templates/css.tpl
deleted file mode 100644 (file)
index 9d562d8..0000000
+++ /dev/null
@@ -1,48 +0,0 @@
-<style>
-{literal}
-a:link { color: #0000c0 }
-a:visited { color: #0000c0 }
-a:hover { color: #6040ff }
-img {border: 0}
-td,input,select { font-family: Verdana,Arial; font-size: 7.5pt; color: #000000 }
-.back          { background-color: #E6E6F5; } {* Background color for main table *}
-.tbl_header    { background-color: #47A9E5; }
-.genmed        { font-size : 11px; }
-.tbl_medium    { border-bottom: black solid 1px;
-               border-left: black solid 1px;
-               border-right: black solid 1px;
-               border-top: black solid 1px;
-               background-color: #FDFFBF;
-               }
-.tbl_pool_inter_1 { background-color: #D4D4D9; border-style: solid; border-left-width: 1px; border-top-width: 1px; border-right-width: 0px;}
-.tbl_pool_inter_2 { background-color: #D4D4D9; border-style: solid; border-left-width: 0px; border-top-width: 1px; border-right-width: 0px;}
-.tbl_pool_inter_3 { background-color: #D4D4D9; border-style: solid; border-left-width: 0px; border-top-width: 1px; border-right-width: 1px}
-.titulo        { 
-       font-size : 20px; 
-       background-color: #FDFFBF; border: #D1D7DC; border-style: solid;
-       border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
-}
-.tbl_header1    {
-    font-size : 14px;
-    background-color: #FDFFBF; border: #D1D7DC; border-style: solid;
-    border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
-}
-.tbl_header2   {
-       font-size: 14px;
-       background-color: #FDFFBF;
-}
-.titulo2       { font-size : 13px; font-weight: bold; }
-.table1                { background-color: #D1D7DC; }
-.table2        { background-color: #A7D7D1; }
-.table3                { background-color: #D1D7DC; }
-.table4                { background-color: #A7D7D1; }
-.code {
-       font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #10738F;
-       background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
-       border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
-}
-.notas { font-size : 13px; color: red;}
-.header { font-size : 18px; }
-.size_small { font-size: 9px; }
-{/literal}
-</style>
\ No newline at end of file
index 57c129e04c6fc2998c73d6f2e47a8ddccd938426..76c5113f2056ac4fcfc73b21cd4d3e22d1354ec1 100644 (file)
@@ -1,6 +1,8 @@
-<HTML>
-<HEAD>
-{popup_init src="js/overlib.js"}
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
+  "http://www.w3.org/TR/html4/loose.dtd">
+<html lang="en">
+<head>
+{*{popup_init src="js/overlib.js"}*}
 {literal}
 <script language="Javascript">
        function OpenWin(URL,wid,hei) {
        }
 </script>
 {/literal}
-<TITLE>{#title#}</TITLE>
-</HEAD>
-<BODY bgcolor="#ffffff">
+<link rel="stylesheet" type="text/css" href="style/default.css" />
+<title>bacula-web</title>
+</head>
+<body>
+
 <table width=1000px cellpadding=0 cellspacing=0 border=0 bgcolor="#2F92AF">
  <tr>
-       <td class=titulo2 background="images/bg2.png" valign="bottom">
-        {#title#}
+       <td class="titulo2" background="images/bg2.png" valign="bottom">
+        bacula-web
        </td>
        {if $dbs ne ""}
                <form method=post action=index.php>
@@ -32,7 +36,7 @@
        Bugs?
        </a>
        </td>
-       <td background="images/end2.png>
+       <td background="images/end2.png">
        <img src="images/empty.png">
        </td>
  </tr>
index f70d8d5a4d04476d2065c6b5ae0d57ef201b1241..62ebe74710c1a064071b06d2da3cf48b754823e4 100644 (file)
@@ -1,11 +1,9 @@
 {* BACULA main page*}
 
-{config_load file=bacula.conf}
-
-{include file=css.tpl}
-
 {include file=header.tpl}
 
+{config_load file=bacula.conf}
+
 <table width=1000px border=0 cellspacing=5 class=back>
        <tr><td valign=top width=60%> {include file=generaldata.tpl} <br> {include file=volumes.tpl}</td>
                <td valign=top width=40% bgcolor=#DDDFF9 style="border-style: solid; border-color: grey">
diff --git a/gui/bacula-web/templates_c/blank b/gui/bacula-web/templates_c/blank
deleted file mode 100644 (file)
index a5530c1..0000000
+++ /dev/null
@@ -1 +0,0 @@
-This file exists for cvs directory compatilibity.