mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-03-09 14:34:43 +00:00
Move error message above login form and make it actually red
Original commit: elastic/x-pack-elasticsearch@abe5928e9b
This commit is contained in:
parent
25966f03d9
commit
be6ce90ade
@ -2,6 +2,9 @@
|
||||
<h1><img ng-src="{{login.kibanaLogoUrl}}" /></h1>
|
||||
|
||||
<form id="login-form" ng-submit="login.submit(username, password)" class="animated infinite bounce">
|
||||
<div ng-show="login.error" class="form-group has-error">
|
||||
<label class="control-label">Oops! Invalid username/password.</label>
|
||||
</div>
|
||||
<div class="form-group inner-addon left-addon">
|
||||
<i class="fa fa-user fa-lg fa-fw"></i>
|
||||
<input type="text" ng-model="username" class="form-control" id="username" name="username" placeholder="Username" />
|
||||
@ -10,7 +13,6 @@
|
||||
<i class="fa fa-lock fa-lg fa-fw"></i>
|
||||
<input type="password" ng-model="password" class="form-control" id="password" name="password" placeholder="Password" />
|
||||
</div>
|
||||
<div ng-show="login.error" class="form-group has-error">Oops! That is an invalid username/password combination.</div>
|
||||
<button type="submit" ng-disabled="!username || !password" class="btn btn-default login">LOG IN</button>
|
||||
<!--<span ng-show="login.loading" class="fa fa-spinner fa-spin"></span>-->
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user