cms-niceties/templates/A2nt/CMSNiceties/Dashboard/Includes/Dashboard_Content.ss

49 lines
1.5 KiB
Scheme

<div
class="cms-content fill-height flexbox-area-grow cms-tabset center $BaseCSSClasses"
data-layout-type="border" data-pjax-fragment="Content"
id="DashboardAdmin"
>
<div class="cms-content-header north">
<div class="cms-content-header-info vertical-align-items flexbox-area-grow">
<div class="breadcrumbs-wrapper">
<span class="cms-panel-link crumb last">
<% if $SectionTitle %>
$SectionTitle
<% else %>
<%t A2nt\CMSNiceties\Dashboard\Dashboard.Title 'Dashboard' %>
<% end_if %>
</span>
</div>
</div>
<%-- div class="cms-content-header-tabs cms-tabset-nav-primary ss-ui-tabs-nav">
<ul class="cms-tabset-nav-primary">
<% loop $ManagedModelTabs %>
<li class="tab-$Tab $LinkOrCurrent<% if $LinkOrCurrent == 'current' %> ui-tabs-active<% end_if %>">
<a href="$Link" class="cms-panel-link" title="$Title.ATT">$Title</a>
</li>
<% end_loop %>
</ul>
</div --%>
</div>
<div
class="cms-content-fields center ui-widget-content cms-panel-padded fill-height flexbox-area-grow"
data-layout-type="border"
>
<div class="cms-content-view">
<div class="dashboard-blocks" style="display:flex;flex-direction:row;grid-gap:4rem">
<% include A2nt\CMSNiceties\Dashboard\Includes\RecentPages %>
<% include A2nt\CMSNiceties\Dashboard\Includes\RecentFiles %>
<% if $RecentObjects %>
<% loop $RecentObjects %>
<% include A2nt\CMSNiceties\Dashboard\Includes\RecentObjects %>
<% end_loop %>
<% end_if %>
</div>
</div>
</div>
</div>