forked from argoproj/argo-workflows
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
argoproj#44 Redesign forgot password page
- Loading branch information
Showing
2 changed files
with
71 additions
and
19 deletions.
There are no files selected for viewing
51 changes: 33 additions & 18 deletions
51
saas/axops/src/ui/src/app/views/forgot-password/forgot-password.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,38 @@ | ||
<div class="login"> | ||
<div class="login__box"> | ||
<div class="login__logo login__logo--neg"> | ||
<div class="setup"> | ||
<div class="setup__shortcut"> | ||
<div class="argo"></div> | ||
<div class="logo"></div> | ||
</div> | ||
|
||
<div class="setup__box"> | ||
<div class="setup__header"> | ||
<h1>{{ 'Forgot Password' | translate }}?</h1> | ||
</div> | ||
<form role="form" [formGroup]="resetPasswordForm" (ngSubmit)="resetPassword(resetPasswordForm)"> | ||
<div class="ax-form-row"> | ||
<input class="ax-field" id="email" type="text" formControlName="email" ax-label-placeholder | ||
autocomplete="off"> | ||
<label for="email" class="ax-label-placeholder">{{ 'Email address' | translate }}</label> | ||
<div class="ax-form-row__error-msg" *ngIf="!resetPasswordForm.controls['email'].valid && (resetPasswordForm.controls['email'].touched || submitted)">{{ 'Email is incorrect' | translate }}</div> | ||
</div> | ||
<div class="login__form-row"> | ||
<button axButtonWave class="ax-button ax-button--base ax-button--full-width ax-button--xlg" type="submit"> | ||
{{ 'Reset passowrd' | translate }} | ||
</button> | ||
<div class="setup__content setup__content--forgot-password"> | ||
<div class="setup__back-btn"> | ||
<a [routerLink]="['/login']"> | ||
<i class="ax-icon-back"></i>{{ 'Back' | translate | uppercase }} | ||
</a> | ||
</div> | ||
<div class="login__more-row"> | ||
<a [routerLink]="['/login']">{{ 'Back to login' | translate }}</a> | ||
</div> | ||
</form> | ||
|
||
<form role="form" [formGroup]="resetPasswordForm" (ngSubmit)="resetPassword(resetPasswordForm)"> | ||
<p> | ||
{{ 'Enter the email address you used to create your Argo Account and we\'ll send you an email with a link to reset your password' | translate }}. | ||
</p> | ||
<div class="ax-form-row"> | ||
<input class="ax-field" id="email" type="text" formControlName="email" ax-label-placeholder | ||
autocomplete="off"> | ||
<label for="email" class="ax-label-placeholder">{{ 'Email address' | translate }}</label> | ||
<div class="ax-form-row__error-msg" *ngIf="!resetPasswordForm.controls['email'].valid && (resetPasswordForm.controls['email'].touched || submitted)">{{ 'Email is incorrect' | translate }}</div> | ||
</div> | ||
<div class="login__form-row"> | ||
<button axButtonWave class="ax-button ax-button--base ax-button--full-width" type="submit"> | ||
{{ 'Send email' | translate }} | ||
</button> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<ax-notifications></ax-notifications> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters