From 36745070156ddd63206b32ce379991f9032ba7ae Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 30 Jan 2007 12:07:10 +0000 Subject: [PATCH] Some setup changes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5665 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/themes/default/style.css | 94 +++++++++++++++++++++++++++++++++++ setup/class_setup.inc | 24 ++++----- setup/setup_frame.tpl | 55 ++++++++++++-------- 3 files changed, 138 insertions(+), 35 deletions(-) diff --git a/html/themes/default/style.css b/html/themes/default/style.css index eeeb361b2..7b38f5cbb 100644 --- a/html/themes/default/style.css +++ b/html/themes/default/style.css @@ -777,3 +777,97 @@ td.tbhead { td.tbrhead { border-bottom:1px solid #B0B0B0; } + + +/********* + * Setup + *********/ + +/* The body style */ +body.setup_body { + background-image: none; + background-color: #979797; + margin: 4px; +} + +/* 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; + float: left; + clear: left; +} + +/* Header col */ +div.setup_header { + width:100%; + background-color: #559955; + border: solid 5px #77BB77; + height: 50px; +} + +/* Step header col */ +div.setup_plug_header { + background-color: #F0F0F0; + height: 40px; +} + +/* content col */ +div.setup_content { + background-color: #F0F0F0; +} + +/* The box used for each setup step */ +a.navigation_element, div.navigation_element { + float: left; + clear: left; + background: #F7F7F7 ; + text-decoration:none; + width:100%; + margin-bottom: 1px; +} + +/* The box used for each setup step */ +a.navigation_element_active, div.navigation_element_active { + float: left; + clear: left; + position: relative; + background: #F7F7F7 ; + text-decoration:none; + width:100%; +} + +/* An enabled setup step will use this style in navigation*/ +div.navigation_title_active { + font-size: 2em; + cursor: pointer; +} + +/* Disabled setup steps */ +div.navigation_title_disabled { + font-size: 2em; + color: #DDDDDD; +} + +/* Disabled setup steps */ +div.navigation_title_inactive { + font-family: Arial; + font-size: 2em; +} + +/* The style for the info of an active setup */ +div.navigation_info { + font-size: 1em; + color: black; + padding: 4px 4px 3px 10px; + margin: 0px; + cursor: pointer; +} + diff --git a/setup/class_setup.inc b/setup/class_setup.inc index 89949ecd2..7ff77bc6a 100644 --- a/setup/class_setup.inc +++ b/setup/class_setup.inc @@ -85,8 +85,7 @@ class setup extends plugin /* Create navigation menu */ function get_navigation_html() { - $str = ""; - + $str = ""; foreach($this->o_steps as $key => $step){ $s_title = $step -> get_title(); @@ -94,23 +93,22 @@ class setup extends plugin $b_active = $step -> is_active(); $b_enabled = $step -> is_enabled(); - $str .= ""; } - $str .="
"; if($b_enabled){ - $str .= ""; - $str .= "".$s_title.""; if($b_active){ - $str .= "
"; - $str .= " ".$s_info.""; - $str .= "
"; + $str .= "
"; + $str .= ""; + $str .= ""; + }else{ + $str .= ""; + $str .= ""; } - $str .= ""; + $str .= "
\n"; }else{ - $str .= "".$s_title.""; + $str .= ""; } - $str .= "

 

"; - $str .= "
"; return($str); } diff --git a/setup/setup_frame.tpl b/setup/setup_frame.tpl index 888a8bcbf..6269169e7 100644 --- a/setup/setup_frame.tpl +++ b/setup/setup_frame.tpl @@ -1,27 +1,38 @@ - - + {$php_errors}
- - - - - - - - - - - -
- GOsa Setup blabla -
- {$navigation} - - {$header} -
- {$contents} -
+ + +
+ + +
+ GOsa Setup blabla +
+ + +
+ {$navigation} +
+ + +
i + + +
+ + +
+ {$header} +
+ + +
+ {$contents} +
+
+
+
-- 2.30.2