aboutsummaryrefslogtreecommitdiff
path: root/src/app/components/login/login.component.html
diff options
context:
space:
mode:
authorSyndamia <kamen.d.mladenov@protonmail.com>2021-02-24 19:02:50 +0200
committerSyndamia <kamen.d.mladenov@protonmail.com>2021-02-24 19:02:50 +0200
commite43399dc97bbacf1d44a875fe1d52e9030994fa1 (patch)
treef3fea550781a7a59b24e3db8f3e948929895f206 /src/app/components/login/login.component.html
parentb557d17cf87a79b0117bcf82a998092bd72b4df5 (diff)
downloadDevHive-Angular-e43399dc97bbacf1d44a875fe1d52e9030994fa1.tar
DevHive-Angular-e43399dc97bbacf1d44a875fe1d52e9030994fa1.tar.gz
DevHive-Angular-e43399dc97bbacf1d44a875fe1d52e9030994fa1.zip
Improved semantics of logn and register pages
Diffstat (limited to 'src/app/components/login/login.component.html')
-rw-r--r--src/app/components/login/login.component.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/app/components/login/login.component.html b/src/app/components/login/login.component.html
index 13f9bbf..1fda5b5 100644
--- a/src/app/components/login/login.component.html
+++ b/src/app/components/login/login.component.html
@@ -1,30 +1,30 @@
-<div id="content">
- <div class="title">Login</div>
+<main id="content">
+ <summary class="title">Login</div>
<form [formGroup]="loginUserFormGroup" (ngSubmit)="onSubmit()">
<hr>
- <div class="input-selection">
+ <section class="input-selection">
<input type="text" placeholder="Username" class="input-field" formControlName="username" required>
<label class="input-field-label">Username</label>
- <div class="input-errors">
+ <mark class="input-errors">
<label *ngIf="loginUserFormGroup.get('username')?.errors?.required" class="error">*Required</label>
- </div>
- </div>
+ </mark>
+ </section>
- <div class="input-selection">
+ <section class="input-selection">
<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>
</div>
- </div>
+ </section>
<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>
-</div>
+</main>