brand-assets
Version:
69 lines (48 loc) • 2.78 kB
HTML
<div class="newhome fullwidth forgotpassword" setup-landing>
<div class="col-xs-12 col-sm-12 small-bg">
<brand-header></brand-header>
<h1>Forgot Password</h1>
<div class="whitebox col-xs-12">
<form>
<fieldset>
<div class="alert alert-danger" ng-show="vm.resetFailed">
<h4>Error!</h4>
Email or username provided is not valid
</div>
<div class="alert alert-danger" ng-show="vm.resetError">
<h4>Error!</h4>
An error occurred when attempting to reset the password. Try again after some time. If the
problem persists, kindly contact admin.
</div>
<div class="alert alert-warning" ng-show="vm.resetSuccess">
An email has been sent with further instructions.
</div>
<div class="row" ng-hide="vm.resetSuccess">
<div class="col-xs-12">
<div class="form-group">
<label class="control-label" for="inputEmail">Email / Username</label>
<input type="text" id="inputEmail"
placeholder="Enter your email or username"
class="form-control"
ng-model="vm.identity">
</div>
<div class="form-group colorBrand">
<button type="button" class="btn btn-primary round-btn"
ng-show="vm.resetInProgress" disabled>
<i class="fa fa-spinner fa fa-spin"></i> Reset Password
</button>
<button type="submit" class="btn btn-primary round-btn"
ng-disabled="vm.resetInProgress || vm.identity === ''"
ng-click="vm.resetPassword()" ng-hide="vm.resetInProgress">
Reset Password
</button>
</div>
</div>
</div>
<a href="/login" class="btn btn-default" ng-show="vm.resetSuccess"><i class="fa fa-chevron-left"></i> Back to Login</a>
</fieldset>
</form>
</div><!-- /.whitebox -->
<div data-ng-include="'/brand/views/page-footer.html'"></div>
</div><!-- /.col-xs-12 -->
</div><!-- /.newhome.fullwidth.forgotpassword -->