diff options
Diffstat (limited to 'client/src/app/signup')
-rw-r--r-- | client/src/app/signup/signup.component.html | 10 | ||||
-rw-r--r-- | client/src/app/signup/signup.component.scss | 8 | ||||
-rw-r--r-- | client/src/app/signup/signup.component.ts | 3 |
3 files changed, 15 insertions, 6 deletions
diff --git a/client/src/app/signup/signup.component.html b/client/src/app/signup/signup.component.html index b8b7826eb..1e9f7f949 100644 --- a/client/src/app/signup/signup.component.html +++ b/client/src/app/signup/signup.component.html | |||
@@ -1,7 +1,8 @@ | |||
1 | <div class="row"> | 1 | <div class="margin-content"> |
2 | <div class="content-padding"> | ||
3 | 2 | ||
4 | <h3>Signup</h3> | 3 | <div class="title-page title-page-single"> |
4 | Signup | ||
5 | </div> | ||
5 | 6 | ||
6 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> | 7 | <div *ngIf="error" class="alert alert-danger">{{ error }}</div> |
7 | 8 | ||
@@ -39,8 +40,7 @@ | |||
39 | </div> | 40 | </div> |
40 | </div> | 41 | </div> |
41 | 42 | ||
42 | <input type="submit" value="Signup" class="btn btn-default" [disabled]="!form.valid"> | 43 | <input type="submit" value="Signup" [disabled]="!form.valid"> |
43 | </form> | 44 | </form> |
44 | 45 | ||
45 | </div> | ||
46 | </div> | 46 | </div> |
diff --git a/client/src/app/signup/signup.component.scss b/client/src/app/signup/signup.component.scss new file mode 100644 index 000000000..fd6981c59 --- /dev/null +++ b/client/src/app/signup/signup.component.scss | |||
@@ -0,0 +1,8 @@ | |||
1 | input:not([type=submit]) { | ||
2 | @include peertube-input-text(340px); | ||
3 | display: block; | ||
4 | } | ||
5 | |||
6 | input[type=submit] { | ||
7 | @include peertube-button; | ||
8 | } | ||
diff --git a/client/src/app/signup/signup.component.ts b/client/src/app/signup/signup.component.ts index 28e1ed0a8..13390a32a 100644 --- a/client/src/app/signup/signup.component.ts +++ b/client/src/app/signup/signup.component.ts | |||
@@ -16,7 +16,8 @@ import { UserCreate } from '../../../../shared' | |||
16 | 16 | ||
17 | @Component({ | 17 | @Component({ |
18 | selector: 'my-signup', | 18 | selector: 'my-signup', |
19 | templateUrl: './signup.component.html' | 19 | templateUrl: './signup.component.html', |
20 | styleUrls: [ './signup.component.scss' ] | ||
20 | }) | 21 | }) |
21 | export class SignupComponent extends FormReactive implements OnInit { | 22 | export class SignupComponent extends FormReactive implements OnInit { |
22 | error: string = null | 23 | error: string = null |