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