diff options
author | Simon Rettberg | 2021-05-05 14:54:41 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-05-11 14:50:11 +0200 |
commit | e40d692a02494641407cbcaf1cea2f6070d418f0 (patch) | |
tree | 418455aa61df6790909ae44a14c982e6a53b30c5 /modules-available/session/templates/change-password.html | |
parent | [session] Add option to bind session to IP address (diff) | |
download | slx-admin-e40d692a02494641407cbcaf1cea2f6070d418f0.tar.gz slx-admin-e40d692a02494641407cbcaf1cea2f6070d418f0.tar.xz slx-admin-e40d692a02494641407cbcaf1cea2f6070d418f0.zip |
[session] Add simple session overview table
Diffstat (limited to 'modules-available/session/templates/change-password.html')
-rw-r--r-- | modules-available/session/templates/change-password.html | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/modules-available/session/templates/change-password.html b/modules-available/session/templates/change-password.html index 70ab7b92..fa8e573f 100644 --- a/modules-available/session/templates/change-password.html +++ b/modules-available/session/templates/change-password.html @@ -8,4 +8,33 @@ <button class="btn btn-lg btn-primary btn-block" type="submit">{{lang_changePassword}}</button> <input type="hidden" name="action" value="changepw"> <input type="hidden" name="token" value="{{token}}"> -</form>
\ No newline at end of file +</form> + +<h2>{{lang_activeSessions}}</h2> +<table class="table"> + <thead> + <tr> + <th>{{lang_uid}}</th> + <th>{{lang_expires}}</th> + <th>{{lang_lastAddress}}</th> + <th class="slx-smallcol">{{lang_fixedIpSession}}</th> + </tr> + </thead> + <tbody> + {{#sessions}} + <tr> + <td>{{userid}}</td> + <td>{{dateline_s}}</td> + <td>{{lastip}}</td> + <td class="text-nowrap"> + {{#fixedip}} + <span class="glyphicon glyphicon-ok"></span> + {{/fixedip}} + {{^fixedip}} + <span class="glyphicon glyphicon-remove"></span> + {{/fixedip}} + </td> + </tr> + {{/sessions}} + </tbody> +</table>
\ No newline at end of file |