client-ui
Version:
Testing implementation of nodeJs Backend, angular frontend, and hopefully in a way that this can be deployed to s3/cloudfront
35 lines • 2.03 kB
HTML
<div ng-init="_ctrl = emailController; _ctrl.verifyEmailInit()">
<div class="row" style="height:450px">
<div class="col-sm-4 text-center">
<img class="marketing-icon" src="images/rocket-main.svg" />
</div>
<div class="col-sm-8">
<h3>Email Verification</h3>
<div ng-hide="_ctrl.clientData.emailVerified">
<h6>
Please open the email we sent to <b id="email">{{_ctrl.clientData.email}}</b> and follow the instructions to verify your email and continue.
</h6>
<p>Can't find the email we sent you? Click <a class="show-pointer" ng-click="_ctrl.resendEmailVerification()">here </a> and we'll resend it.</p>
<div ng-hide="_ctrl.clientData.emailVerified">
<p>
Is there a typo in your email? Click <a ui-sref="loanDashboard.myProfile({reason: 'CHANGE_EMAIL'})">here</a> to change it.
</p>
<div class="alert alert-warning" ng-show="_ctrl.emailVerError">
<span class="fa fa-warning fa-2x"></span> There was an error processing this request.
</div>
<div class="alert alert-success" ng-show="_ctrl.emailVerSuccess">
<h6> <span class="fa fa-check"></span>A new verification email has been sent</h6>
</div>
</div>
</div>
<div ng-show="_ctrl.clientData.emailVerified">
<p>
All set! Thank you for verifying your email address. (You can change it on your <a ui-sref="loanDashboard.myProfile({reason: 'CHANGE_EMAIL'})">profile</a>.)
</p>
<button class="btn btn-success large-btn" id="continue" ladda="_ctrl.working" ng-click="_ctrl.goToNextStep()" ng-disabled="!_ctrl.clientData.emailVerified">
Continue
</button>
</div>
</div>
</div>
</div>