diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-05 16:48:26 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-05 16:48:26 +0100 |
commit | d235f6b0d1054a2a3451dacade927caefce8f30c (patch) | |
tree | dd6377523df36fd7c308e39f59724981fdb6f831 /client/src/app/login/login.component.html | |
parent | 35fb2b68ff9cd9b755dae6f073c32a97dc237e35 (diff) | |
download | PeerTube-d235f6b0d1054a2a3451dacade927caefce8f30c.tar.gz PeerTube-d235f6b0d1054a2a3451dacade927caefce8f30c.tar.zst PeerTube-d235f6b0d1054a2a3451dacade927caefce8f30c.zip |
Design signup and login pages
Diffstat (limited to 'client/src/app/login/login.component.html')
-rw-r--r-- | client/src/app/login/login.component.html | 53 |
1 files changed, 26 insertions, 27 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index bcea0a27a..82b70c98c 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html | |||
@@ -1,34 +1,33 @@ | |||
1 | <div class="row"> | 1 | <div class="margin-content"> |
2 | <div class="content-padding"> | 2 | <div class="title-page title-page-single"> |
3 | 3 | Login | |
4 | <h3>Login</h3> | 4 | </div> |
5 | 5 | ||
6 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | 6 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> |
7 | 7 | ||
8 | <form role="form" (ngSubmit)="login()" [formGroup]="form"> | 8 | <form role="form" (ngSubmit)="login()" [formGroup]="form"> |
9 | <div class="form-group"> | 9 | <div class="form-group"> |
10 | <label for="username">Username</label> | 10 | <label for="username">Username</label> |
11 | <input | 11 | <input |
12 | type="text" class="form-control" id="username" placeholder="Username" required | 12 | type="text" id="username" placeholder="Username" required |
13 | formControlName="username" | 13 | formControlName="username" |
14 | > | 14 | > |
15 | <div *ngIf="formErrors.username" class="alert alert-danger"> | 15 | <div *ngIf="formErrors.username" class="alert alert-danger"> |
16 | {{ formErrors.username }} | 16 | {{ formErrors.username }} |
17 | </div> | ||
18 | </div> | 17 | </div> |
18 | </div> | ||
19 | 19 | ||
20 | <div class="form-group"> | 20 | <div class="form-group"> |
21 | <label for="password">Password</label> | 21 | <label for="password">Password</label> |
22 | <input | 22 | <input |
23 | type="password" class="form-control" name="password" id="password" placeholder="Password" required | 23 | type="password" name="password" id="password" placeholder="Password" required |
24 | formControlName="password" | 24 | formControlName="password" |
25 | > | 25 | > |
26 | <div *ngIf="formErrors.password" class="alert alert-danger"> | 26 | <div *ngIf="formErrors.password" class="alert alert-danger"> |
27 | {{ formErrors.password }} | 27 | {{ formErrors.password }} |
28 | </div> | ||
29 | </div> | 28 | </div> |
29 | </div> | ||
30 | 30 | ||
31 | <input type="submit" value="Login" class="btn btn-default" [disabled]="!form.valid"> | 31 | <input type="submit" value="Login" [disabled]="!form.valid"> |
32 | </form> | 32 | </form> |
33 | </div> | ||
34 | </div> | 33 | </div> |