[TASK] Make use of .t3-table in EXT: beuser 39/24439/2
authorFelix Kopp <felix-source@phorax.com>
Sun, 6 Oct 2013 22:33:31 +0000 (00:33 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 6 Oct 2013 22:38:06 +0000 (00:38 +0200)
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
typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Index.html
typo3/sysext/beuser/Resources/Private/Templates/BackendUser/Online.html

index 4cd707d..a1acb0d 100755 (executable)
        <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>
index 3443836..22df2de 100755 (executable)
 </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