9862f98bc18ba2e32f0206c83a6466c0525e2a6e
[Packages/TYPO3.CMS.git] / typo3 / sysext / adminpanel / Resources / Private / Partials / Modules / Item.html
1 <html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" xmlns:core="http://typo3.org/ns/TYPO3/CMS/Core/ViewHelpers" data-namespace-typo3-fluid="true">
2 <div class="typo3-adminPanel-module{f:if(condition: uid, then: ' typo3-adminPanel-module-{uid}')}">
3 <div class="typo3-adminPanel-module-trigger" data-typo3-role="typo3-adminPanel-module-trigger">
4 <f:if condition="{icon}"><span class="typo3-adminPanel-module-trigger-icon">{icon -> f:format.raw()}</span></f:if>
5 <f:if condition="{label}"><span class="typo3-adminPanel-module-trigger-label">{label}</span></f:if>
6 <f:if condition="{information}"><span class="typo3-adminPanel-module-trigger-information">{information}</span></f:if>
7 </div>
8 <f:if condition="{mainContent} || {module.subModules}">
9 <div class="typo3-adminPanel-content" data-typo3-role="typo3-adminPanel-content">
10 <div class="typo3-adminPanel-content-header">
11 <div class="typo3-adminPanel-content-header-item typo3-adminPanel-content-header-title">
12 <f:if condition="{icon}"><span class="typo3-adminPanel-content-header-title-icon">{icon -> f:format.raw()}</span></f:if>
13 <f:if condition="{label}"><span class="typo3-adminPanel-content-header-title-label">{label}</span></f:if>
14 </div>
15 <div class="typo3-adminPanel-content-nav" data-typo3-role="typo3-adminPanel-content-tabs">
16 <f:for each="{module.subModules}" as="sub" iteration="iteration">
17 <a href="#" class="typo3-adminPanel-content-header-item{f:if(condition: iteration.isFirst, then: ' typo3-adminPanel-content-header-item-active')}" data-typo3-role="typo3-adminPanel-content-tab" data-typo3-tab-target="{sub.identifier}">{sub.label}</a>
18 </f:for>
19 </div>
20 <f:if condition="{module.hasSubmoduleSettings}">
21 <button type="button" class="typo3-adminPanel-content-header-item typo3-adminPanel-content-header-settings" data-typo3-role="typo3-adminPanel-content-settings">
22 <core:icon identifier="actions-system-extension-configure" alternativeMarkupIdentifier="inline"/>
23 </button>
24 </f:if>
25 <button type="button" class="typo3-adminPanel-content-header-item typo3-adminPanel-content-header-close" data-typo3-role="typo3-adminPanel-content-close">
26 <core:icon identifier="actions-close" alternativeMarkupIdentifier="inline"/>
27 </button>
28 </div>
29 <f:if condition="{module.hasSubmoduleSettings}">
30 <div class="typo3-adminPanel-content-settings">
31 <f:for each="{module.subModules}" as="sub">
32 <f:if condition="{sub.settings}">
33 <div class="typo3-adminPanel-content-settings-group">
34 <h4 class="typo3-adminPanel-headline">{sub.label} <f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.label"/></h4>
35 <f:format.raw>
36 {sub.settings}
37 </f:format.raw>
38 </div>
39 </f:if>
40 </f:for>
41 <div class="typo3-adminPanel-form-group">
42 <f:form.button class="typo3-adminPanel-btn typo3-adminPanel-btn-primary" data="{typo3-role: 'typo3-adminPanel-saveButton'}"><f:translate key="LLL:EXT:adminpanel/Resources/Private/Language/locallang.xlf:settings.updateButtonLabel"/></f:form.button>
43 </div>
44 </div>
45 </f:if>
46 <div class="typo3-adminPanel-content-main">
47 <f:if condition="{mainContent}">
48 <f:then>
49 {mainContent -> f:format.raw()}
50 </f:then>
51 <f:else>
52 <div class="typo3-adminPanel-content-panes">
53 <f:for each="{module.subModules}" as="sub" iteration="subModulesIterator">
54 <div class="typo3-adminPanel-content-panes-item{f:if(condition:'{subModulesIterator.isFirst}',then:' typo3-adminPanel-content-panes-item-active')}" data-typo3-role="typo3-adminPanel-content-pane" data-typo3-tab-id="{sub.identifier}">
55 <f:if condition="{sub.label}"><h1 class="typo3-adminPanel-headline">{sub.label}</h1></f:if>
56 <f:format.raw>{sub.content}</f:format.raw>
57 </div>
58 </f:for>
59 </div>
60 </f:else>
61 </f:if>
62 </div>
63 </div>
64 </f:if>
65 </div>
66 </html>