diff options
Diffstat (limited to 'modules-available/session/templates')
-rw-r--r-- | modules-available/session/templates/change-password.html | 43 | ||||
-rw-r--r-- | modules-available/session/templates/page-login.html | 4 |
2 files changed, 46 insertions, 1 deletions
diff --git a/modules-available/session/templates/change-password.html b/modules-available/session/templates/change-password.html index 70ab7b92..9f19c695 100644 --- a/modules-available/session/templates/change-password.html +++ b/modules-available/session/templates/change-password.html @@ -5,7 +5,48 @@ <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>
\ No newline at end of file +</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>
\ No newline at end of file diff --git a/modules-available/session/templates/page-login.html b/modules-available/session/templates/page-login.html index 4be7232a..94b69f7d 100644 --- a/modules-available/session/templates/page-login.html +++ b/modules-available/session/templates/page-login.html @@ -3,6 +3,10 @@ <div> <input type="text" name="user" class="form-control" placeholder="{{lang_username}}" autofocus> <input type="password" name="pass" class="form-control" placeholder="{{lang_password}}"> + <div class="checkbox"> + <input type="checkbox" id="fixed-ip" name="fixedip" value="1" checked> + <label for="fixed-ip">{{lang_fixedIpSession}}</label> + </div> </div> <button class="btn btn-lg btn-primary btn-block" type="submit">{{lang_login}}</button> <a class="btn btn-lg btn-default btn-block" href="?do=AddUser">{{lang_register}}</a> |