]> git.sur5r.net Git - bacula/bacula/commitdiff
bacula-web: Made some cleaning in css class (default.css)
authorDavide Franco <bacula-dev@dflc.ch>
Mon, 31 Jan 2011 16:14:55 +0000 (17:14 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:43:37 +0000 (14:43 +0200)
 - Changed class for table header in index.tpl, jobs.tpl and pools.tpl
 - Removed useless css class declared in default.css

gui/bacula-web/style/default.css
gui/bacula-web/templates/index.tpl
gui/bacula-web/templates/jobs.tpl
gui/bacula-web/templates/pools.tpl

index 16bdd3d1f75a5d1870f5365cf360774bd19e9d41..e5a6220c0e6d55825fa3aa099f079c03159cf31c 100644 (file)
@@ -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; 
 }
index 5bc4b8bc6351cd2e1f31c6f1fce30ef9835c38c0..94b26a3ac44cbcdc9205b73744fda2219333aaec 100644 (file)
@@ -96,9 +96,9 @@
        <p class="title">Last used volumes</p>
          <table>
                <tr>
-                 <td class="info">Volume</td>
-                 <td class="info">Status</td>
-                 <td class="info">Job Id</td>
+                 <td class="tbl_header">Volume</td>
+                 <td class="tbl_header">Status</td>
+                 <td class="tbl_header">Job Id</td>
                </tr>
                {foreach from=$volume_list item=vol}
                <tr>
index cdf00ee474f040089e78eaaf1a0823022a3746b9..6830e95c5d9f82420ff909f192bb8f7f57edab62 100644 (file)
        
        <table border="0">
          <tr>
-               <td class="info">Status</td>
-               <td class="info">Job ID</td>
-               <td class="info">BackupJob</td>
-               <td class="info">Start Time</td>
-               <td class="info">End Time</td>
-               <td class="info">Elapsed time</td>
-               <td class="info">Level</td>
-               <td class="info">Bytes</td>
-               <td class="info">Files</td>
-               <td class="info">Pool</td>
+               <td class="tbl_header">Status</td>
+               <td class="tbl_header">Job ID</td>
+               <td class="tbl_header">BackupJob</td>
+               <td class="tbl_header">Start Time</td>
+               <td class="tbl_header">End Time</td>
+               <td class="tbl_header">Elapsed time</td>
+               <td class="tbl_header">Level</td>
+               <td class="tbl_header">Bytes</td>
+               <td class="tbl_header">Files</td>
+               <td class="tbl_header">Pool</td>
          </tr>
        <!-- <div class="listbox"> -->
          {foreach from=$last_jobs item=job}
index 8d9c15cab2d1a441b88f23820fbd035455860adb..db836ea471a6a628d68e8d8076057d8f34a9ec95 100644 (file)
        <p class="title">{$pool_name}</p>
        <table class="list" border="0">
                <tr>
-                       <td class="info" width="120">Name</td>
-                       <td class="info" width="120">{t}Bytes{/t}</td>
-                       <td class="info" width="120">{t}Media Type{/t}</td>
-                       <td class="info" width="140">{t}Expire{/t}</td>
-                       <td class="info" width="140">{t}Last written{/t}</td>
-                       <td class="info">{t}Status{/t}</td>
+                       <td class="tbl_header" width="120">Name</td>
+                       <td class="tbl_header" width="120">{t}Bytes{/t}</td>
+                       <td class="tbl_header" width="120">{t}Media Type{/t}</td>
+                       <td class="tbl_header" width="140">{t}Expire{/t}</td>
+                       <td class="tbl_header" width="140">{t}Last written{/t}</td>
+                       <td class="tbl_header">{t}Status{/t}</td>
                </tr>
        </table>