mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
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:
parent
22dddb5bf7
commit
11d80d4699
@ -8,7 +8,7 @@ div.FieldEditor {
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
div.FieldEditor ul.Menu {
|
||||
div.FieldEditor div.MenuHolder {
|
||||
margin: 0;
|
||||
padding: 3px;
|
||||
background-color: #eee;
|
||||
@ -39,20 +39,23 @@ div.FieldEditor ul.Menu {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
div.FieldEditor div.FieldListHolder {
|
||||
height: 75%;
|
||||
}
|
||||
div.FieldEditor div.FieldList {
|
||||
background-color: white;
|
||||
border-bottom: 1px solid #CCCCCC;
|
||||
border-top: 1px solid #CCCCCC;
|
||||
height: 75%;
|
||||
/*overflow-y: scroll;*/
|
||||
height: 100%;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
div.FieldEditor div.FormOptions {
|
||||
/*div.FieldEditor div.FormOptions {
|
||||
background-color: #EEEEEE;
|
||||
position: relative;
|
||||
float: left;
|
||||
width:100%;
|
||||
}
|
||||
}*/
|
||||
|
||||
div.FieldEditor div.FormOptions div.field {
|
||||
position: relative;
|
||||
|
@ -1,29 +1,35 @@
|
||||
<div class="FieldEditor <% if isReadonly %>readonly<% end_if %>" id="Fields" name="$Name.Attr">
|
||||
<ul class="TopMenu Menu">
|
||||
<li><% _t('ADD', 'Add') %>:</li>
|
||||
<div class="MenuHolder">
|
||||
<ul class="TopMenu Menu">
|
||||
<li><% _t('ADD', 'Add') %>:</li>
|
||||
|
||||
<% control CreatableFields %>
|
||||
<li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li>
|
||||
<% end_control %>
|
||||
</ul>
|
||||
<div class="FieldList" id="Fields_fields">
|
||||
<% control Fields %>
|
||||
<% if isReadonly %>
|
||||
$ReadonlyEditSegment
|
||||
<% else %>
|
||||
$EditSegment
|
||||
<% end_if %>
|
||||
<% end_control %>
|
||||
<% control CreatableFields %>
|
||||
<li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li>
|
||||
<% end_control %>
|
||||
</ul>
|
||||
</div>
|
||||
<ul class="BottomMenu Menu">
|
||||
<li><% _t('ADD', 'Add') %>:</li>
|
||||
<% control CreatableFields %>
|
||||
<li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li>
|
||||
<div class="FieldListHold">
|
||||
<div class="FieldList" id="Fields_fields">
|
||||
<% control Fields %>
|
||||
<% if isReadonly %>
|
||||
$ReadonlyEditSegment
|
||||
<% else %>
|
||||
$EditSegment
|
||||
<% end_if %>
|
||||
<% end_control %>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="MenuHolder">
|
||||
<ul class="BottomMenu Menu">
|
||||
<li><% _t('ADD', 'Add') %>:</li>
|
||||
<% control CreatableFields %>
|
||||
<li><a href="#" title="<% _t('ADD', 'Add') %> $Title" id="$ClassName">$Title</a></li>
|
||||
<% end_control %>
|
||||
</ul>
|
||||
<div class="FormOptions">
|
||||
<% control FormOptions %>
|
||||
$FieldHolder
|
||||
<% end_control %>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue
Block a user