mirror of
https://github.com/a2nt/silverstripe-elemental-basics.git
synced 2024-10-22 17:05:54 +02:00
IMPR: Remove unnecessary divs
This commit is contained in:
parent
07ba7167d1
commit
2f7d358dbe
@ -1,4 +1,3 @@
|
|||||||
<div class="page-content page-content-main">
|
|
||||||
<% if not $ExcludeHeader %>
|
<% if not $ExcludeHeader %>
|
||||||
<% include PageHeader %>
|
<% include PageHeader %>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
@ -16,7 +15,6 @@
|
|||||||
$CurrentElement
|
$CurrentElement
|
||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="elemental-area">
|
|
||||||
<% if $ElementalArea.Elements.Count %>
|
<% if $ElementalArea.Elements.Count %>
|
||||||
$ElementalArea
|
$ElementalArea
|
||||||
<% else_if $Content %>
|
<% else_if $Content %>
|
||||||
@ -26,7 +24,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if $Form %>
|
<% if $Form %>
|
||||||
@ -50,4 +47,3 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
</div>
|
|
||||||
|
@ -7,17 +7,16 @@
|
|||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
|
||||||
<% if $URLSegment != 'home' %>
|
|
||||||
<div id="PageBreadcumbs" class="element element__breadcrumbs">
|
|
||||||
$Breadcrumbs
|
|
||||||
</div>
|
|
||||||
<% end_if %>
|
|
||||||
|
|
||||||
<% if $SideBarContent || $SideBarView && $SideBarView.Widgets.Count %>
|
<% if $SideBarContent || $SideBarView && $SideBarView.Widgets.Count %>
|
||||||
<div class="content-holder content-holder__sidebar">
|
<div class="content-holder content-holder__sidebar">
|
||||||
<div class="{$DefaultContainer}">
|
<div class="{$DefaultContainer}">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-md-9 layout__col">
|
<div class="col-md-9 layout__col">
|
||||||
|
<% if $URLSegment != 'home' %>
|
||||||
|
<div id="PageBreadcumbs" class="element element__breadcrumbs">
|
||||||
|
$Breadcrumbs
|
||||||
|
</div>
|
||||||
|
<% end_if %>
|
||||||
$Layout
|
$Layout
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-3 sidebar__col">
|
<div class="col-md-3 sidebar__col">
|
||||||
@ -35,6 +34,11 @@
|
|||||||
</div>
|
</div>
|
||||||
<% else %>
|
<% else %>
|
||||||
<div class="content-holder">
|
<div class="content-holder">
|
||||||
|
<% if $URLSegment != 'home' %>
|
||||||
|
<div id="PageBreadcumbs" class="element element__breadcrumbs">
|
||||||
|
$Breadcrumbs
|
||||||
|
</div>
|
||||||
|
<% end_if %>
|
||||||
$Layout
|
$Layout
|
||||||
</div>
|
</div>
|
||||||
<% end_if %>
|
<% end_if %>
|
||||||
|
Loading…
Reference in New Issue
Block a user