[TASK] Replace sprite icon "actions-system-extension-*" with the new IconFactory
[Packages/TYPO3.CMS.git] / typo3 / sysext / lang / Resources / Private / Templates / Language / ListLanguages.html
1 {namespace core=TYPO3\CMS\Core\ViewHelpers}
2 <?xml version="1.0" encoding="UTF-8" ?>
3 <!DOCTYPE html>
4 <html xmlns="http://www.w3.org/1999/xhtml" lang="en"
5 xmlns:f="http://xsd.helmut-hummel.de/ns/TYPO3/CMS/Fluid/ViewHelpers">
6 <f:layout name="Default"/>
7
8 <f:section name="iconButtons">
9 <div class="menuItems">
10 <span class="menuItem updateItem" data-action="updateActiveLanguages" title="{f:translate(key:'button.downloadAll')}">
11 <core:icon identifier="actions-system-extension-download" />
12 </span>
13 <span class="menuItem loadingItem">
14 <span title="" class="t3-icon fa fa-spin fa-circle-o-notch">&nbsp;</span>
15 </span>
16 <span class="menuItem cancelItem" data-action="cancelLanguageUpdate">
17 &nbsp;<f:be.buttons.icon icon="actions-document-close" title="{f:translate(key:'button.cancel')}"/>
18 </span>
19 </div>
20 </f:section>
21
22 <f:section name="content">
23 <h1>
24 <f:translate key="header.languages"/>
25 </h1>
26 <f:flashMessages/>
27 <form class="form-inline">
28 <div class="form-group">
29 <f:form.textfield name="typo3-language-searchfield" placeholder="{f:translate(key:'table.search')}"
30 id="typo3-language-searchfield" value="{search}"
31 class="form-control t3js-language-searchfield"/>
32 </div>
33 </form>
34 <table id="typo3-language-list" class="t3-table t3-datatable">
35 <thead>
36 <tr>
37 <th title="{f:translate(key:'table.ad.title')}">
38 <f:translate key="table.ad"/>
39 </th>
40 <th>
41 <f:translate key="table.language"/>
42 </th>
43 <th>
44 <f:translate key="table.locale"/>
45 </th>
46 <th>
47 <f:translate key="table.date"/>
48 </th>
49 <th>
50 <f:translate key="table.actions"/>
51 </th>
52 </tr>
53 </thead>
54 <tbody>
55 <f:for each="{languages}" as="language" iteration="iterator">
56 <tr id="language-{language.locale}" data-locale="{language.locale}"
57 class="{f:if(condition: language.selected, then: 'enabled', else: 'disabled')} {f:if(condition: iterator.isEven, then: 'even', else: 'odd')}"
58 role="row">
59 <td>
60 <a class="btn btn-default deactivateLanguageLink" data-action="deactivateLanguage"
61 data-locale="{language.locale}" data-language="{language.label}"
62 data-selected="{f:if(condition: language.selected, then: 'true', else: 'false')}"><span
63 title="Deactivate" class="t3-icon fa fa-minus-square"> </span></a>
64 <a class="btn btn-default activateLanguageLink" data-action="activateLanguage"
65 data-locale="{language.locale}" data-language="{language.label}"
66 data-selected="{f:if(condition: language.selected, then: 'true', else: 'false')}"><span
67 title="Activate" class="t3-icon fa fa-plus-circle"> </span></a>
68 </td>
69 <td class="sorting_1">{language.label}</td>
70 <td>{language.locale}</td>
71 <td class="lastUpdate">
72 <f:format.date date="{language.lastUpdate}" format="Y-m-d H:i"/>
73 </td>
74 <td class="actions">
75 <a class="btn btn-default updateLanguageLink" data-action="updateLanguage"
76 data-locale="{language.locale}" data-language="{language.label}" data-selected="true"><span
77 title="Download" class="t3-icon fa fa-download"> </span></a>
78
79 <div class="progressBar">
80 <div class="progress">
81 <div class="progress-text"></div>
82 <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0"
83 aria-valuemax="100" style="width: 0;"></div>
84 </div>
85 </div>
86 </td>
87 </tr>
88 </f:for>
89 </tbody>
90 </table>
91 </f:section>
92
93 </html>