From: Davide Franco Date: Mon, 31 Jan 2011 16:14:55 +0000 (+0100) Subject: bacula-web: Made some cleaning in css class (default.css) X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8ff24a4488b622856762eebadc614a214f009f52;p=bacula%2Fbacula bacula-web: Made some cleaning in css class (default.css) - Changed class for table header in index.tpl, jobs.tpl and pools.tpl - Removed useless css class declared in default.css --- diff --git a/gui/bacula-web/style/default.css b/gui/bacula-web/style/default.css index 16bdd3d1f7..e5a6220c0e 100644 --- a/gui/bacula-web/style/default.css +++ b/gui/bacula-web/style/default.css @@ -1,19 +1,18 @@ -body, td, input { +body{ background-color: #ffffff; - padding: 3px; + padding: 0px; margin: 0px; font-family: Arial,Verdana; font-size: 10pt; text-align: left; + vertical-align: middle; } -a:link, a:visited { +a:link, a:visited, a:hover, a:visited { color: #736F6E; font-size: 10pt; } -a:hover { color: #736F6E } - #nav { margin: 10px; @@ -109,7 +108,7 @@ a:hover { color: #736F6E } .box { border: 1px solid black; width: 100%; - margin: 10px 0px 0px 0px; + margin: 10px 0px 10px 0px; padding: 0px; text-align: center; } @@ -137,7 +136,7 @@ a:hover { color: #736F6E } .box table tr td { - padding: 5px; + padding: 2px; font-size: 8pt; height: 20px; } @@ -155,14 +154,13 @@ a:hover { color: #736F6E } .box table td.info { - text-align: center; - vertical-align: middle; - padding-right: 8em; + text-align: right; font-weight: bold; background-color: #E0E0E0; height: auto; - padding: 5px; - margin:0px; + padding: 2px; + padding-right: 10px; + margin: 0px; } .box table tr td.info a { font-size: 8pt;} @@ -183,17 +181,16 @@ table { color: black; } -td,input,select { - font-family: Verdana,Arial; - font-size: 7.5pt; - color: #000000; -} .back { background-color: #E6E6F5; } + .tbl_header { - background-color: #47A9E5; + background-color: #E0E0E0; + color: #000000; + font-weight: bold; } + .genmed { font-size : 11px; } diff --git a/gui/bacula-web/templates/index.tpl b/gui/bacula-web/templates/index.tpl index 5bc4b8bc63..94b26a3ac4 100644 --- a/gui/bacula-web/templates/index.tpl +++ b/gui/bacula-web/templates/index.tpl @@ -96,9 +96,9 @@

Last used volumes

- - - + + + {foreach from=$volume_list item=vol} diff --git a/gui/bacula-web/templates/jobs.tpl b/gui/bacula-web/templates/jobs.tpl index cdf00ee474..6830e95c5d 100644 --- a/gui/bacula-web/templates/jobs.tpl +++ b/gui/bacula-web/templates/jobs.tpl @@ -61,16 +61,16 @@
VolumeStatusJob IdVolumeStatusJob Id
- - - - - - - - - - + + + + + + + + + + {foreach from=$last_jobs item=job} diff --git a/gui/bacula-web/templates/pools.tpl b/gui/bacula-web/templates/pools.tpl index 8d9c15cab2..db836ea471 100644 --- a/gui/bacula-web/templates/pools.tpl +++ b/gui/bacula-web/templates/pools.tpl @@ -28,12 +28,12 @@

{$pool_name}

StatusJob IDBackupJobStart TimeEnd TimeElapsed timeLevelBytesFilesPoolStatusJob IDBackupJobStart TimeEnd TimeElapsed timeLevelBytesFilesPool
- - - - - - + + + + + +
Name{t}Bytes{/t}{t}Media Type{/t}{t}Expire{/t}{t}Last written{/t}{t}Status{/t}Name{t}Bytes{/t}{t}Media Type{/t}{t}Expire{/t}{t}Last written{/t}{t}Status{/t}