openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 32237e7c14630c96afc2adfd2dc4290c5f345b2b
parent baebd05517aa2191eae638262b98b515d14b0b0c
Author: dankert <devnull@localhost>
Date:   Fri, 21 Jan 2011 22:24:15 +0100

Umstellung der Eingabemasken auf tabellenloses Layout...

Diffstat:
themes/default/css/base.css | 8++++++--
themes/default/css/default.css | 12+++++++++---
themes/default/templates/folder/edit.tpl.src.php | 9+++------
themes/default/templates/folder/prop.tpl.src.php | 56+++++++++++++++++++++-----------------------------------
themes/default/templates/folder/select.tpl.src.php | 17+++++++----------
themes/default/templates/login/login.tpl.src.php | 33++++++++++++++-------------------
themes/default/templates/object/aclform.tpl.src.php | 76+++++++++++++++++++++++++++++-----------------------------------------------
themes/default/templates/object/rights.tpl.src.php | 1+
themes/default/templates/profile/edit.tpl.src.php | 72++++++++++++++++++++++++++++++++++--------------------------------------
themes/default/templates/profile/settings.tpl.src.php | 16++--------------
themes/default/templates/start/projectmenu.tpl.src.php | 47++++++++++++++++++++++-------------------------
11 files changed, 148 insertions(+), 199 deletions(-)

diff --git a/themes/default/css/base.css b/themes/default/css/base.css @@ -746,4 +746,9 @@ textarea.editor { width:100%; height:400px; -}- \ No newline at end of file +} + +label +{ + cursor: pointer; +} diff --git a/themes/default/css/default.css b/themes/default/css/default.css @@ -1,21 +1,27 @@ +fieldset div +{ + clear:left; +} + + label { width:30%; float:left; } -input[type='checkbox'] +xinput[type='checkbox'] { float:left; } -input[type='checkbox'] + label +xinput[type='checkbox'] + label { width:80%; float:left; } -label + input +xlabel + input { margin-left:0%; } diff --git a/themes/default/templates/folder/edit.tpl.src.php b/themes/default/templates/folder/edit.tpl.src.php @@ -44,12 +44,9 @@ page row cell colspan:2 fieldset title:message:options - row - cell colspan:2 - checkbox name:commit - label for:commit - text raw:_ - text key:FOLDER_SELECT_DELETE_COMMIT + checkbox name:commit + label for:commit + text key:FOLDER_SELECT_DELETE_COMMIT row cell class:act colspan:2 diff --git a/themes/default/templates/folder/prop.tpl.src.php b/themes/default/templates/folder/prop.tpl.src.php @@ -21,44 +21,30 @@ page row cell colspan:2 fieldset title:message:additional_info - if false:mode:edit - row - cell - text key:FULL_FILENAME - cell colspan:2 class:filename - text var:full_filename - row - cell - text key:id - cell - text var:objectid + if false:mode:edit + label for:full_filename + text key:FULL_FILENAME + text var:full_filename + newline + label for:objectid + text key:id + text var:objectid row cell colspan:3 fieldset title:message:PROP_USERINFO - row - cell - text text:global_created - cell - table - row - cell - image icon:el_date - date date:var:create_date - cell - image icon:user - user user:var:create_user - row - cell - text text:global_lastchange - cell - table - row - cell - image icon:el_date - date date:var:lastchange_date - cell - image icon:user - user user:var:lastchange_user + part class:label + text text:global_created + image icon:el_date + date date:var:create_date + image icon:user + user user:var:create_user + + newline + part class:label + image icon:el_date + date date:var:lastchange_date + image icon:user + user user:var:lastchange_user row diff --git a/themes/default/templates/folder/select.tpl.src.php b/themes/default/templates/folder/select.tpl.src.php @@ -39,16 +39,13 @@ page row cell colspan:2 fieldset title:message:options - row - cell colspan:2 - - set var:type value:var:defaulttype - list list:actionlist value:actiontype - radio name:type value:var:actiontype - label for:type value:var:actiontype - text raw:_ - text key:var:actiontype prefix:FOLDER_SELECT_ - newline + set var:type value:var:defaulttype + list list:actionlist value:actiontype + radio name:type value:var:actiontype + label for:type value:var:actiontype + text raw:_ + text key:var:actiontype prefix:FOLDER_SELECT_ + newline row cell class:act colspan:2 button type:ok text:button_next diff --git a/themes/default/templates/login/login.tpl.src.php b/themes/default/templates/login/login.tpl.src.php @@ -79,27 +79,22 @@ page row cell colspan:2 fieldset title:message:OPENID - row - cell - if not:true empty:config:security/openid/logo_url - image url:config:security/openid/logo_url - text key:openid_user - cell - radiobox name:openid_provider list:openid_providers - if true:var:openid_user_identity - radio name:openid_provider value:identity - input name:openid_url class:name size:20 + if not:true empty:config:security/openid/logo_url + image url:config:security/openid/logo_url + text key:openid_user + radiobox name:openid_provider list:openid_providers + if true:var:openid_user_identity + radio name:openid_provider value:identity + input name:openid_url class:name size:20 if value:size:dbids greaterthan:1 row - row - cell colspan:2 - fieldset title:message:DATABASE icon:database - cell - text key:DATABASE - cell - selectbox name:dbid list:dbids default:var:actdbid - hidden name:screenwidth default:9999 - #script + cell colspan:2 + fieldset title:message:DATABASE icon:database + label for:dbid + text key:DATABASE + selectbox name:dbid list:dbids default:var:actdbid + hidden name:screenwidth default:9999 + #script row cell colspan:2 class:act button type:ok diff --git a/themes/default/templates/object/aclform.tpl.src.php b/themes/default/templates/object/aclform.tpl.src.php @@ -8,61 +8,43 @@ page cell colspan:3 fieldset title:message:users - row - cell width:10px - radio name:type value:all - cell - label for:type value:all - text text:GLOBAL_ALL - cell - text raw:_ - row - cell width:10px - radio name:type value:user - cell - label for:type value:user - text text:GLOBAL_USER - cell - selectbox name:userid list:users addempty:true - if present:groups - row - cell width:10px - radio name:type value:group - cell - label for:type value:group - text text:GLOBAL_GROUP - cell - selectbox name:groupid list:groups addempty:true + part + radio name:type value:all + label for:type value:all + text text:GLOBAL_ALL + part + radio name:type value:user + label for:type value:user + text text:GLOBAL_USER + selectbox name:userid list:users addempty:true + part + if present:groups + radio name:type value:group + label for:type value:group + text text:GLOBAL_GROUP + selectbox name:groupid list:groups addempty:true row cell colspan:3 fieldset title:message:language - row - cell width:10px - text raw:_ - cell - label for:languageid - text text:GLOBAL_LANGUAGE - cell - selectbox name:languageid list:languages - + label for:languageid + text text:GLOBAL_LANGUAGE + selectbox name:languageid list:languages row cell colspan:3 fieldset title:message:acl - list list:show value:t key:k - row - cell width:10px - if value:var:t equals:read - set var:var:t value:true - checkbox name:var:t readonly:true - else - set var:var:t value:false - checkbox name:var:t readonly:false - cell colspan:2 - label for:var:t value: - text key:var:t prefix:acl_ + list list:show value:t key:k + part + if value:var:t equals:read + set var:var:t value:true + checkbox name:var:t readonly:true + else + set var:var:t value:false + checkbox name:var:t readonly:false + label for:var:t value: + text key:var:t prefix:acl_ row - cell colspan:3 class:act + cell colspan:2 class:act button type:ok diff --git a/themes/default/templates/object/rights.tpl.src.php b/themes/default/templates/object/rights.tpl.src.php @@ -62,4 +62,5 @@ page cell class:act colspan:15 button type:ok link class:action action:var:actionName subaction:aclform + image icon:add text key:add \ No newline at end of file diff --git a/themes/default/templates/profile/edit.tpl.src.php b/themes/default/templates/profile/edit.tpl.src.php @@ -2,47 +2,43 @@ page form method:post window icon:user name:user_profile row - cell - text text:user_username - cell class:name - text var:name class:name + cell colspan:2 + fieldset title:message:name + part + label for:name + text key:user_username + text var:name class:name - row - cell - text text:user_mail - cell - #link action:profile subaction:mail title:message:menu_mail_desc - text var:mail class:filename - if false:mode:edit - newline - link class:action action:profile subaction:mail - text key:edit + fieldset title:message:MENU_PROFILE_MAIL + part + label for:mail + text text:user_mail + #link action:profile subaction:mail title:message:menu_mail_desc + text var:mail class:filename + if false:mode:edit + newline + link class:action action:profile subaction:mail + text key:edit - row - cell colspan:2 - fieldset - row - cell - text text:user_fullname class:name - cell - input name:fullname size:40 maxlength:128 - - row - cell - text text:user_tel - cell - input name:tel size:40 maxlength:128 - row - cell - text text:user_desc - cell - input name:desc size:40 maxlength:128 + fieldset title:message:GLOBAL_PROP + part + label for:fullname + text text:user_fullname class:name + input name:fullname size:40 maxlength:128 + part + label for:tel + text text:user_tel + input name:tel size:40 maxlength:128 + + part + label for:desc + text text:user_desc + input name:desc size:40 maxlength:128 - row - cell - text text:user_style - cell - selectbox name:style list:allstyles default:config:interface/style/default + part + label for:style + text text:user_style + selectbox name:style list:allstyles default:config:interface/style/default row cell colspan:2 class:act diff --git a/themes/default/templates/profile/settings.tpl.src.php b/themes/default/templates/profile/settings.tpl.src.php @@ -3,32 +3,20 @@ page window row cell - newline fieldset title:message:settings checkbox name:always_edit - #cell label for:always_edit text key:setting_always_edit - - row - cell + newline checkbox name:ignore_ok_notices - #cell label for:ignore_ok_notices text key:setting_ignore_ok_notices - row - cell - newline fieldset title:message:timezone selectbox name:timezone_offset list:timezone_list addempty:true - newline - row - cell - newline + fieldset title:message:language selectbox name:language list:language_list addempty:true - newline row cell colspan:2 class:act diff --git a/themes/default/templates/start/projectmenu.tpl.src.php b/themes/default/templates/start/projectmenu.tpl.src.php @@ -1,5 +1,5 @@ page title:MENU_INDEX_PROJECTMENU - window title:GLOBAL_PROJECTS name:login width:600 icon:project + window title:GLOBAL_PROJECTS row cell class:logo colspan:2 @@ -7,29 +7,26 @@ page title:MENU_INDEX_PROJECTMENU list list:projects extract:true row - cell colspan:3 + cell colspan:2 fieldset title:var:name - row - cell - link url:var:url title:message:TREE_CHOOSE_PROJECT - set var:project value:project - image type:project - text var:name maxlength:30 - cell -// list list:models key:model_id value:model_name -// list list:languages key:language_id value:language_name -// link action:index subaction:project id:var:id var1:languageid value1:var:language_id var2:modelid value2:var:model_id -// text text:var:model_name -// text raw:_-_ -// text text:var:language_name -// newline - form action:index subaction:project id:var:id - table widths:150px,150px - row - cell - radiobox list:models name:modelid default:var:defaultmodelid - cell - radiobox list:languages name:languageid default:var:defaultlanguageid - cell - button type:ok text:message:start + link url:var:url title:message:TREE_CHOOSE_PROJECT + set var:project value:project + image type:project + text var:name maxlength:30 +// list list:models key:model_id value:model_name +// list list:languages key:language_id value:language_name +// link action:index subaction:project id:var:id var1:languageid value1:var:language_id var2:modelid value2:var:model_id +// text text:var:model_name +// text raw:_-_ +// text text:var:language_name +// newline + form action:index subaction:project id:var:id + table widths:150px,150px + row + cell + radiobox list:models name:modelid default:var:defaultmodelid + cell + radiobox list:languages name:languageid default:var:defaultlanguageid + cell + button type:ok text:message:start \ No newline at end of file