BUGFIX: user defined form style broken in back-end. The BottomMenu and FormOption section is overlay with the FieldList section. (a ticket 1425 in Help desk)

This commit is contained in:
Normann Lou 2009-03-26 01:28:57 +00:00
parent 22dddb5bf7
commit 11d80d4699
2 changed files with 33 additions and 24 deletions

View File

@ -8,7 +8,7 @@ div.FieldEditor {
padding: 0px; padding: 0px;
} }
div.FieldEditor ul.Menu { div.FieldEditor div.MenuHolder {
margin: 0; margin: 0;
padding: 3px; padding: 3px;
background-color: #eee; background-color: #eee;
@ -39,20 +39,23 @@ div.FieldEditor ul.Menu {
background-color: transparent; background-color: transparent;
} }
div.FieldEditor div.FieldListHolder {
height: 75%;
}
div.FieldEditor div.FieldList { div.FieldEditor div.FieldList {
background-color: white; background-color: white;
border-bottom: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC;
border-top: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC;
height: 75%; height: 100%;
/*overflow-y: scroll;*/ overflow-y: scroll;
} }
div.FieldEditor div.FormOptions { /*div.FieldEditor div.FormOptions {
background-color: #EEEEEE; background-color: #EEEEEE;
position: relative; position: relative;
float: left; float: left;
width:100%; width:100%;
} }*/
div.FieldEditor div.FormOptions div.field { div.FieldEditor div.FormOptions div.field {
position: relative; position: relative;

View File

@ -1,4 +1,5 @@
<div class="FieldEditor <% if isReadonly %>readonly<% end_if %>" id="Fields" name="$Name.Attr"> <div class="FieldEditor <% if isReadonly %>readonly<% end_if %>" id="Fields" name="$Name.Attr">
<div class="MenuHolder">
<ul class="TopMenu Menu"> <ul class="TopMenu Menu">
<li><% _t('ADD', 'Add') %>:</li> <li><% _t('ADD', 'Add') %>:</li>
@ -6,6 +7,8 @@
<li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li> <li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li>
<% end_control %> <% end_control %>
</ul> </ul>
</div>
<div class="FieldListHold">
<div class="FieldList" id="Fields_fields"> <div class="FieldList" id="Fields_fields">
<% control Fields %> <% control Fields %>
<% if isReadonly %> <% if isReadonly %>
@ -15,6 +18,8 @@
<% end_if %> <% end_if %>
<% end_control %> <% end_control %>
</div> </div>
</div>
<div class="MenuHolder">
<ul class="BottomMenu Menu"> <ul class="BottomMenu Menu">
<li><% _t('ADD', 'Add') %>:</li> <li><% _t('ADD', 'Add') %>:</li>
<% control CreatableFields %> <% control CreatableFields %>
@ -27,3 +32,4 @@
<% end_control %> <% end_control %>
</div> </div>
</div> </div>
</div>