mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
MINOR Changed CMS breadcrumbs markup to fit new inline-block CSS (fixes #6882)
This commit is contained in:
parent
1bb6026240
commit
098d3b6b8a
@ -1,30 +1,28 @@
|
|||||||
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<% with EditForm %>
|
||||||
<% with EditForm %>
|
<div class="cms-content-header-info">
|
||||||
<% include BackLink_Button %>
|
<% include BackLink_Button %>
|
||||||
|
|
||||||
<h2 id="page-title-heading">
|
<h2 id="page-title-heading">
|
||||||
<% with Controller %>
|
<% with Controller %>
|
||||||
<% include CMSSectionIcon %>
|
|
||||||
<% include CMSBreadcrumbs %>
|
<% include CMSBreadcrumbs %>
|
||||||
<% end_with %>
|
<% end_with %>
|
||||||
</h2>
|
</h2>
|
||||||
<% if Fields.hasTabset %>
|
</div>
|
||||||
<% with Fields.fieldByName('Root') %>
|
<% if Fields.hasTabset %>
|
||||||
<div class="cms-content-header-tabs">
|
<% with Fields.fieldByName('Root') %>
|
||||||
<ul>
|
<div class="cms-content-header-tabs">
|
||||||
<% loop Tabs %>
|
<ul>
|
||||||
<li<% if extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
<% loop Tabs %>
|
||||||
<% end_loop %>
|
<li<% if extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
||||||
</ul>
|
<% end_loop %>
|
||||||
</div>
|
</ul>
|
||||||
<% end_with %>
|
</div>
|
||||||
<% end_if %>
|
<% end_with %>
|
||||||
<% end_with %>
|
<% end_if %>
|
||||||
|
<% end_with %>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
|
<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
|
||||||
|
@ -1,18 +1,18 @@
|
|||||||
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<div class="cms-content-header-info">
|
||||||
<h2><% _t('AssetAdmin.ADDFILES', 'Add Files') %></h2>
|
<h2><% _t('AssetAdmin.ADDFILES', 'Add Files') %></h2>
|
||||||
<div class="cms-content-header-tabs">
|
</div>
|
||||||
<ul>
|
<div class="cms-content-header-tabs">
|
||||||
<li>
|
<ul>
|
||||||
<a href="#cms-content-fromyourcomputer"><% _t('AssetAdmin.FROMYOURCOMPUTER', 'From your computer') %></a>
|
<li>
|
||||||
</li>
|
<a href="#cms-content-fromyourcomputer"><% _t('AssetAdmin.FROMYOURCOMPUTER', 'From your computer') %></a>
|
||||||
<li>
|
</li>
|
||||||
<a href="#cms-content-fromtheinternet"><% _t('AssetAdmin.FROMTHEINTERNET', 'From the internet') %></a>
|
<li>
|
||||||
</li>
|
<a href="#cms-content-fromtheinternet"><% _t('AssetAdmin.FROMTHEINTERNET', 'From the internet') %></a>
|
||||||
</ul>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,31 +1,30 @@
|
|||||||
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<div class="cms-content-header-info">
|
||||||
<h2>
|
<h2>
|
||||||
<% include CMSSectionIcon %>
|
|
||||||
<% include CMSBreadcrumbs %>
|
<% include CMSBreadcrumbs %>
|
||||||
</h2>
|
</h2>
|
||||||
|
</div>
|
||||||
<div class="cms-content-header-tabs">
|
|
||||||
<ul>
|
<div class="cms-content-header-tabs">
|
||||||
<li class="content-treeview<% if class == 'CMSPageEditController' %> ui-tabs-selected<% end_if %>">
|
<ul>
|
||||||
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageEdit">
|
<li class="content-treeview<% if class == 'CMSPageEditController' %> ui-tabs-selected<% end_if %>">
|
||||||
<% _t('CMSMain.TabContent', 'Content') %>
|
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageEdit">
|
||||||
</a>
|
<% _t('CMSMain.TabContent', 'Content') %>
|
||||||
</li>
|
</a>
|
||||||
<li class="content-listview<% if class == 'CMSPageSettingsController' %> ui-tabs-selected<% end_if %>">
|
</li>
|
||||||
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageSettings">
|
<li class="content-listview<% if class == 'CMSPageSettingsController' %> ui-tabs-selected<% end_if %>">
|
||||||
<% _t('CMSMain.TabSettings', 'Settings') %>
|
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageSettings">
|
||||||
</a>
|
<% _t('CMSMain.TabSettings', 'Settings') %>
|
||||||
</li>
|
</a>
|
||||||
<li class="content-listview<% if class == 'CMSPageHistoryController' %> ui-tabs-selected<% end_if %>">
|
</li>
|
||||||
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageHistory">
|
<li class="content-listview<% if class == 'CMSPageHistoryController' %> ui-tabs-selected<% end_if %>">
|
||||||
<% _t('CMSMain.TabHistory', 'History') %>
|
<a href="#dummy" class="cms-panel-link" title="Form_EditForm" data-href="$LinkPageHistory">
|
||||||
</a>
|
<% _t('CMSMain.TabHistory', 'History') %>
|
||||||
</li>
|
</a>
|
||||||
</ul>
|
</li>
|
||||||
</div>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
<form $FormAttributes data-layout-type="border">
|
<form $FormAttributes data-layout-type="border">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<div class="cms-content-header-info">
|
||||||
<h2><% _t('CMSAddPageController.Title','Add page') %></h2>
|
<h2><% _t('CMSAddPageController.Title','Add page') %></h2>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,27 +1,26 @@
|
|||||||
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
<div id="pages-controller-cms-content" class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<div class="cms-content-header-info">
|
||||||
<h2>
|
<h2>
|
||||||
<% include CMSSectionIcon %>
|
|
||||||
<% include CMSBreadcrumbs %>
|
<% include CMSBreadcrumbs %>
|
||||||
</h2>
|
</h2>
|
||||||
|
</div>
|
||||||
<div class="cms-content-header-tabs">
|
|
||||||
<ul>
|
<div class="cms-content-header-tabs">
|
||||||
<li class="content-treeview<% if ViewState == tree %> ui-tabs-selected<% end_if %>">
|
<ul>
|
||||||
<a href="#cms-content-treeview" class="cms-panel-link" data-href="$LinkTreeView"><% _t('CMSPagesController.TreeView', 'Tree View') %></a>
|
<li class="content-treeview<% if ViewState == tree %> ui-tabs-selected<% end_if %>">
|
||||||
</li>
|
<a href="#cms-content-treeview" class="cms-panel-link" data-href="$LinkTreeView"><% _t('CMSPagesController.TreeView', 'Tree View') %></a>
|
||||||
<li class="content-listview<% if ViewState == list %> ui-tabs-selected<% end_if %>">
|
</li>
|
||||||
<a href="#cms-content-listview" class="cms-panel-link" data-href="$LinkListView"><% _t('CMSPagesController.ListView', 'List View') %></a>
|
<li class="content-listview<% if ViewState == list %> ui-tabs-selected<% end_if %>">
|
||||||
</li>
|
<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 class="content-galleryview">
|
||||||
</li>
|
<a href="#cms-content-galleryview"><% _t('CMSPagesController.GalleryView', 'Gallery View') %></a>
|
||||||
-->
|
</li>
|
||||||
</ul>
|
-->
|
||||||
</div>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -1,27 +1,26 @@
|
|||||||
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<% with EditForm %>
|
||||||
<% with EditForm %>
|
<div class="cms-content-header-info">
|
||||||
<h2>
|
<h2>
|
||||||
<% with Controller %>
|
<% with Controller %>
|
||||||
<% include CMSSectionIcon %>
|
|
||||||
<% include CMSBreadcrumbs %>
|
<% include CMSBreadcrumbs %>
|
||||||
<% end_with %>
|
<% end_with %>
|
||||||
</h2>
|
</h2>
|
||||||
<% if Fields.hasTabset %>
|
</div>
|
||||||
<% with Fields.fieldByName('Root') %>
|
<% if Fields.hasTabset %>
|
||||||
<div class="cms-content-header-tabs">
|
<% with Fields.fieldByName('Root') %>
|
||||||
<ul>
|
<div class="cms-content-header-tabs">
|
||||||
<% loop Tabs %>
|
<ul>
|
||||||
<li<% if extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
<% loop Tabs %>
|
||||||
<% end_loop %>
|
<li<% if extraClass %> class="$extraClass"<% end_if %>><a href="#$id">$Title</a></li>
|
||||||
</ul>
|
<% end_loop %>
|
||||||
</div>
|
</ul>
|
||||||
<% end_with %>
|
</div>
|
||||||
<% end_if %>
|
<% end_with %>
|
||||||
<% end_with %>
|
<% end_if %>
|
||||||
</div>
|
<% end_with %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
|
<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
|
||||||
|
@ -1,19 +1,16 @@
|
|||||||
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
<div class="cms-content center cms-tabset $BaseCSSClasses" data-layout-type="border" data-pjax-fragment="Content">
|
||||||
|
|
||||||
<div class="cms-content-header north">
|
<div class="cms-content-header north">
|
||||||
<div>
|
<% with EditForm %>
|
||||||
<% with EditForm %>
|
<div class="cms-content-header-info">
|
||||||
<% include BackLink_Button %>
|
<% include BackLink_Button %>
|
||||||
|
|
||||||
<h2 id="page-title-heading">
|
<h2 id="page-title-heading">
|
||||||
<% with Controller %>
|
<% with Controller %>
|
||||||
<% include CMSSectionIcon %>
|
|
||||||
<% include CMSBreadcrumbs %>
|
<% include CMSBreadcrumbs %>
|
||||||
<% end_with %>
|
<% end_with %>
|
||||||
</h2>
|
</h2>
|
||||||
<% end_with %>
|
</div>
|
||||||
|
<% end_with %>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
|
<div class="cms-content-fields center ui-widget-content" data-layout-type="border">
|
||||||
|
Loading…
Reference in New Issue
Block a user