a0b79b509e46e3de82fd2082fe3e9c1eb90f6344
[Packages/TYPO3.CMS.git] / typo3 / sysext / lang / Resources / Private / Templates / Language / ListLanguages.html
1 <?xml version="1.0" encoding="UTF-8" ?>
2 <!DOCTYPE html>
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="iconButtons">
8 <div class="menuItems">
9 <span class="menuItem updateItem" data-action="updateActiveLanguages">
10 <f:be.buttons.icon icon="actions-system-extension-download" title="{f:translate(key:'button.downloadAll')}" />
11 </span>
12 <span class="menuItem loadingItem">
13 <span title="" class="t3-icon fa fa-spin fa-circle-o-notch">&nbsp;</span>
14 </span>
15 <span class="menuItem cancelItem" data-action="cancelLanguageUpdate">
16 &nbsp;<f:be.buttons.icon icon="actions-document-close" title="{f:translate(key:'button.cancel')}" />
17 </span>
18 </div>
19 </f:section>
20
21 <f:section name="content">
22 <h1><f:translate key="header.languages" /></h1>
23 <f:flashMessages renderMode="div" />
24 <table id="typo3-language-list" class="t3-table t3-datatable">
25 <thead>
26 <tr>
27 <th title="{f:translate(key:'table.ad.title')}"><f:translate key="table.ad" /></th>
28 <th><f:translate key="table.language" /></th>
29 <th><f:translate key="table.locale" /></th>
30 <th><f:translate key="table.date" /></th>
31 <th><f:translate key="table.actions" /></th>
32 </tr>
33 </thead>
34 <tbody>
35 <f:for each="{languages}" as="language" iteration="iterator">
36 <tr id="language-{language.locale}" data-locale="{language.locale}" class="{f:if(condition: language.selected, then: 'enabled', else: 'disabled')} {f:if(condition: iterator.isEven, then: 'even', else: 'odd')}" role="row">
37 <td>
38 <a class="btn btn-default deactivateLanguageLink" data-action="deactivateLanguage" data-locale="{language.locale}" data-language="{language.label}" data-selected="{f:if(condition: language.selected, then: 'true', else: 'false')}"><span title="Deactivate" class="t3-icon fa fa-minus-square"> </span></a>
39 <a class="btn btn-default activateLanguageLink" data-action="activateLanguage" data-locale="{language.locale}" data-language="{language.label}" data-selected="{f:if(condition: language.selected, then: 'true', else: 'false')}"><span title="Activate" class="t3-icon fa fa-plus-circle"> </span></a>
40 </td>
41 <td class="sorting_1">{language.label}</td>
42 <td>{language.locale}</td>
43 <td class="lastUpdate">
44 <f:format.date date="{language.lastUpdate}" format="Y-m-d H:i" />
45 </td>
46 <td class="actions">
47 <a class="btn btn-default updateLanguageLink" data-action="updateLanguage" data-locale="{language.locale}" data-language="{language.label}" data-selected="true"><span title="Download" class="t3-icon fa fa-download"> </span></a>
48 <div class="progressBar">
49 <div class="progress">
50 <div class="progress-text"></div>
51 <div class="progress-bar" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>
52 </div>
53 </div>
54 </td>
55 </tr>
56 </f:for>
57 </tbody>
58 </table>
59 </f:section>
60
61 </html>