<html
    xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
    data-namespace-typo3-fluid="true"
>

<f:layout name="Module" />

<f:section name="Content">

    <f:be.pageRenderer
        includeJavaScriptModules="{
            0: '@typo3/backend/recordlist.js',
            1: '@typo3/backend/record-download-button.js',
            2: '@typo3/backend/clear-cache.js',
            3: '@typo3/backend/record-search.js',
            4: '@typo3/backend/ajax-data-handler.js',
            5: '@typo3/backend/column-selector-button.js',
            6: '@typo3/backend/multi-record-selection.js',
            7: '@typo3/backend/clipboard-panel.js',
            8: '@typo3/backend/new-content-element-wizard-button.js',
            9: '@typo3/backend/element/immediate-action-element.js',
            10: '@typo3/backend/context-menu.js'
        }"
    />

    <f:variable name="immediateActionArgs" value="{0: 'web', 1: pageId}" />
    <typo3-immediate-action action="TYPO3.Backend.Storage.ModuleStateStorage.update" args="{immediateActionArgs -> f:format.json() -> f:format.htmlspecialchars()}"></typo3-immediate-action>

    <f:if condition="{isPageEditable}">
        <f:then>
            <h1 class="t3js-title-inlineedit">{pageTitle}</h1>
        </f:then>
        <f:else>
            <h1>{pageTitle}</h1>
        </f:else>
    </f:if>

    <f:format.raw>{additionalContentTop}</f:format.raw>

    <div class="row">
        <f:format.raw>{languageSelectorHtml}</f:format.raw>
        <f:format.raw>{searchBoxHtml}</f:format.raw>
    </div>

    <f:format.raw>{pageTranslationsHtml}</f:format.raw>

    <f:format.raw>{tableListHtml}</f:format.raw>

    <f:format.raw>{toggleClipboardHtml}</f:format.raw>
    <f:format.raw>{clipboardHtml}</f:format.raw>

    <f:format.raw>{additionalContentBottom}</f:format.raw>
</f:section>

</html>
