aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/login
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-03-06 14:29:14 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-03-06 14:29:14 +0200
commit4b094fb29ea7eaeb58f0c29df60e55586a74db76 (patch)
treedba5ca9fb171c25182b5e2450363b7dce0db1304 /src/app/components/login
parentb379eed12c5f5fa1b1685dc2ad87191733a41d28 (diff)
downloadDevHive-Angular-4b094fb29ea7eaeb58f0c29df60e55586a74db76.tar
DevHive-Angular-4b094fb29ea7eaeb58f0c29df60e55586a74db76.tar.gz
DevHive-Angular-4b094fb29ea7eaeb58f0c29df60e55586a74db76.zip
Reverted footer
Diffstat (limited to 'src/app/components/login')
-rw-r--r--src/app/components/login/login.component.html40
1 files changed, 7 insertions, 33 deletions
diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html
index d4f956d..9f74faa 100644
--- a/src/app/components/login/login.component.html
+++ b/src/app/components/login/login.component.html
@@ -2,55 +2,29 @@
<summary class="title">Login</summary>
<form [formGroup]="loginUserFormGroup" (ngSubmit)="onSubmit()">
- <hr />
+ <hr>
<section class="input-selection">
- <input
- type="text"
- placeholder="Username"
- class="input-field"
- formControlName="username"
- required
- />
+ <input type="text" placeholder="Username" class="input-field" formControlName="username" required>
<label class="input-field-label">Username</label>
<div class="input-errors">
- <label
- *ngIf="loginUserFormGroup.get('username')?.errors?.required"
- class="error"
- >*Required</label
- >
+ <label *ngIf="loginUserFormGroup.get('username')?.errors?.required" class="error">*Required</label>
</div>
</section>
<section class="input-selection">
- <input
- type="password"
- placeholder="Password"
- class="input-field"
- formControlName="password"
- required
- />
+ <input type="password" placeholder="Password" class="input-field" formControlName="password" required>
<label class="input-field-label">Password</label>
<div class="input-errors">
- <label
- *ngIf="loginUserFormGroup.get('password')?.errors?.required"
- class="error"
- >*Required</label
- >
+ <label *ngIf="loginUserFormGroup.get('password')?.errors?.required" class="error">*Required</label>
</div>
</section>
- <hr />
+ <hr>
<button class="submit-btn" type="submit">Submit</button>
<app-error-bar></app-error-bar>
</form>
- <button
- class="submit-btn redirect-to-register"
- (click)="onRedirectRegister()"
- >
- New to DevHive? Register instead
- </button>
- <app-footer></app-footer>
+ <button class="submit-btn redirect-to-register" (click)="onRedirectRegister()">New to DevHive? Register instead</button>
</main>