Code

Fixed sumary layout
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 May 2006 08:52:30 +0000 (08:52 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 18 May 2006 08:52:30 +0000 (08:52 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3416 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiSummaryTab.inc
plugins/admin/fai/faiSummary.tpl

index c018ea8f36246b47d54a9132ac494a70374391e6..0a8bcb925c251e0469be2b973c28fb2c9d615688 100644 (file)
@@ -289,15 +289,15 @@ class faiSummaryTab extends plugin{
             ksort($data['partitions']);
 
             $str .= "<tr><td colspan=2  style='padding-left:20px;'>";
-            $str .= "<table cellspacing=1 style='background:#FFFFFF;'>
-                      <tr style='background-color:#BBBBBB;'>
-                       <td>"._("No.")."</td>
-                       <td>"._("Name")."</td>
-                       <td>"._("FS options")."</td>
-                       <td>"._("Mount options")."</td>
-                       <td>"._("Size in MB")."</td>
-                       <td>"._("Mount point")."</td>
-                       <td>"._("Type")."</td>
+            $str .= "<table cellspacing=0 cellpadding=2 style='background:#FFFFFF;border:1px solid #B0B0B0'>
+                      <tr style='background-color:#DBDBDB;'>
+                       <td class='tbhead'>"._("No.")."</td>
+                       <td class='tbhead'>"._("Name")."</td>
+                       <td class='tbhead'>"._("FS options")."</td>
+                       <td class='tbhead'>"._("Mount options")."</td>
+                       <td class='tbhead'>"._("Size in MB")."</td>
+                       <td class='tbhead'>"._("Mount point")."</td>
+                       <td class='tbrhead'>"._("Type")."</td>
                       </tr>";
 
             $i = 0;
@@ -306,10 +306,10 @@ class faiSummaryTab extends plugin{
 
               if($i%2 == 1){
                 $c = " class='rowxp1'";
-                $d = " class='list1' style='border:0px;'";
+                $d = " class='list1'";
               }else{
                 $c = " class='rowxp0'";
-                $d = " class='list0' style='border:0px;'";
+                $d = " class='list0'";
               }
 
               $str.="<tr $c style='height:10px;'>
@@ -319,7 +319,7 @@ class faiSummaryTab extends plugin{
                       <td $d>".$part['FAIfsOptions'][0]."</td> 
                       <td $d>".$part['FAIpartitionSize'][0]."</td> 
                       <td $d>".$part['FAImountPoint'][0]."</td> 
-                      <td $d>".$part['FAIpartitionType'][0]."</td> 
+                      <td $d style='border:none'>".$part['FAIpartitionType'][0]."</td> 
                     </tr>";
             }
             $str .="</table>";
index 9a5cca2c19dc51948b522f004c1ab9a059862ea3..63d9cab084c10c86cbd47d8cc4dde429a33ddda8 100644 (file)
@@ -1,10 +1,10 @@
-<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;"  cellpadding=0 cellspacing=0 border=0 rules="cols">
+<table summary="" style="width:100%; vertical-align:top; text-align:left; border:1px solid #B0B0B0;"  cellpadding=0 cellspacing=0 border=0>
 
  <tr style="background-color: #E8E8E8; height:26px;font-weight:bold;">
   <td style="padding:5px;">{t}FAI object tree{/t}</td>
  </tr>
  <tr>
-       <td style="padding-left:5px;padding-top:5px;padding-bottom:12px;">
+       <td style="padding-left:5px;padding-top:5px;padding-bottom:12px;border-bottom:1px solid #B0B0B0">
                <input type="image" src="images/list_reload.png" name="reloadList" class="center">      
                {t}Reload class and release configuration from parent object.{/t}
        </td>