silverstripe-cms/templates/Includes/AssetAdmin_Content.ss

38 lines
1.3 KiB
Scheme
Raw Normal View History

2015-09-17 05:10:07 +02:00
<div id="assetadmin-cms-content" class="cms-content center cms-tabset ss-uploadfield-dropzone $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
<% with $EditForm %>
<div class="cms-content-header north">
<div class="cms-content-header-info">
<% with $Controller %>
<% include CMSBreadcrumbs %>
<% end_with %>
</div>
<% if $Fields.hasTabset %>
<% with $Fields.fieldByName('Root') %>
<div class="cms-content-header-tabs">
2015-10-23 05:01:29 +02:00
<button id="filters-button" class="icon-button font-icon-search no-text" title="<% _t('CMSPagesController_Tools_ss.FILTER', 'Filter') %>"></button>
<div class="icon-button-group">
<ul class="cms-tabset-nav-primary ss-tabset">
<% loop $Tabs %>
2015-08-25 05:08:09 +02:00
<li<% if $extraClass %> class="$extraClass"<% end_if %>><a class="cms-panel-link icon-button <% if $Title == 'List View' %>font-icon-list<% else_if $Title == 'Tree View' %>font-icon-icon-tree<% else %>font-icon-pencil<% end_if %>" href="#$id" title="$Title"></a></li>
<% end_loop %>
</ul>
</div>
</div>
<% end_with %>
<% end_if %>
</div>
<div class="cms-content-fields center ui-widget-content cms-panel-padded" data-layout-type="border">
$Top.Tools
<div class="cms-content-view">
$forTemplate
</div>
</div>
<% end_with %>
</div>