diff options
Diffstat (limited to 'src/app/components/login/login.component.html')
| -rw-r--r-- | src/app/components/login/login.component.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html index 29aebf9..13ae97a 100644 --- a/src/app/components/login/login.component.html +++ b/src/app/components/login/login.component.html @@ -1,4 +1,4 @@ -<main class="centered-content flex-col flex-center-align-items flex-justify-center height-full"> +<main class="centered-content scroll-standalone flex-col flex-center-align-items flex-justify-center height-full"> <summary class="title card width-full margin-0 padding-dot2">Login</summary> <app-error-bar class="width-full margin-top-dot4"></app-error-bar> @@ -12,8 +12,11 @@ </div> </section> <section class="input-selection"> - <input type="password" placeholder="Password" class="fancy-input width-full border-faded-slim border-bottom-only" formControlName="password" required> + <input [type]="showingPassword ? 'text' : 'password'" placeholder="Password" class="fancy-input width-full border-faded-slim border-bottom-only" formControlName="password" required> <label class="fancy-input-label width-full">Password</label> + <button type="button" class="show-password-button hover-half-opacity click-effect" (click)="toggleShowPassword()"> + <img [src]="showingPassword ? '/assets/icons/tabler-icon-eye-off.svg' : '/assets/icons/tabler-icon-eye.svg'"> + </button> <div class="input-errors"> <label *ngIf="loginUserFormGroup.get('password')?.errors?.required" class="error">*Required</label> </div> |
