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