mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 22:18:01 -03:30
Merge pull request #443 from jlmitch5/loginModalDisappears
fixed login modal disappearing by improving ux
This commit is contained in:
commit
924e8b8114
@ -17,6 +17,10 @@
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.LoginModal-alert--error {
|
||||
color: #ff5850;
|
||||
}
|
||||
|
||||
.LoginModal-labelAsterisk:before {
|
||||
margin-right: -2px;
|
||||
}
|
||||
|
||||
@ -208,7 +208,7 @@ export default ['$log', '$cookieStore', '$compile', '$window', '$rootScope', '$l
|
||||
' and accessible.';
|
||||
}
|
||||
scope.reset();
|
||||
Alert(hdr, msg, 'alert-danger', setLoginFocus, null, null, false);
|
||||
scope.attemptFailed = true;
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@ -62,6 +62,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<div class="LoginModal-alert LoginModal-alert--error" ng-show="attemptFailed">
|
||||
Invalid username and/or password. Please try again.
|
||||
</div>
|
||||
<div class="LoginModalNotice" ng-if="customLoginInfoPresent"><div class="LoginModalNotice-title">Notice</div>{{ customLoginInfo | sanitize }}</div>
|
||||
</div>
|
||||
<div class="modal-footer LoginModal-footer">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user