mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
47 lines
1.3 KiB
Scheme
47 lines
1.3 KiB
Scheme
<div class="cms-content center $BaseCSSClasses" data-layout="{type: 'border'}">
|
|
|
|
<div class="cms-content-header north">
|
|
<div>
|
|
<h2><% _t('ModelAdmin.Title', 'My Model') %></h2>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cms-content-tools west cms-panel cms-panel-layout" data-expandOnClick="true" data-layout="{type: 'border'}">
|
|
<div class="cms-panel-content center">
|
|
<h3 class="cms-panel-header"><% _t('Filter', 'Filter') %></h3>
|
|
|
|
<div id="SearchForm_holder" class="leftbottom ss-tabset">
|
|
<% if SearchClassSelector = tabs %>
|
|
<ul>
|
|
<% control ModelForms %>
|
|
<li class="$FirstLast"><a id="tab-ModelAdmin_$Title.HTMLATT" href="#{$Form.Name}_$ClassName">$Title</a></li>
|
|
<% end_control %>
|
|
</ul>
|
|
<% end_if %>
|
|
|
|
<% if SearchClassSelector = dropdown %>
|
|
<div id="ModelClassSelector" class="ui-widget-container">
|
|
Search for:
|
|
<select>
|
|
<% control ModelForms %>
|
|
<option value="{$Form.Name}_$ClassName">$Title</option>
|
|
<% end_control %>
|
|
</select>
|
|
</div>
|
|
<% end_if %>
|
|
|
|
<% control ModelForms %>
|
|
<div class="tab" id="{$Form.Name}_$ClassName">
|
|
$Content
|
|
</div>
|
|
<% end_control %>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="cms-content-fields center ui-widget-content">
|
|
$EditForm
|
|
</div>
|
|
|
|
</div> |