-
Notifications
You must be signed in to change notification settings - Fork 56
Expand file tree
/
Copy pathlogin.component.html
More file actions
67 lines (53 loc) · 2.98 KB
/
login.component.html
File metadata and controls
67 lines (53 loc) · 2.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<script src="https://kit.fontawesome.com/4428f99891.js" crossorigin="anonymous"></script>
<app-navbar>
</app-navbar>
<div class="hospital-login {{light}}">
<div class="container">
<div class="row d-flex justify-content-center">
<div class="col-md-6 col-lg-5 col-sm-11 col-xs-8">
<div class="col-md-12 col-12 text-center">
<h1 id="hlogin_heading" class="mobile_view">Hospital Login</h1>
</div>
<div class="card m-0 mar-top" [@flyInOut]>
<form [formGroup]="HLoginForm" class="card_container">
<mat-form-field>
<!-- <i class="fa-solid fa-user"></i> -->
<input class="ip_field" matInput placeholder="Email" type="email" formControlName="emailId">
<mat-error *ngIf="email?.invalid && email?.touched">
Please, enter valid email address
</mat-error>
</mat-form-field>
<mat-form-field>
<span class="input-group-append" (click)="toggleFieldTextType()" style="float: right;position: absolute;margin-left: 95%;cursor: pointer;">
<mat-icon *ngIf="fieldTextType">visibility</mat-icon>
<mat-icon *ngIf="!fieldTextType">visibility_off</mat-icon>
</span>
<input class="ip_field" matInput [type]="fieldTextType ? 'text' : 'password'" placeholder="Password" formControlName="pass">
<mat-error *ngIf="password?.invalid && password?.touched">
Please enter password in correct format
</mat-error>
</mat-form-field>
<br>
<button mat-raised-button type="submit" style="margin-left: 2%;" (click)="submit()" [disabled]="HLoginForm.invalid" color="primary">Login</button>
<a class="forgot_pass" routerLink="/h-forget-pas">Forgot Password</a>
</form>
</div>
<div class="col-md-12 col-12 ">
<h3 class="text-center">Don't have an account? <a routerLink="/hospital-signup">Signup</a></h3>
</div>
</div>
<div class="col-md-6 col-lg 7 col-sm-12 d-flex justify-content-center" [@expand]>
<div class="row">
<div class="col-md-12 col-12 text-center">
<h1 id="hlogin_heading" class="hlogin_heading">Hospital Login</h1>
</div>
<div class="col-md-12 col-12 text-center">
<img class="image grow2" src="../../../assets/images/hospital-login.svg">
</div>
</div>
</div>
</div>
</div>
<br>
</div>
<app-footer></app-footer>