[TASK] Use ModuleTemplate in ext:lang
[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="content">
9 <h1>
10 <f:translate key="header.languages"/>
11 </h1>
12 <f:flashMessages/>
13 <form class="form-inline">
14 <div class="form-group">
15 <f:form.textfield name="typo3-language-searchfield" placeholder="{f:translate(key:'table.search')}"
16 id="typo3-language-searchfield" value="{search}"
17 class="form-control t3js-language-searchfield"/>
18 </div>
19 </form>
20 <table id="typo3-language-list" class="t3-table t3-datatable">
21 <thead>
22 <tr>
23 <th title="{f:translate(key:'table.ad.title')}">
24 <f:translate key="table.ad"/>
25 </th>
26 <th>
27 <f:translate key="table.language"/>
28 </th>
29 <th>
30 <f:translate key="table.locale"/>
31 </th>
32 <th>
33 <f:translate key="table.date"/>
34 </th>
35 <th>
36 <f:translate key="table.actions"/>
37 </th>
38 </tr>
39 </thead>
40 <tbody>
41 <f:for each="{languages}" as="language" iteration="iterator">
42 <tr id="language-{language.locale}" data-locale="{language.locale}"
43 class="{f:if(condition: language.selected, then: 'enabled', else: 'disabled')} {f:if(condition: iterator.isEven, then: 'even', else: 'odd')}"
44 role="row">
45 <td>
46 <a class="btn btn-default deactivateLanguageLink" data-action="deactivateLanguage"
47 data-locale="{language.locale}" data-language="{language.label}"
48 data-selected="{f:if(condition: language.selected, then: 'true', else: 'false')}"><span
49 title="Deactivate" class="t3-icon fa fa-minus-square"> </span></a>
50 <a class="btn btn-default activateLanguageLink" data-action="activateLanguage"
51 data-locale="{language.locale}" data-language="{language.label}"
52 data-selected="{f:if(condition: language.selected, then: 'true', else: 'false')}"><span
53 title="Activate" class="t3-icon fa fa-plus-circle"> </span></a>
54 </td>
55 <td class="sorting_1">{language.label}</td>
56 <td>{language.locale}</td>
57 <td class="lastUpdate">
58 <f:format.date date="{language.lastUpdate}" format="Y-m-d H:i"/>
59 </td>
60 <td class="actions">
61 <a class="btn btn-default updateLanguageLink" data-action="updateLanguage"
62 data-locale="{language.locale}" data-language="{language.label}" data-selected="true"><span
63 title="Download" class="t3-icon fa fa-download"> </span></a>
64
65 <div class="progressBar">
66 <div class="progress">
67 <div class="progress-text"></div>
68 <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0"
69 aria-valuemax="100" style="width: 0;"></div>
70 </div>
71 </div>
72 </td>
73 </tr>
74 </f:for>
75 </tbody>
76 </table>
77 </f:section>
78
79 </html>