Code

Updated styles
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jan 2010 10:13:16 +0000 (10:13 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jan 2010 10:13:16 +0000 (10:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15224 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/themes/default/style.css
gosa-core/include/class_sortableListing.inc
gosa-core/plugins/personal/generic/class_user.inc

index 613e9e06e78e171bb2a40864a87613846dfd8bed..4b6743e5c5f0b17a74d66c95dd737f27fb4d31a1 100644 (file)
@@ -1562,7 +1562,7 @@ div.errorMsgDialog {
        background-color:white;
        border:4px solid red;
        z-index:150;
-  display: none;
+        display: none;
        position:absolute;
 }
 
@@ -1571,7 +1571,7 @@ div.infoMsgDialog {
        background-color:white;
        border: 2px solid black;
        z-index:150;
-  display: none;
+        display: none;
        position:absolute;
 }
 
index 01d9b33df5566ef253de6aee30a8a1605e580419..73d698e6c72542cfc3263efac8ebb730bc56f7eb 100644 (file)
@@ -159,8 +159,8 @@ class sortableListing {
 
   public function render()
   {
-    $result= "<div class='sortableListContainer' id='scroll_".$this->id."' style='width: ".$this->width."; height: ".$this->height."'>\n";
-    $result.= "<table border='0' cellpadding='0' cellspacing='0' height='100%' width='100%' style='table-layout:fixed; position: relative;'".(!empty($this->cssclass)?" class='".$this->cssclass."'":"").">\n";
+    $result= "<div class='sortableListContainer' id='scroll_".$this->id."' style='height: ".$this->height."'>\n";
+    $result.= "<table border='0' cellpadding='0' cellspacing='0' height='100%' style='width: ".$this->width."';table-layout:fixed; position: relative;'".(!empty($this->cssclass)?" class='".$this->cssclass."'":"").">\n";
     $action_width= 0;
     if (strpos($this->acl, 'w') === false) {
       $edit_image= $this->editable?"<img class='center' src='images/lists/edit-grey.png' alt='"._("Edit")."'>":"";
@@ -183,7 +183,7 @@ class sortableListing {
 
       // Extend by another column if we've actions specified
       if ($action_width) {
-        $result.= "  <col width='$action_width'/>\n";
+        $result.= "  <col style='width:".$action_width."px'/>\n";
       }
       $result.= " </colgroup>\n";
     }
index a2b3b1db29d3e92947c8f5771b6e1544a47d4870..cf2d762d6b91cb20132f0c87a800aaf1515dd513 100644 (file)
@@ -246,7 +246,7 @@ class user extends plugin
     $this->gosaLoginRestrictionWidget= new sortableListing($this->gosaLoginRestriction);
     $this->gosaLoginRestrictionWidget->setDeleteable(true);
     $this->gosaLoginRestrictionWidget->setColspecs(array('*'));
-    $this->gosaLoginRestrictionWidget->setWidth("320px");
+    $this->gosaLoginRestrictionWidget->setWidth("100%");
     $this->gosaLoginRestrictionWidget->setHeight("70px");
  
     $this->orig_base = $this->base;