d8853abc7387b00fdb93d4da8e85a5dcb6a932c4
[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+'&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">Backend User Listing</f:translate></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
24 action="removeFromCompareList"
25 arguments="{uid: compareUser.uid}"
26 ><bu:SpriteManagerIcon iconName="actions-selection-delete" /></f:link.action>
27
28 <a href="#" class="t3-js-clickmenutrigger" data-table="be_users" data-uid="{compareUser.uid}" data-listframe="1" title="id={compareUser.uid}">
29 <bu:spriteIconForRecord table="be_users" object="{compareUser}" />
30 </a>
31
32 {compareUser.userName}
33 </li>
34 </f:for>
35 </ul>
36
37 <f:form action="compare">
38 <f:form.submit value="{f:translate(key: 'compareUserList', default: 'Compare user list')}" />
39 </f:form>
40
41 </bu:Section>
42 </f:if>
43
44 <f:comment>
45 Filter section
46 </f:comment>
47
48 <f:render partial="Filters/BackendUser/Index" arguments="{demand: demand, backendUserGroups: backendUserGroups}" />
49
50 <f:comment>
51 Listing of all users
52 </f:comment>
53
54 <f:be.widget.paginate objects="{backendUsers}" as="paginatedBackendUsers" configuration="{itemsPerPage: 50, insertAbove: 1, insertBelow: 1}">
55 <table class="t3-table">
56 <thead>
57 <tr>
58 <th>&nbsp;</th>
59 <th>
60 <f:translate key="userName">Username</f:translate> /
61 <f:translate key="realName">Real name</f:translate>
62 </th>
63 <th>&nbsp;</th>
64 <th>&nbsp;</th>
65 <th class="hidden-xs hidden-sm"><f:translate key="lastLogin">Last login</f:translate></th>
66 </tr>
67 </thead>
68 <tbody>
69 <f:for each="{paginatedBackendUsers}" as="backendUser">
70 <f:render partial="BackendUser/IndexListRow" arguments="{demand: demand, backendUser: backendUser, dateFormat: dateFormat, timeFormat: timeFormat, returnUrl: returnUrl}" />
71 </f:for>
72 <f:comment>
73 Footer row: no officially defined style yet
74 </f:comment>
75 <tr>
76 <td colspan="6">
77 <f:count subject="{backendUsers}" /> <f:translate key="users">Users</f:translate>
78 </td>
79 </tr>
80 </tbody>
81 </table>
82 </f:be.widget.paginate>
83 </f:section>