mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-24 03:05:39 +01:00
38 lines
1.8 KiB
HTML
38 lines
1.8 KiB
HTML
<div class="container-fluid container-fluid-custom" ng-controller="ForgotPasswordController as vm">
|
|
<div class="container container-custom">
|
|
<div class="row extend-height">
|
|
<div class="section">
|
|
<h1 class="col-md-12 col-md-offset-2 main-title title-color">Forgot Password</h1>
|
|
<div class="row">
|
|
<div class="col-md-12 col-md-offset-2 main-content">
|
|
<form name="form" class="form-horizontal" ng-submit="form.$valid && vm.sendMail(user)" >
|
|
<div class="form-group">
|
|
<label for="email" class="col-sm-3 control-label">Email:</label>
|
|
<div class="col-sm-7">
|
|
<input type="email" class="form-control" id="email" ng-model="user.email" ng-model-options="{ updateOn: 'blur' }" name="uEmail" required >
|
|
<p class="help-block small-size-fonts">Please input the Email used when you signed up, a reset password Email will be sent to you.</p>
|
|
</div>
|
|
<div class="col-sm-2">
|
|
<span class="asterisk">*</span>
|
|
</div>
|
|
</div>
|
|
<div class="error-message">
|
|
<div ng-messages="form.uEmail.$error">
|
|
<span ng-message="required">Email is required.</span>
|
|
</div>
|
|
<div ng-show="vm.hasError">
|
|
<span>//vm.errorMessage//</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-md-offset-8 col-md-10">
|
|
<input type="submit" class="btn btn-success" value="Send">
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div> |