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