1
|
<div class="login">
|
2
|
<div class="container">
|
3
|
<div class="login-form-wrapper">
|
4
|
<div class="card">
|
5
|
<div class="card-header">
|
6
|
<div>
|
7
|
<h1>SensLog</h1>
|
8
|
<div class="login-logo">
|
9
|
<img src="/assets/images/senslog-logo.svg" alt="Logo SensLog">
|
10
|
</div>
|
11
|
</div>
|
12
|
<div class="login-heading">Sign in</div>
|
13
|
</div>
|
14
|
<div class="card-body">
|
15
|
<form [formGroup]="loginForm" (ngSubmit)="doLogin()">
|
16
|
<div class="input-group form-group">
|
17
|
<div class="input-group-prepend">
|
18
|
<span class="input-group-text"><i class="fas fa-user"></i></span>
|
19
|
</div>
|
20
|
<input type="text" formControlName="username" class="form-control" id="username" placeholder="Username"/>
|
21
|
</div>
|
22
|
<div class="input-group form-group">
|
23
|
<div class="input-group-prepend">
|
24
|
<span class="input-group-text"><i class="fas fa-key"></i></span>
|
25
|
</div>
|
26
|
<input type="password" formControlName="password" class="form-control" id="password" placeholder="Password"/>
|
27
|
</div>
|
28
|
<div class="form-group text-center mt-4">
|
29
|
<button pButton ttype="submit" label="Login" class="p-button-primary dark" id="loginButton"><i class="fas fa-sign-in-alt"></i></button>
|
30
|
</div>
|
31
|
</form>
|
32
|
</div>
|
33
|
</div>
|
34
|
</div>
|
35
|
</div>
|
36
|
</div>
|