UI side of the session limit

includes the 'control' socket, kicking the user out, and adjusting the
expireSession function based on the reason
This commit is contained in:
Jared Tabor
2015-10-01 16:38:37 -04:00
parent fd34854f7a
commit c96f0234f9
6 changed files with 37 additions and 11 deletions

View File

@@ -6,13 +6,17 @@
ng-src="/static/assets/{{ customLogo }}" >
</div>
<div class="modal-body">
<div class="LoginModal-alert" ng-show="!sessionExpired">
<div class="LoginModal-alert" ng-show="!sessionExpired && !sessionLimitExpired">
Welcome to Ansible Tower! &nbsp;Please sign in.
</div>
<div class="LoginModal-alert" ng-show="sessionExpired">
Your session timed out due to inactivity. Please
sign in.
</div>
<div class="LoginModal-alert" ng-show="sessionLimitExpired">
Maximum per-user sessions reached. Please
sign in.
</div>
<form id="login-form"
name="loginForm"
class="form-horizontal"