[TASK] Twitter Bootstrap EXT:beuser follow up
[Packages/TYPO3.CMS.git] / typo3 / sysext / beuser / Resources / Private / Templates / BackendUser / Index.html
1 {namespace bu = TYPO3\CMS\Beuser\ViewHelpers}
2
3 <f:layout name="Default" />
4
5 <f:section name="iconButtons">
6 <a href="#" onclick="window.location.href='alt_doc.php?returnUrl='+T3_THIS_LOCATION+'&amp;edit[be_users][0]=new'; return false;"><bu:spriteManagerIcon iconName="actions-document-new" /></a>
7 </f:section>
8
9 <f:section name="headline">
10 <h1><f:translate key="backendUserListing" /></h1>
11 </f:section>
12
13 <f:section name="content">
14 <f:comment>
15 Listing of users on compare list
16 </f:comment>
17
18 <f:if condition="{compareUserList}">
19 <bu:section title="{f:translate(key: 'section.compare', default: 'Compare')}" collapsible="TRUE">
20 <ul id="compareUsers">
21 <f:for each="{compareUserList}" as="compareUser">
22 <li>
23 <f:link.action action="removeFromCompareList" arguments="{uid: compareUser.uid}">
24 <bu:SpriteManagerIcon iconName="actions-selection-delete" />
25 </f:link.action>
26
27 <a href="#" class="t3-js-clickmenutrigger" data-table="be_users" data-uid="{compareUser.uid}" data-listframe="1" title="id={compareUser.uid}">
28 <bu:spriteIconForRecord table="be_users" object="{compareUser}" />
29 </a>
30
31 {compareUser.userName}
32 </li>
33 </f:for>
34 </ul>
35
36 <f:form action="compare">
37 <f:form.submit value="{f:translate(key: 'compareUserList', default: 'Compare user list')}" />
38 </f:form>
39
40 </bu:section>
41 </f:if>
42
43 <f:comment>
44 Filter section
45 </f:comment>
46
47 <f:render partial="Filters/BackendUser/Index" arguments="{demand: demand, backendUserGroups: backendUserGroups}" />
48
49 <f:comment>
50 Listing of all users
51 </f:comment>
52
53 <f:be.widget.paginate objects="{backendUsers}" as="paginatedBackendUsers" configuration="{itemsPerPage: 50, insertAbove: 1, insertBelow: 1}">
54 <table class="t3-table">
55 <thead>
56 <tr>
57 <th>&nbsp;</th>
58 <th><f:translate key="userName" /> / <f:translate key="realName" /></th>
59 <th>&nbsp;</th>
60 <th>&nbsp;</th>
61 <th class="hidden-xs hidden-sm"><f:translate key="lastLogin" /></th>
62 </tr>
63 </thead>
64 <tbody>
65 <f:for each="{paginatedBackendUsers}" as="backendUser">
66 <f:render partial="BackendUser/IndexListRow" arguments="{demand: demand, backendUser: backendUser, dateFormat: dateFormat, timeFormat: timeFormat, returnUrl: returnUrl}" />
67 </f:for>
68 <f:comment>
69 Footer row: no officially defined style yet
70 </f:comment>
71 <tr>
72 <td colspan="6">
73 <f:count subject="{backendUsers}" /> <f:translate key="users" />
74 </td>
75 </tr>
76 </tbody>
77 </table>
78 </f:be.widget.paginate>
79 </f:section>