Code

Some setup changes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 Jan 2007 06:49:51 +0000 (06:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 31 Jan 2007 06:49:51 +0000 (06:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5668 594d385d-05f5-0310-b6e9-bd551577e9d8

html/themes/default/style.css
setup/class_setup.inc
setup/setup_frame.tpl

index 7b38f5cbb470e46ad86c32902f42f009b38431ef..ff6756c29ce97c9dad2766e31a1eef043ee0c248 100644 (file)
@@ -787,51 +787,111 @@ td.tbrhead {
 body.setup_body {
        background-image: none;
        background-color: #979797;
-       margin: 4px;
+       margin: 6px;
 }
 
 /* The setup complete setup dialog */
 div.setup_dialog {
-        background-color: #F0F0F0;
-       width:100%;
-       float: left;
-}
-
-/* Navigation col */
-div.setup_navigation {
        background-color: #F0F0F0;
-       width: 200px;
+       width:100%;
+       border-right: solid 2px #444444;
+       border-bottom: solid 2px #666666;
        float: left;
-       clear: left;
 }
 
 /* Header col */
 div.setup_header {
-       width:100%;
-       background-color: #559955;
-       border: solid 5px #77BB77;
-       height: 50px;
+        background-color: #D2F6C2;
+       font-size: 2.0em;
+       font-weight: bold;
+       padding:7px;
+}
+
+/*******
+<div.setup_header_and_content_container_1>
+ <div.setup_header_and_content_container_2>
+  <div.setup_plug_header>
+  </div>
+  <div.setup_content>  
+  </div>
+ </div>
+</div>
+********/
+
+/* Container 1 for content and header content */
+div.setup_header_and_content_container_1 {
+       clear: right
+}
+
+/* Container 2 for content and header content */
+div.setup_header_and_content_container_2 {
+       float: top; 
+       clear: top ;
+       padding:0px;
+       border-top: solid 1px #AAAAAA;
 }
 
-/* Step header col */
+/* Header col */
 div.setup_plug_header {
-       background-color: #F0F0F0;
+        background-color: #EEF6EE;
+       border-top: solid 1px #DDDDDD;
+       border-bottom: solid 1px #DDDDDD;
        height: 40px;
 }
 
-/* content col */
+/* Content col */
 div.setup_content {
        background-color: #F0F0F0;
+       border-top: solid 1px #AAAAAA;
+}
+
+
+
+/* Navigation col */
+div.setup_navigation {
+        background-color: #D2F6C2;
+       width: 200px;
+       float: left;
+       clear: left;
+       padding:0px 5px 5px 5px;
+       border-right: solid 1px #DDDDDD;
+}
+
+/* The navigation container */
+div.setup_navigation_border {
+        background-color: #EEFFEE;
+       padding: 5px;
+       float: left;
+       clear: left;
+       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: #CCF6CC ;
+        text-decoration:none;
+        width:100%;
+        margin-bottom: 7px;
+        border-right: solid 1px #BBBBBB;
+        border-bottom: solid 1px #CCCCCC;
+
 }
 
 /* The box used for each setup step */
 a.navigation_element, div.navigation_element {
        float: left;
        clear: left;
-       background: #F7F7F7 ;
+       background: #EEF6EE ;
        text-decoration:none;
        width:100%;
-       margin-bottom: 1px;
+       margin-bottom: 4px;
+       border-right: solid 1px #DDDDDD;
+       border-bottom: solid 1px #DDDDDD;
+       
 }
 
 /* The box used for each setup step */
@@ -839,27 +899,36 @@ a.navigation_element_active, div.navigation_element_active {
        float: left;
        clear: left;
        position: relative;
-       background: #F7F7F7 ;
+       background: #EEF6EE ;
        text-decoration:none;
        width:100%;
+       margin-bottom: 4px;
+       border-right: solid 1px #BBBBBB;
+       border-bottom: solid 1px #CCCCCC;
 }
 
 /* An enabled setup step will use this style in navigation*/
 div.navigation_title_active {
-       font-size: 2em;
+       font-size: 1.2em;
+       font-weight: bold;
        cursor: pointer;
+       padding: 3px;
 }
 
 /* Disabled setup steps */
 div.navigation_title_disabled {
-       font-size: 2em;
+       font-size: 1.2em;
+       font-weight: bold;
+       padding: 3px;
        color: #DDDDDD;
 }
 
 /* Disabled setup steps */
 div.navigation_title_inactive {
-       font-family: Arial;
-       font-size: 2em;
+       font-size: 1.2em;
+       font-weight: bold;
+       cursor: pointer;
+       padding: 3px;
 }
 
 /* The style for the info of an active setup */
index 7ff77bc6a4a5fa1f98dc689fcc4e6f1be033d88d..21b0374d06a7e3ec72bfd19470f154edfe3c4dbc 100644 (file)
@@ -98,11 +98,12 @@ class setup extends plugin
           $str .= "<a href='?step=".$key."' class='navigation_element_active'>";
           $str .= "<div class='navigation_title_active'>".$s_title."</div>";
           $str .= "<div class='navigation_info'>".$s_info."</div>";
+          $str .= "</a><br>\n";
         }else{
           $str .= "<a href='?step=".$key."' class='navigation_element'>";
           $str .= "<div class='navigation_title_inactive'>".$s_title."</div>";
+          $str .= "</a><br>\n";
         }
-        $str .= "</a><br>\n";
       }else{
         $str .= "<div class='navigation_element'>";
         $str .= "<div class='navigation_title_disabled'>".$s_title."</div>";
index 17850d3e863868d611dc62afb0215ad4e61e5d36..3c3275cfefeeb0b185ed496db311c0220ae50c21 100644 (file)
@@ -7,19 +7,24 @@
 
        <!-- Basic header  -->
        <div class='setup_header'>
-               GOsa Setup blabla
+               {t}GOsa - GOnicus System Administrator Setup{/t}
        </div>
 
        <!-- Navigation div   -->
-       <div class='setup_navigation'> 
-               {$navigation}                   
+       <div class='setup_navigation'>
+               <div class='setup_navigation_border' >
+                       <div class='setup_navigation_title'>
+                               {t}Setup Steps{/t}
+                       </div>
+                       {$navigation}                   
+               </div>
        </div>
 
        <!-- Setup step div -->
-       <div  style='clear: right'>
+       <div  class='setup_header_and_content_container_1'>
 
                <!-- Div to skip horizontal scrolling -->       
-               <div style='float: top; clear: top ;padding:0px;width:100%' >
+               <div class='setup_header_and_content_container_2'> 
 
                        <!-- Step header -->    
                        <div class='setup_plug_header' >