From 6c0c5b85fa45607984e1a4d1ea12d65b9f51da53 Mon Sep 17 00:00:00 2001 From: katagia Date: Fri, 12 Sep 2003 16:50:55 +0000 Subject: [PATCH] Added some colors --- lam/style/500_layout.css | 55 +++++++++++++++++++++++++++++ lam/templates/account/groupedit.php | 48 ++++++++++++------------- lam/templates/account/hostedit.php | 28 +++++++-------- 3 files changed, 93 insertions(+), 38 deletions(-) diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index 01ca1664..d99ecadc 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -408,3 +408,58 @@ p.statusError { margin-right:35px; } +/** + * table style for groupedit.php + * + */ + +fieldset.groupedit-bright { + background-color:#d6e3ff; +} + +fieldset.groupedit-middle { + background-color:#C7E7C7; +} + +legend.groupedit-bright { + color:#7167bf; +} + +fieldset.groupedit-dark { + background-color:#7167bf; +} + +legend.groupedit-dark { + color:#000000; +} + +select.groupedit-bright { + background-color:#d6e3ff; +} + + +/** + * table style for hostedit.php + * + */ + +fieldset.hostedit-bright { + background-color:#ffe2dd; +} + +legend.hostedit-bright { + color:#7167bf; +} + +fieldset.hostedit-dark { + background-color:#ffc4ba; +} + +legend.hostedit-dark { + color:#000000; +} + +select.hostedit-bright { + background-color:#ffc4ba; +} + diff --git a/lam/templates/account/groupedit.php b/lam/templates/account/groupedit.php index 5050c99c..39682cae 100644 --- a/lam/templates/account/groupedit.php +++ b/lam/templates/account/groupedit.php @@ -241,7 +241,7 @@ echo "\n"; echo "
\n"; if (is_array($errors)) { - echo "\n"; + echo "
\n"; for ($i=0; $i"; } @@ -260,9 +260,9 @@ switch ($select_local) { // Select which part of page will be loaded ldapreload('user'); echo "\n"; echo "
\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "\n
"; @@ -270,11 +270,11 @@ switch ($select_local) { // Select which part of page will be loaded echo "value=\""; echo _('Quota'); echo "\">\n
"; echo "
"; - echo "
". _('Additional group members') . "\n"; + echo "
". _('Additional group members') . "\n"; echo "\n"; - echo "\n"; @@ -282,9 +282,9 @@ switch ($select_local) { // Select which part of page will be loaded echo " "; echo "\">

"; echo ""._('Help-XX')."\n"; - echo "
"; + echo "
"; echo _('Group members'); - echo "\n"; for ($i=0; $iunix_memberUid); $i++) if ($_SESSION['account']->unix_memberUid[$i]!='') echo " \n"; echo "
"; + echo "
"; echo _('Available users'); - echo "\n"; foreach ($_SESSION['userDN'] as $temp) if (is_array($temp)) { echo " \n"; @@ -299,9 +299,9 @@ switch ($select_local) { // Select which part of page will be loaded // Show page info echo "\n"; echo "\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "\n
"; @@ -310,7 +310,7 @@ switch ($select_local) { // Select which part of page will be loaded echo "
"; echo "\n\n
"; - echo "
"; + echo "
"; echo _("General properties"); echo "\n\n\n
"; echo _("Groupname")."*"; @@ -339,9 +339,9 @@ switch ($select_local) { // Select which part of page will be loaded echo _('Values with * are required'); echo "\n
"; if (count($profilelist)!=0) { - echo "
"; + echo "
"; echo _("Load profile"); - echo "\n\n\n
"; + echo "\n\n\n
"; echo "\n". @@ -356,9 +356,9 @@ switch ($select_local) { // Select which part of page will be loaded if ($_SESSION['config']->samba3 == 'yes') $samba3domains = $_SESSION['ldap']->search_domains($_SESSION[config]->get_domainSuffix()); echo "\n"; echo "\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "\n
"; @@ -366,7 +366,7 @@ switch ($select_local) { // Select which part of page will be loaded echo "value=\""; echo _('Quota'); echo "\">\n
"; echo "
"; - echo "
"._('Samba properties')."\n"; + echo "
"._('Samba properties')."\n"; echo "\n
"; echo _('Windows groupname'); echo "\n"; echo "\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "\n
"; @@ -438,7 +438,7 @@ switch ($select_local) { // Select which part of page will be loaded echo "
"; echo ''; - echo "
"._('Quota properties')."\n"; + echo "
"._('Quota properties')."\n"; echo "'."\n".''."\n".''."\n".''."\n".'
"; echo _('Mountpoint'); echo ''; echo _('Used blocks'); echo ''; echo _('Soft block limit'); echo ''; echo _('Hard block limit'); echo ''; echo _('Grace block period'); @@ -469,9 +469,9 @@ switch ($select_local) { // Select which part of page will be loaded echo ''; echo "\n"; echo "\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "\n
"; @@ -480,7 +480,7 @@ switch ($select_local) { // Select which part of page will be loaded echo "
"; echo "\n\n\n
"; - echo "
"; + echo "
"; echo _("Save profile"); echo "\n\n\n\n\n
"; echo ''; @@ -488,7 +488,7 @@ switch ($select_local) { // Select which part of page will be loaded echo _('Save profile'); echo '">'._('Help'); echo "
\n
\n
\n"; - echo "
"; + echo "
"; if ($_SESSION['account_old']) echo _('Modify'); else echo _('Create'); echo "\n"; @@ -534,7 +534,7 @@ switch ($select_local) { // Select which part of page will be loaded case 'finish': // Final Settings echo ''; - echo "
"._('Success')."\n"; + echo "
"._('Success')."\n"; echo "
"; echo '
'; echo _('Group').' '; diff --git a/lam/templates/account/hostedit.php b/lam/templates/account/hostedit.php index 03d07003..62c1b144 100644 --- a/lam/templates/account/hostedit.php +++ b/lam/templates/account/hostedit.php @@ -211,15 +211,15 @@ switch ($select_local) { // Select which part of page will be loaded // Show page info echo ''; echo "\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "
"; echo "\n\n
"; - echo "
"; + echo "
"; echo _("General properties"); echo "\n\n\n
"; echo _('Host name').'*'; @@ -262,9 +262,9 @@ switch ($select_local) { // Select which part of page will be loaded echo _('Values with * are required'); echo "\n
"; if (count($profilelist)!=0) { - echo "
"; + echo "
"; echo _("Load profile"); - echo "\n\n\n
"; + echo "\n\n\n
"; echo "\n". @@ -282,14 +282,14 @@ switch ($select_local) { // Select which part of page will be loaded if ($_SESSION['account']->smb_password_no) echo ''; echo ''; echo "\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "
"; - echo "
"._('Samba properties')."\n"; + echo "
"._('Samba properties')."\n"; echo "
"; echo _('Password'); echo ''; @@ -329,23 +329,23 @@ switch ($select_local) { // Select which part of page will be loaded // Final Settings echo ''; echo "\n\n
"; - echo "
"; + echo "
"; echo _('Please select page:'); - echo "\n"; + echo "\n"; echo "\n
"; echo "\n
"; echo "
"; echo "\n\n
"; - echo "
"; + echo "
"; echo _("Save profile"); - echo "\n\n\n\n
"; + echo "\n\n\n\n\n
"; echo ''; echo ''._('Help'); echo "
\n\n
\n"; - echo "
"; + echo "
"; if ($_SESSION['account_old']) echo _('Modify'); else echo _('Create'); echo "\n"; @@ -394,7 +394,7 @@ switch ($select_local) { // Select which part of page will be loaded case 'finish': // Final Settings echo ''; - echo "
"._('Success')."\n"; + echo "
"._('Success')."\n"; echo "
"; echo '
'; echo _('Host');