From 3c85097c4acef6525b47d560435baa7f12d3e1ed Mon Sep 17 00:00:00 2001 From: Davide Franco Date: Fri, 22 Oct 2010 18:17:52 +0200 Subject: [PATCH] bacula-web: Fixed some html and css issue --- gui/bacula-web/style/default.css | 101 +++++++++++++++++------ gui/bacula-web/templates/generaldata.tpl | 2 +- gui/bacula-web/templates/index.tpl | 2 +- 3 files changed, 77 insertions(+), 28 deletions(-) diff --git a/gui/bacula-web/style/default.css b/gui/bacula-web/style/default.css index bcf5d91940..e5616fa0f0 100644 --- a/gui/bacula-web/style/default.css +++ b/gui/bacula-web/style/default.css @@ -6,47 +6,96 @@ 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; } -.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} +.back { + background-color: #E6E6F5; +} +.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 + 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 + 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; + 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 + 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; } -.notas { font-size : 13px; color: red;} -.header { font-size : 18px; } -.size_small { font-size: 9px; } \ No newline at end of file +.size_small { + font-size: 9px; +} \ No newline at end of file diff --git a/gui/bacula-web/templates/generaldata.tpl b/gui/bacula-web/templates/generaldata.tpl index b44775388a..1ed0d79453 100644 --- a/gui/bacula-web/templates/generaldata.tpl +++ b/gui/bacula-web/templates/generaldata.tpl @@ -4,7 +4,7 @@ - +
{t}Total clients:{/t} diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index 64a08341ab..2e918da06b 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -20,7 +20,7 @@ {config_load file=bacula.conf} - +
{include file=generaldata.tpl}
{include file=volumes.tpl}
{include file=generaldata.tpl}
{include file=volumes.tpl}
{if !#IndexReport#} {include file=last_run_report.tpl} -- 2.39.5