From: Davide Franco Date: Fri, 22 Oct 2010 16:10:30 +0000 (+0200) Subject: bacula-web: Changed css file location -> style/default.css X-Git-Tag: Release-5.2.1~1009 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c0f1e4ac1d1557c16b7b40a2689a756b04bede6f;p=bacula%2Fbacula bacula-web: Changed css file location -> style/default.css --- diff --git a/gui/bacula-web/index.php b/gui/bacula-web/index.php index 1e74863581..735957f29f 100644 --- a/gui/bacula-web/index.php +++ b/gui/bacula-web/index.php @@ -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 index 9d562d89f8..0000000000 --- a/gui/bacula-web/templates/css.tpl +++ /dev/null @@ -1,48 +0,0 @@ - \ No newline at end of file diff --git a/gui/bacula-web/templates/header.tpl b/gui/bacula-web/templates/header.tpl index 57c129e04c..76c5113f20 100644 --- a/gui/bacula-web/templates/header.tpl +++ b/gui/bacula-web/templates/header.tpl @@ -1,6 +1,8 @@ - - -{popup_init src="js/overlib.js"} + + + +{*{popup_init src="js/overlib.js"}*} {literal} {/literal} -{#title#} - - + +bacula-web + + + - {if $dbs ne ""} @@ -32,7 +36,7 @@ Bugs? - diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index f70d8d5a4d..62ebe74710 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -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} +
- {#title#} + + bacula-web
{include file=generaldata.tpl}
{include file=volumes.tpl}
diff --git a/gui/bacula-web/templates_c/blank b/gui/bacula-web/templates_c/blank deleted file mode 100644 index a5530c12d8..0000000000 --- a/gui/bacula-web/templates_c/blank +++ /dev/null @@ -1 +0,0 @@ -This file exists for cvs directory compatilibity.