40 lines
1.2 KiB
Plaintext
Executable File
40 lines
1.2 KiB
Plaintext
Executable File
<#import "template.ftl" as layout>
|
|
<@layout.mainLayout active='sessions' bodyClass='sessions'; section>
|
|
<h2>${msg("sessionsHtmlTitle")}</h2>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>${msg("ip")}</th>
|
|
<th>${msg("started")}</th>
|
|
<th>${msg("lastAccess")}</th>
|
|
<th>${msg("expires")}</th>
|
|
<th>${msg("clients")}</th>
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
<#list sessions.sessions as session>
|
|
<tr>
|
|
<td>${session.ipAddress}</td>
|
|
<td>${session.started?datetime}</td>
|
|
<td>${session.lastAccess?datetime}</td>
|
|
<td>${session.expires?datetime}</td>
|
|
<td>
|
|
<#list session.clients as client>
|
|
${client}<br/>
|
|
</#list>
|
|
</td>
|
|
</tr>
|
|
</#list>
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
<form action="${url.sessionsUrl}" method="post">
|
|
<input type="hidden" id="stateChecker" name="stateChecker" value="${stateChecker}">
|
|
<input id="logout-all-sessions" class="btn btn-default"
|
|
type="submit" value="${msg("doLogOutAllSessions")}"/>
|
|
</form>
|
|
</@layout.mainLayout>
|