silverstripe-framework/admin/templates/Includes/ModelAdmin_Content.ss
2015-07-22 14:17:03 +01:00

39 lines
1.2 KiB
Scheme

<div class="cms-content cms-tabset center $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
<div class="cms-content-header north">
<div class="cms-content-header-info">
<div class="breadcrumbs-wrapper">
<h2 id="page-title-heading">
<span class="cms-panel-link crumb last">
<% if $SectionTitle %>
$SectionTitle
<% else %>
<%t ModelAdmin.Title 'Data Models' %>
<% end_if %>
</span>
</h2>
</div>
</div>
<div class="cms-content-header-tabs cms-tabset-nav-primary ss-ui-tabs-nav">
<button id="filters-button" class="icon-button font-icon-search" title="<%t CMSPagesController_Tools_ss.FILTER 'Filter' %>"></button>
<ul class="cms-tabset-nav-primary">
<% loop $ManagedModelTabs %>
<li class="tab-$ClassName $LinkOrCurrent<% if $LinkOrCurrent == 'current' %> ui-tabs-active<% end_if %>">
<a href="$Link" class="cms-panel-link" title="Form_EditForm">$Title</a>
</li>
<% end_loop %>
</ul>
</div>
</div>
<div class="cms-content-fields center ui-widget-content cms-panel-padded" data-layout-type="border">
$Tools
<div class="cms-content-view">
$EditForm
</div>
</div>
</div>