{namespace bu = TYPO3\CMS\Beuser\ViewHelpers}

<f:layout name="Default" />

<f:section name="iconButtons">
</f:section>

<f:section name="headline">
	<h1><f:translate key="activeSessions">Active Sessions</f:translate></h1>
</f:section>

<f:section name="content">
	<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>

		<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>