silverstripe-cms/templates/Includes/CMSPagesController_Content.ss

47 lines
1.5 KiB
Scheme
Raw Normal View History

<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
2011-04-20 22:50:13 +02:00
<div class="cms-content-header north">
<div>
2012-02-14 16:01:07 +01:00
<h2>
<% include CMSSectionIcon %>
2012-02-14 16:01:07 +01:00
<% include CMSBreadcrumbs %>
</h2>
2011-04-20 22:50:13 +02:00
<div class="cms-content-header-tabs">
<ul>
<li class="content-treeview<% if ViewState == tree %> ui-tabs-selected<% end_if %>">
<a href="#cms-content-treeview" class="cms-panel-link" data-href="$LinkTreeView"><% _t('CMSPagesController.TreeView', 'Tree View') %></a>
</li>
<li class="content-listview<% if ViewState == list %> ui-tabs-selected<% end_if %>">
<a href="#cms-content-listview" class="cms-panel-link" data-href="$LinkListView"><% _t('CMSPagesController.ListView', 'List View') %></a>
</li>
<!--
<li class="content-galleryview">
<a href="#cms-content-galleryview"><% _t('CMSPagesController.GalleryView', 'Gallery View') %></a>
</li>
-->
</ul>
</div>
2011-04-20 22:50:13 +02:00
</div>
</div>
$Tools
2011-04-20 22:50:13 +02:00
2012-02-23 16:08:01 +01:00
<div class="cms-content-fields center ui-widget-content cms-panel-padded">
2011-04-20 22:50:13 +02:00
<div class="cms-content-view cms-panel-deferred" id="cms-content-treeview" data-url="$LinkTreeView">
<%-- Lazy-loaded via ajax --%>
2011-04-20 22:50:13 +02:00
</div>
<div class="cms-content-view cms-panel-deferred" id="cms-content-listview" data-url="$LinkListView">
<%-- Lazy-loaded via ajax --%>
2011-04-20 22:50:13 +02:00
</div>
<!--
2011-04-20 22:50:13 +02:00
<div id="cms-content-galleryview">
<i>Not implemented yet</i>
2011-04-20 22:50:13 +02:00
</div>
-->
2011-04-20 22:50:13 +02:00
</div>
</div>