From d235f6b0d1054a2a3451dacade927caefce8f30c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 5 Dec 2017 16:48:26 +0100 Subject: Design signup and login pages --- client/src/app/login/login.component.html | 53 +++++++++++++++---------------- client/src/app/login/login.component.scss | 8 +++++ client/src/app/login/login.component.ts | 3 +- 3 files changed, 36 insertions(+), 28 deletions(-) create mode 100644 client/src/app/login/login.component.scss (limited to 'client/src/app/login') 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 @@ -
-
- -

Login

+
+
+ Login +
-
{{ error }}
+
{{ error }}
-
-
- - -
- {{ formErrors.username }} -
+ +
+ + +
+ {{ formErrors.username }}
+
-
- - -
- {{ formErrors.password }} -
+
+ + +
+ {{ formErrors.password }}
+
- - -
+ +
diff --git a/client/src/app/login/login.component.scss b/client/src/app/login/login.component.scss new file mode 100644 index 000000000..fd6981c59 --- /dev/null +++ b/client/src/app/login/login.component.scss @@ -0,0 +1,8 @@ +input:not([type=submit]) { + @include peertube-input-text(340px); + display: block; +} + +input[type=submit] { + @include peertube-button; +} diff --git a/client/src/app/login/login.component.ts b/client/src/app/login/login.component.ts index 32dc9e36f..dfede5924 100644 --- a/client/src/app/login/login.component.ts +++ b/client/src/app/login/login.component.ts @@ -7,7 +7,8 @@ import { FormReactive } from '../shared' @Component({ selector: 'my-login', - templateUrl: './login.component.html' + templateUrl: './login.component.html', + styleUrls: [ './login.component.scss' ] }) export class LoginComponent extends FormReactive implements OnInit { -- cgit v1.2.3 From a2b817d322ef4074bdaaf2589ada567f338323f4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 6 Dec 2017 09:19:25 +0100 Subject: Better error messages --- client/src/app/login/login.component.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src/app/login') diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index 82b70c98c..24807987c 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html @@ -10,9 +10,9 @@ -
+
{{ formErrors.username }}
@@ -21,9 +21,9 @@ -
+
{{ formErrors.password }}
-- cgit v1.2.3 From 7b272fd73f1ea67e83c1924f2cc33503b8759811 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Dec 2017 10:02:01 +0100 Subject: Fix dropdown menu in video watch --- client/src/app/login/login.component.scss | 1 + 1 file changed, 1 insertion(+) (limited to 'client/src/app/login') diff --git a/client/src/app/login/login.component.scss b/client/src/app/login/login.component.scss index fd6981c59..3b4326de4 100644 --- a/client/src/app/login/login.component.scss +++ b/client/src/app/login/login.component.scss @@ -5,4 +5,5 @@ input:not([type=submit]) { input[type=submit] { @include peertube-button; + @include orange-button; } -- cgit v1.2.3