Skip to content
Snippets Groups Projects
Commit a9573257 authored by Felix Kopp's avatar Felix Kopp Committed by Christian Kuhn
Browse files

[TASK] Make use of .t3-table in EXT: beuser

Use <table class="t3-table"> in backend module.

Change-Id: I695587a4ec3ccdb4b6170063fd373c575efb5e70
Resolves: #52568
Releases: 6.2
Reviewed-on: https://review.typo3.org/24439
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
parent c13b6b7b
No related merge requests found
......@@ -54,28 +54,32 @@
<f:if condition="<f:count subject='{backendUsers}' /> > 50">
<f:then>
<f:be.widget.paginate objects="{backendUsers}" as="paginatedBackendUsers" configuration="{itemsPerPage: 50, insertAbove: 1, insertBelow: 1}">
<table border="0" cellpadding="0" cellspacing="0" class="typo3-dblist">
<tr class="t3-row-header">
<td>&nbsp;</td>
<td>
<f:translate key="userName">Username</f:translate> /
<f:translate key="realName">Real name</f:translate>
</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td><f:translate key="lastLogin">Last login</f:translate></td>
</tr>
<f:for each="{paginatedBackendUsers}" as="backendUser">
<f:render partial="BackendUser/IndexListRow" arguments="{demand: demand, backendUser: backendUser, dateFormat: dateFormat, timeFormat: timeFormat, returnUrl: returnUrl}" />
</f:for>
<f:comment>
Footer row: no officially defined style yet
</f:comment>
<tr>
<td colspan="6">
<f:count subject="{backendUsers}" /> <f:translate key="users">Users</f:translate>
</td>
</tr>
<table class="t3-table">
<thead>
<tr>
<th>&nbsp;</th>
<th>
<f:translate key="userName">Username</f:translate> /
<f:translate key="realName">Real name</f:translate>
</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th><f:translate key="lastLogin">Last login</f:translate></th>
</tr>
</thead>
<tbody>
<f:for each="{paginatedBackendUsers}" as="backendUser">
<f:render partial="BackendUser/IndexListRow" arguments="{demand: demand, backendUser: backendUser, dateFormat: dateFormat, timeFormat: timeFormat, returnUrl: returnUrl}" />
</f:for>
<f:comment>
Footer row: no officially defined style yet
</f:comment>
<tr>
<td colspan="6">
<f:count subject="{backendUsers}" /> <f:translate key="users">Users</f:translate>
</td>
</tr>
</tbody>
</table>
</f:be.widget.paginate>
</f:then>
......
......@@ -10,24 +10,28 @@
</f:section>
<f:section name="content">
<table border="0" cellspacing="0" cellpadding="0" class="typo3-dblist">
<tr class="t3-row-header">
<td>
<f:translate key="userName">Username</f:translate> /
<f:translate key="realName">Real name</f:translate>
</td>
<td>&nbsp;</td>
<td>
<f:translate key="lastAccess">Last access</f:translate>
</td>
<td>
<f:translate key="ipAddress">IP address</f:translate>
</td>
<td>&nbsp;</td>
</tr>
<table class="t3-table"">
<thead>
<tr>
<th>
<f:translate key="userName">Username</f:translate> /
<f:translate key="realName">Real name</f:translate>
</th>
<th>&nbsp;</th>
<th>
<f:translate key="lastAccess">Last access</f:translate>
</th>
<th>
<f:translate key="ipAddress">IP address</f:translate>
</th>
<th>&nbsp;</th>
</tr>
</thead>
<f:for each="{onlineUsersAndSessions}" as="onlineUser">
<f:render partial="BackendUser/OnlineListRow" arguments="{onlineUser: onlineUser, dateFormat: dateFormat, timeFormat: timeFormat, currentSessionId: currentSessionId}" />
</f:for>
<tbody>
<f:for each="{onlineUsersAndSessions}" as="onlineUser">
<f:render partial="BackendUser/OnlineListRow" arguments="{onlineUser: onlineUser, dateFormat: dateFormat, timeFormat: timeFormat, currentSessionId: currentSessionId}" />
</f:for>
</tbody>
</table>
</f:section>
\ No newline at end of file
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment