mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Merge pull request #1651 from open-sausages/pulls/4.0/split-pages-toolbar
Split top toolbar for Pages section
This commit is contained in:
commit
06c8402f03
@ -1,50 +1,37 @@
|
|||||||
<div id="pages-controller-cms-content" class="has-panel cms-content flexbox-area-grow fill-height cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content" data-ignore-tab-state="true">
|
<div id="pages-controller-cms-content" class="has-panel cms-content flexbox-area-grow fill-height $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content" data-ignore-tab-state="true">
|
||||||
|
<div class="fill-width flexbox-area-grow">
|
||||||
|
$Tools
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="fill-height flexbox-area-grow">
|
||||||
|
<div class="cms-content-header north">
|
||||||
|
<div class="cms-content-header-nav fill-width">
|
||||||
|
<% include SilverStripe\\Admin\\CMSBreadcrumbs %>
|
||||||
|
|
||||||
|
<div class="cms-content-header-tabs cms-tabset">
|
||||||
<div class="cms-content-header-nav">
|
<ul class="cms-tabset-nav-primary nav nav-tabs">
|
||||||
<% include SilverStripe\\Admin\\CMSBreadcrumbs %>
|
<li class="nav-item content-treeview<% if $class == 'SilverStripe\\CMS\\Controllers\\CMSPageEditController' %> ui-tabs-active<% end_if %>">
|
||||||
|
<a href="$LinkPageEdit" class="nav-link cms-panel-link" title="Form_EditForm" data-href="$LinkPageEdit">
|
||||||
<div class="cms-content-header-tabs">
|
<% _t('CMSMain.TabContent', 'Content') %>
|
||||||
<ul class="cms-tabset-nav-primary nav nav-tabs">
|
</a>
|
||||||
<li class="nav-item content-treeview<% if $class == 'SilverStripe\\CMS\\Controllers\\CMSPageEditController' %> ui-tabs-active<% end_if %>">
|
</li>
|
||||||
<a href="$LinkPageEdit" class="nav-link cms-panel-link" title="Form_EditForm" data-href="$LinkPageEdit">
|
<li class="nav-item content-listview<% if $class == 'SilverStripe\\CMS\\Controllers\\CMSPageSettingsController' %> ui-tabs-active<% end_if %>">
|
||||||
<% _t('CMSMain.TabContent', 'Content') %>
|
<a href="$LinkPageSettings" class="nav-link cms-panel-link" title="Form_EditForm" data-href="$LinkPageSettings">
|
||||||
</a>
|
<% _t('CMSMain.TabSettings', 'Settings') %>
|
||||||
</li>
|
</a>
|
||||||
<li class="nav-item content-listview<% if $class == 'SilverStripe\\CMS\\Controllers\\CMSPageSettingsController' %> ui-tabs-active<% end_if %>">
|
</li>
|
||||||
<a href="$LinkPageSettings" class="nav-link cms-panel-link" title="Form_EditForm" data-href="$LinkPageSettings">
|
<li class="nav-item content-listview<% if $class == 'SilverStripe\\CMS\\Controllers\\CMSPageHistoryController' %> ui-tabs-active<% end_if %>">
|
||||||
<% _t('CMSMain.TabSettings', 'Settings') %>
|
<a href="$LinkPageHistory" class="nav-link cms-panel-link" title="Form_EditForm" data-href="$LinkPageHistory">
|
||||||
</a>
|
<% _t('CMSMain.TabHistory', 'History') %>
|
||||||
</li>
|
</a>
|
||||||
<li class="nav-item content-listview<% if $class == 'SilverStripe\\CMS\\Controllers\\CMSPageHistoryController' %> ui-tabs-active<% end_if %>">
|
</li>
|
||||||
<a href="$LinkPageHistory" class="nav-link cms-panel-link" title="Form_EditForm" data-href="$LinkPageHistory">
|
</ul>
|
||||||
<% _t('CMSMain.TabHistory', 'History') %>
|
</div>
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="cms-content-header-info">
|
|
||||||
<div class="section-heading">
|
|
||||||
<% include SilverStripe\\Admin\\CMSSectionIcon %>
|
|
||||||
<span class="section-label"><a href="$LinkPages">{$MenuCurrentItem.Title}</a></span>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="view-controls">
|
|
||||||
<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">
|
|
||||||
<a href="$LinkPages#cms-content-treeview" class="icon-button font-icon-tree active" title="<% _t('CMSPagesController.TreeView', 'Tree View') %>"></a><a href="$LinkPages#cms-content-listview" class="icon-button font-icon-list" title="<% _t('CMSPagesController.ListView', 'List View') %>"></a>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="flexbox-area-grow fill-width">
|
||||||
|
$EditForm
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flexbox-area-grow fill-width">
|
|
||||||
$Tools
|
|
||||||
$EditForm
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,19 @@
|
|||||||
<div class="cms-content-tools fill-height cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSMain">
|
<div class="cms-content-tools fill-height cms-panel cms-panel-layout" data-expandOnClick="true" data-layout-type="border" id="cms-content-tools-CMSMain">
|
||||||
|
<div class="cms-content-header north">
|
||||||
|
<div class="cms-content-header-info">
|
||||||
|
<div class="section-heading">
|
||||||
|
<% include SilverStripe\\Admin\\CMSSectionIcon %>
|
||||||
|
<span class="section-label"><a href="$LinkPages">{$MenuCurrentItem.Title}</a></span>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="view-controls">
|
||||||
|
<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">
|
||||||
|
<a href="$LinkPages#cms-content-treeview" class="icon-button font-icon-tree active" title="<% _t('CMSPagesController.TreeView', 'Tree View') %>"></a><a href="$LinkPages#cms-content-listview" class="icon-button font-icon-list" title="<% _t('CMSPagesController.ListView', 'List View') %>"></a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="panel panel--scrollable flexbox-area-grow cms-panel-content">
|
<div class="panel panel--scrollable flexbox-area-grow cms-panel-content">
|
||||||
<div class="cms-content-filters">
|
<div class="cms-content-filters">
|
||||||
$SearchForm
|
$SearchForm
|
||||||
|
Loading…
Reference in New Issue
Block a user