Files

47 lines
1.9 KiB
HTML

<html
xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"
>
<f:asset.module identifier="@typo3/backend/viewport/content-navigation.js"/>
<f:if condition="{contentOnly}">
<f:then>
<f:render section="Content" />
</f:then>
<f:else>
<div class="element-browser">
<typo3-backend-content-navigation
identifier="moveelement"
class="element-browser-main"
navigation-title="{f:translate(key: 'viewport.navigation', domain: 'backend.messages')}"
navigation-label-collapse="{f:translate(key: 'viewport.navigation.hide', domain: 'backend.messages')}"
navigation-label-expand="{f:translate(key: 'viewport.navigation.show', domain: 'backend.messages')}"
navigation-initial-width="{initialNavigationWidth}"
>
<div slot="navigation" class="element-browser-main-sidebar">
<typo3-backend-component-page-browser
active-page="{activePage}"
>
</typo3-backend-component-page-browser>
</div>
<div slot="content" class="element-browser-main-content">
<div class="element-browser-navigation-toggle">
<typo3-backend-content-navigation-toggle
class="btn btn-sm btn-icon btn-default btn-borderless"
action="expand"
hidden
>
</typo3-backend-content-navigation-toggle>
</div>
<div class="element-browser-body">
<f:render section="Content" arguments="{_all}" />
</div>
</div>
</typo3-backend-content-navigation>
</div>
</f:else>
</f:if>
</html>