Default.html 3.15 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
{namespace lfe=SGalinski\Lfeditor\ViewHelpers}
<lfe:addJavaScriptFile javaScriptFile="{f:uri.resource(path: 'Scripts/FormUtility.js')}" />

<f:be.container enableClickMenu="FALSE" loadPrototype="FALSE" loadExtJs="FALSE">


    <div class="typo3-fullDoc">
        <div id="typo3-docheader">
            <f:comment>
            <!--<div id="typo3-docheader-row1">-->
                <!--<div class="buttonsleft">-->
                    <!--<f:render section="iconButtons" />-->
                <!--</div>-->

                <!--<div class="buttonsright">-->
                    <!--<f:be.buttons.shortcut />-->
                <!--</div>-->
            <!--</div>-->
            </f:comment>
            <div id="typo3-docheader-row2">
                <div class="docheader-row2-left">
                    <f:be.menus.actionMenu>
                        <f:comment><!-- todo translate label {f:translate(key: 'backend.overview')}--></f:comment>
                        <f:be.menus.actionMenuItem label="General (translate)"
                            controller="Main"
                            action="general" />

                        <f:comment><!-- todo translate label {f:translate(key: 'backend.overview')}--></f:comment>
                        <f:be.menus.actionMenuItem label="Edit file (translate)"
                            controller="Main"
                            action="editFile" />
                    </f:be.menus.actionMenu>
                </div>
            </div>
        </div>

        <div id="typo3-docbody">
            <div id="typo3-inner-docbody">
                <f:form id="mainMenuForm" action="{mainMenuSelection}ChangeSelection">
                    <br><br><br><br><br><br><br><br><br><br><br><br>
                    <f:form.select name="extensionSelection"
                                   value="{extensionSelection}"
                                   options="{NULL: '--Select something--', extension1: 'Test extension 1', extension2: 'Test extension 2'}"
                                   additionalAttributes="{onchange: 'document.getElementById(\'mainMenuForm\').submit();'}"
                            />
                    <br><br>

                    <br>
                    <f:render section="selectItems" />
                </f:form>
                <br><br>

                    <f:render section="main" />

            </div>
        </div>
    </div>
</f:be.container>



<f:comment>
63 64 65 66 67 68 69
<div>
    This is Default layout. <br>
    <f:form id="mainMenuForm" action="mainMenuSelect">

        <f:form.select name="mainMenuSelection"
                       value="{mainMenuSelection}"
                       options="{ general: 'General select item', editFile: 'Edit file select item'}"
70
                       additionalAttributes="{onchange: 'submitForm(\'mainMenuForm\');'}"
71
                />
72
        <br><br><br><br><br><br><br><br><br><br><br><br><br><br>
73 74 75 76 77 78 79 80
        <f:render section="selectItems" />
    </f:form>
    <br><br>
    <!--<f:link.action action="editFile">Edit file link</f:link.action>-->
    <!--<br>-->
    <!--<f:link.action action="general">General link</f:link.action>-->
    <!--<br><br>-->
	<f:render section="main" />
81 82
</div>
</f:comment>