From: Davide Franco Date: Fri, 22 Oct 2010 16:19:25 +0000 (+0200) Subject: bacula-web: Fixed some html and css issue X-Git-Tag: Release-5.2.1~1005 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3ecdd772910ed56ac8e1f01bcd683ba0a97071da;p=bacula%2Fbacula bacula-web: Fixed some html and css issue --- diff --git a/gui/bacula-web/stats.php b/gui/bacula-web/stats.php index 51baaa5cf3..4ab1c2ab7c 100644 --- a/gui/bacula-web/stats.php +++ b/gui/bacula-web/stats.php @@ -58,6 +58,4 @@ else if (!isset($_GET['ylabel'])) $graph->BCreate ($_GET['server'],$_GET['tipo_dato'],$_GET['title'],$_GET['modo_graph'],$_GET['xlabel']); else $graph->BCreate ($_GET['server'],$_GET['tipo_dato'],$_GET['title'],$_GET['modo_graph'],$_GET['xlabel'],$_GET['ylabel']); - - ?> diff --git a/gui/bacula-web/style/default.css b/gui/bacula-web/style/default.css index e5616fa0f0..a50c5b2b7e 100644 --- a/gui/bacula-web/style/default.css +++ b/gui/bacula-web/style/default.css @@ -87,7 +87,10 @@ td,input,select { background-color: #FAFAFA; border: #D1D7DC; border-style: solid; - border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px + border-left-width: 1px; + border-top-width: 1px; + border-right-width: 1px; + border-bottom-width: 1px } .notas { font-size : 13px; diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index 2e918da06b..7ac3027b39 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -19,27 +19,32 @@ {config_load file=bacula.conf} - - -
{include file=generaldata.tpl}
{include file=volumes.tpl}
- {if !#IndexReport#} - {include file=last_run_report.tpl} + + + + +
+ {include file=generaldata.tpl} +
+ {include file=volumes.tpl} +
+ {if !#IndexReport#} + {include file=last_run_report.tpl} + {else} + {include file=report_select.tpl} + {/if} + + + - - + + +
+ {if $server==""} + {else} - {include file=report_select.tpl} + {/if} - - -
- {if $server==""} - - {else} - - {/if} -
-
+
- {include file="footer.tpl"} \ No newline at end of file diff --git a/gui/bacula-web/templates/last_run_report.tpl b/gui/bacula-web/templates/last_run_report.tpl index 350b537e6b..80096f3aa4 100644 --- a/gui/bacula-web/templates/last_run_report.tpl +++ b/gui/bacula-web/templates/last_run_report.tpl @@ -1,3 +1,5 @@ + + {else if #mode# == "Full" || $smarty.get.Full_popup == "yes"} @@ -192,4 +196,6 @@ {/if} -
@@ -122,10 +124,12 @@
- + +
- @@ -133,10 +137,9 @@ - - - +
- {t}Detailed report{/t} + + + Detailed report
{t}Select a job:{/t} - +
+
\ No newline at end of file +
+ + \ No newline at end of file diff --git a/gui/bacula-web/templates/volumes.tpl b/gui/bacula-web/templates/volumes.tpl index c99b02083f..2d1610cf69 100644 --- a/gui/bacula-web/templates/volumes.tpl +++ b/gui/bacula-web/templates/volumes.tpl @@ -1,4 +1,4 @@ -{* Design of table of pools *} + @@ -31,8 +31,16 @@ - - + +
Pools{$current3.0} {$current3.1|fsize_format|default:0} {$current3.4}{if $current3.6|date_format:"%Y" <= "1979"}--{else}{$current3.6|date_format:"%Y/%m/%d"}{/if}{if $current3.5 == "0000-00-00 00:00:00"}--{else}{$current3.5|date_format:"%Y/%m/%d"}{/if} + {if $current3.6|date_format:"%Y" <= "1979"}-- + {else}{$current3.6|date_format:"%Y/%m/%d"} + {/if} + + {if $current3.5 == "0000-00-00 00:00:00"}-- + {else}{$current3.5|date_format:"%Y/%m/%d"} + {/if} +
+