blob: 9f19c6958e6f9f03addb0ea52df2cfc1b88f3797 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
|
<form class="form-signin" action="?do=Session" method="post">
<h2 class="form-signin-heading">{{lang_changePassword}}</h2>
<div>
<input type="password" name="old" class="form-control" placeholder="{{lang_currentPassword}}" autofocus>
<input type="password" name="newpass1" class="form-control" placeholder="{{lang_newPassword}}">
<input type="password" name="newpass2" class="form-control" placeholder="{{lang_repeatPassword}}">
</div>
<div class="checkbox">
<input type="checkbox" id="kill-other-sessions" name="kill-other-sessions" value="1">
<label for="kill-other-sessions">{{lang_killOtherSessions}}</label>
</div>
<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>
<h2>{{lang_activeSessions}}</h2>
<table class="table">
<thead>
<tr>
<th>{{lang_user}}</th>
<th>{{lang_expires}}</th>
<th>{{lang_lastAddress}}</th>
<th class="slx-smallcol">{{lang_fixedIpSession}}</th>
</tr>
</thead>
<tbody>
{{#sessions}}
<tr>
<td>
{{#link}}
<a href="?do=adduser&show=edituser&userid={{userid}}">
{{/link}}
{{login}}
{{#link}}
</a>
{{/link}}
</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>
|