Code

Updated css und div framework.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Feb 2007 06:10:34 +0000 (06:10 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 7 Feb 2007 06:10:34 +0000 (06:10 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5699 594d385d-05f5-0310-b6e9-bd551577e9d8

html/setup.php
html/themes/default/style.css
plugins/admin/users/class_userManagement.inc
setup/setup_frame.tpl

index 882fce2459b0a9d789bec6af94bbbfa9ec41b980..37494eba1340ea5f168d802b73c7d22ef112bb47 100644 (file)
@@ -101,7 +101,7 @@ require_once("../setup/main.inc");
 print_red(NULL);
 
 $smarty->assign("date", date("l, dS F Y H:i:s O"));
-$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('headers.tpl'));
+$header= "<!-- headers.tpl-->".$smarty->fetch(get_template_path('setup_headers.tpl'));
 /* show web frontend */
 $smarty->assign("contents"  , $display);
 $smarty->assign("navigation", $_SESSION['setup']->get_navigation_html());
index b3e22780b4dadf3fc448f5efc466b86254b4aa41..e82fb7d8db9351e9782cbbe31c94190fb93b4751 100644 (file)
@@ -787,13 +787,13 @@ td.tbrhead {
 body.setup_body {
        background-image: none;
        background-color: #979797;
-       margin: 6px;
+       margin: 10px;
+       min-width:1020px;
 }
 
 /* The setup complete setup dialog */
 div.setup_dialog {
        background-color: #F0F0F0;
-       width:100%;
        border-right: solid 2px #444444;
        border-bottom: solid 2px #666666;
 }
@@ -806,6 +806,22 @@ div.setup_header {
        padding:7px;
 }
 
+/* Setup content header container */
+div.setup_plug_header_container {
+}
+
+/* Setup content container */
+div.setup_contents_container { 
+       float:left; 
+}
+
+/* Setup footer */
+div.setup_bottom {
+       clear: left;
+       background-color:#DDDDDD;       
+       border-top: solid 1px #D0D0D0; 
+}
+
 /*******
 <div.setup_header_and_content_container_1>
  <div.setup_header_and_content_container_2>
@@ -817,28 +833,18 @@ div.setup_header {
 </div>
 ********/
 
-/* Container 1 for content and header content */
-div.setup_header_and_content_container_1 {
-       border-left: solid 1px #AAAAAA;
-}
-
-/* Container 2 for content and header content */
-div.setup_header_and_content_container_2 {
-       padding:0px;
-       border-top: solid 1px #AAAAAA;
-}
-
 /* Header col */
 div.setup_plug_header {
-       border-top: solid 1px #DDDDDD;
-       border-bottom: solid 1px #DDDDDD;
        margin: 1px;
        padding: 5px;
+       border-top: solid 2px #D0D0D0;
+       border-bottom: solid 2px #D0D0D0;
+       margin-left:202px;
+       background-color:#E3E3E3
 }
 
 /* Content col */
-div.setup_content {
-       border-top: solid 1px #AAAAAA;
+div.setup_contents {
        padding: 5px;
 }
 
@@ -850,27 +856,25 @@ div.default {
 
 /* Navigation col */
 div.setup_navigation {
-       border-right: solid 1px #DDDDDD;
-       width:180px;
+       width:200px;
+       clear:bottom;
+       background-color:#E8E8E8;
+       border-right: solid 1px #D0D0D0; 
+       float:left ; 
+       padding-left: 2px;;
+       padding-right: 2px;;
+       height:90%;
 }
 
-/* The navigation container */
-div.setup_navigation_border {
-    background-color: #FFF;
-       padding: 1px;
-       border-right: solid 1px #BBBBBB;
-       border-bottom: solid 1px #BBBBBB;
-       border-left: solid 1px #DDDDDD;
-       border-top: solid 1px #DDDDDD;
-}
 
 /* Navigation title */
 div.setup_navigation_title {
        font-size: 1.7em;
-       background: #D2F6C2 ;
+       background: #D8D8D8 ;
        text-decoration:none;
        width:100%;
-       margin-bottom: 7px;
+       padding-top:8px;
+       padding-bottom:8px;
        border-right: solid 1px #AAAAAA;
        border-bottom: solid 1px #BBBBBB;
 }
@@ -879,20 +883,18 @@ div.setup_navigation_title {
 a.navigation_element, div.navigation_element {
        background: #E8E8E8;
        text-decoration:none;
-       width:100%;
-       float: left;
-       margin-bottom: 4px;
        border-right: solid 1px #AAAAAA;
        border-bottom: solid 1px #BBBBBB;
+       float:left;
+       width:100%;
 }
 
 /* The box used for each setup step */
 a.navigation_element_active, div.navigation_element_active {
        background: #E8E8E8;
        text-decoration:none;
+       float:left;
        width:100%;
-       float: left;
-       margin-bottom: 4px;
        border-right: solid 1px #AAAAAA;
        border-bottom: solid 1px #BBBBBB;
 }
index 1153026436463c0a065032114b9abc51bf1614a6..4e7337c8f028b75f5c370ac2a421c976cf61e38c 100644 (file)
@@ -836,7 +836,8 @@ class userManagement extends plugin
         $dn= $this->list[trim($s_entry)]['dn'];
 
         /* Check acl */
-        $acl_all  = $ui->has_complete_category_acls($this->selectedBase,"users") ;
+        $ui = get_userinfo();
+        $acl_all  = $ui->has_complete_category_acls($this->DivListUsers->selectedBase,"users") ;
         if(preg_match("/(c.*w|w.*c)/",$acl_all)){
           $obj    = new usertabs($this->config, $this->config->data['TABS']['USERTABS'], $dn);
           $obj->set_acl_base($dn);
@@ -856,7 +857,7 @@ class userManagement extends plugin
         $dn= $this->list[trim($s_entry)]['dn'];
 
         /* Check acl */
-        $acl_all  = $ui->has_complete_category_acls($this->selectedBase,"users") ;
+        $acl_all  = $ui->has_complete_category_acls($this->DivListUsers->selectedBase,"users") ;
         if(preg_match("/(c.*w|w.*c)/",$acl_all)){
           $obj= new usertabs($this->config, $this->config->data['TABS']['USERTABS'], $dn);
           $obj->set_acl_base($dn);
index 747c641d4f4ca25652cfb531b8b07983f7856ff5..d03c9baa38f61f119f0c9eb465054eeec5d7e0b0 100644 (file)
@@ -1,29 +1,34 @@
-<body class='setup_body'>
+<body class='setup_body' >
 {$php_errors}
 <form action='setup.php' name='mainform' method='post' enctype='multipart/form-data'>
-
-<!-- All over div -->
-<div class='setup_dialog' style='float:left' >
-
-       <!-- Basic header -->
-       <div class='setup_header' style='float:bottom'>
+<div class='setup_dialog'>
+       <div class='setup_header'>
                {t}GOsa - GOnicus System Administrator Setup{/t}
        </div>
+       <div style="width:100%; ">
 
-       <!-- Navigation div -->
-       <div class='setup_navigation' style='float:left;'>
-               <div class='setup_navigation_title'>
-                       {t}Setup Steps{/t}
+               <div class='setup_navigation'>
+                       <div class='setup_navigation_title'>    
+                               {t}Setup steps{/t}
+                       </div>
+                       {$navigation}           
                </div>
-       {$navigation}                   
-       </div>
-       <div  class='setup_plug_header'>
-               {$header}
-       </div>
 
-       <!-- Step content -->
-       <div class='setup_content' >
-               {$contents}
+               <div class="setup_plug_header_container">
+                       <div class='setup_plug_header'>
+                               {$header}
+                       </div>
+
+               </div>
+               <div class="setup_contents_container">
+                       <div class='setup_contents'>
+                               {$contents}
+                       </div>
+               </div>
+
+               <div class='setup_bottom'>
+                       Bottom  
+               </div>
        </div>
 </div>
 </form>