[TASK] Enable EM offline mode when using composer
[Packages/TYPO3.CMS.git] / typo3 / sysext / extensionmanager / Resources / Private / Templates / List / Index.html
1 {namespace em=TYPO3\CMS\Extensionmanager\ViewHelpers}
2 {namespace core=TYPO3\CMS\Core\ViewHelpers}
3
4 <f:layout name="main" />
5
6 <f:section name="docheader-buttons">
7 <f:if condition="{settings.composerMode} == 0">
8 <f:then>
9 <div id="upload-button-wrap">
10 <a href="{f:uri.action(action:'form',controller:'UploadExtensionFile')}" title="{f:translate(key:'extensionList.uploadExtension')}">
11 <core:icon identifier="actions-edit-upload" />
12 </a>
13 </div>
14 </f:then>
15 </f:if>
16 </f:section>
17
18 <f:section name="module-headline">
19 <h1><f:translate key="installedExtensions" /></h1>
20 </f:section>
21
22 <f:section name="Content">
23 <f:flashMessages />
24
25 <f:render partial="List/UploadForm" />
26
27 <form class="form-inline">
28 <div class="form-group">
29 <f:form.textfield name="Tx_Extensionmanager_extensionkey" placeholder="{f:translate(key:'extensionList.search')}" id="Tx_Extensionmanager_extensionkey" value="{search}" class="form-control" />
30 </div>
31 </form>
32 <div class="table-fit">
33 <table id="typo3-extension-list" class="table table-striped table-hover typo3-extension-list">
34 <thead>
35 <tr>
36 <th title="{f:translate(key:'extensionList.header.title.update')}"><f:translate key="extensionList.header.update"/></th>
37 <th title="{f:translate(key:'extensionList.header.title.activate')}"><f:translate key="extensionList.header.activate"/></th>
38 <th><f:translate key="extensionList.header.extensionName"/></th>
39 <th><f:translate key="extensionList.header.extensionKey"/></th>
40 <th><f:translate key="extensionList.header.extensionVersion"/></th>
41 <th><f:translate key="extensionList.header.extensionState"/></th>
42 <th><f:translate key="extensionList.header.extensionActions"/></th>
43 </tr>
44 </thead>
45 <tbody>
46 <f:for each="{extensions}" as="extension" key="extensionKey">
47 <f:if condition="{extension.terObject}">
48 <f:then>
49 <tr id="{extensionKey}" class="{f:if(condition:'{extension.terObject.reviewState} == -1', then:'insecure')}{f:if(condition:'{extension.terObject.reviewState} == -2', then:'outdated')} {f:if(condition:'{extension.installed}', then: '', else: 'inactive')}">
50 </f:then>
51 <f:else>
52 <tr id="{extensionKey}" class="{f:if(condition:'{extension.installed}', then: '', else: 'inactive')}">
53 </f:else>
54 </f:if>
55 <td>
56 <f:if condition="{extension.updateAvailable}">
57 <div class="btn-group">
58 <f:if condition="{extension.state} == 'excludeFromUpdates'">
59 <f:then>
60 <span class="btn btn-default disabled" title="{f:translate(key:'extensionList.updateDisabled')}">
61 <core:icon identifier="actions-system-extension-update" />
62 </span>
63 </f:then>
64 <f:else>
65 <span class="btn btn-default">
66 <f:link.action action="updateCommentForUpdatableVersions"
67 additionalAttributes="{data-action:'update-extension'}"
68 format="json" controller="Download"
69 arguments="{extension:extension.key, integerVersionStart: extension.terObject.integerVersion, integerVersionStop: extension.updateToVersion.integerVersion}"
70 title="{f:translate(key:'extensionList.updateToVersion', arguments:{0:extension.updateToVersion.version})}"
71 >
72 <core:icon identifier="actions-system-extension-update" />
73 </f:link.action>
74 </span>
75 </f:else>
76 </f:if>
77 </div>
78 </f:if>
79 </td>
80 <td>
81 <em:toggleExtensionInstallationState extension="{extension}" />
82 </td>
83 <f:if condition="{extension.description}">
84 <f:then>
85 <td title="{extension.description}">
86 </f:then>
87 <f:else>
88 <td>
89 </f:else>
90 </f:if>
91 <f:if condition="{extension.ext_icon}">
92 <img class="ext-icon" src="../{extension.siteRelPath}{extension.ext_icon}" alt="{extension.title}" />
93 </f:if>
94 <em:configureExtension extension="{extension}" forceConfiguration="0" showDescription="1">{extension.title}</em:configureExtension>
95 </td>
96 <td>
97 {extensionKey}
98 </td>
99 <td>
100 {extension.version}
101 </td>
102 <td>
103 <span class="label label-{extension.state}">{extension.state}</span>
104 </td>
105 <td>
106 <div class="btn-group">
107 <em:processAvailableActions extension="{extension}">
108 <em:configureExtension class="btn btn-default" extension="{extension}" title="{f:translate(key:'extensionList.configure')}">
109 <core:icon identifier="actions-system-extension-configure" />
110 </em:configureExtension>
111 <em:updateScript class="btn btn-default" extensionKey="{extension.key}" />
112 <em:removeExtension class="btn btn-default" extension="{extension}" />
113 <span class="btn btn-default">
114 <f:link.action action="downloadExtensionZip" controller="Action" arguments="{extension:extension.key}" title="{f:translate(key:'extensionList.downloadzip')}">
115 <core:icon identifier="actions-system-extension-download" />
116 </f:link.action>
117 </span>
118 <em:downloadExtensionData class="btn btn-default" extension="{extension}" />
119 </em:processAvailableActions>
120 </div>
121 </td>
122 </tr>
123 </f:for>
124 </tbody>
125 </table>
126 </div>
127 </f:section>