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