[TASK] Enable EM offline mode when using composer
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Layouts / Main.html
1 {namespace em=TYPO3\CMS\Extensionmanager\ViewHelpers}
2
3 <f:be.container pageTitle="Extension Manager" enableClickMenu="false" loadExtJsTheme="false" loadJQuery="true"
4
5 includeCssFiles="{
6 0:'{f:uri.resource(path:\'Contrib/LoadMask/jquery.loadmask.css\')}'
7 }"
8 includeJsFiles="{
9 0:'{f:uri.resource(path:\'JavaScript/jquery-validate-1.11.1.min.js\')}',
10 1:'{f:uri.resource(path:\'JavaScript/jquery.expander.min.js\')}',
11 2:'{f:uri.resource(path:\'Contrib/LoadMask/jquery.loadmask.js\')}'
12 }"
13 includeRequireJsModules="{
14 0:'TYPO3/CMS/Extensionmanager/Main'
15 }">
16
17 <em:be.trigger triggers="{triggers}" />
18 <div id="typo3-docheader">
19 <div class="typo3-docheader-functions">
20 <f:be.menus.actionMenu>
21 <f:be.menus.actionMenuItem label="{f:translate(key: 'installedExtensions')}" controller="List" action="index" />
22 <f:if condition="{settings.offlineMode} == 0">
23 <f:then>
24 <f:if condition="{settings.composerMode} == 0">
25 <f:then>
26 <f:be.menus.actionMenuItem label="{f:translate(key: 'getExtensions')}" controller="List" action="ter" />
27 <f:be.menus.actionMenuItem label="{f:translate(key: 'distributions')}" controller="List" action="distributions" />
28 <f:if condition="{actionName} == 'showAllVersions'">
29 <f:be.menus.actionMenuItem label="{f:translate(key: 'showAllVersions')} {extensionKey}" controller="List" action="showAllVersions" />
30 </f:if>
31 </f:then>
32 </f:if>
33 </f:then>
34 </f:if>
35 </f:be.menus.actionMenu>
36 </div>
37 <div class="typo3-docheader-buttons">
38 <f:render section="docheader-buttons" />
39 </div>
40 </div>
41 <div id="typo3-docbody">
42 <div id="typo3-inner-docbody" class="typo3-extension-manager">
43 <f:render section="module-headline" />
44 <f:render section="Content" />
45 </div>
46 </div>
47 </f:be.container>