Password
+ [ngClass]="{ 'is-invalid': submitted && formCtrls.password.errors }" tabindex="5" />
Password is required
The pattern of the password ([A-Za-z0-9_-]
{{ '{' }}8,15{{ '}' }})
diff --git a/Front/skydivelogs-app/src/app/login-user/login-user.component.html b/Front/skydivelogs-app/src/app/login-user/login-user.component.html
index 143f0c3..3add5bb 100644
--- a/Front/skydivelogs-app/src/app/login-user/login-user.component.html
+++ b/Front/skydivelogs-app/src/app/login-user/login-user.component.html
@@ -2,7 +2,8 @@
Username
-
+
Username is required
@@ -15,7 +16,7 @@
Password
+ [ngClass]="{ 'is-invalid': submitted && formCtrls.password.errors }" tabindex="1">
Password is required
diff --git a/Front/skydivelogs-app/src/app/login/login.component.css b/Front/skydivelogs-app/src/app/login/login.component.css
index e69de29..0bae421 100644
--- a/Front/skydivelogs-app/src/app/login/login.component.css
+++ b/Front/skydivelogs-app/src/app/login/login.component.css
@@ -0,0 +1,10 @@
+.main-div {
+ height: 100vh;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+.mat-card-title {
+ margin: 0 !important;
+}
diff --git a/Front/skydivelogs-app/src/app/login/login.component.html b/Front/skydivelogs-app/src/app/login/login.component.html
index 396f1ad..42b386c 100644
--- a/Front/skydivelogs-app/src/app/login/login.component.html
+++ b/Front/skydivelogs-app/src/app/login/login.component.html
@@ -1,16 +1,17 @@
-
-
- Login to the Skydive log
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+ Login to the Skydive log
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Front/skydivelogs-app/src/assets/css/custom-theme.scss b/Front/skydivelogs-app/src/assets/css/custom-theme.scss
index e70e863..26a6550 100644
--- a/Front/skydivelogs-app/src/assets/css/custom-theme.scss
+++ b/Front/skydivelogs-app/src/assets/css/custom-theme.scss
@@ -10,19 +10,19 @@
// Fonts
@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500');
-$fontConfig: (display-4: mat-typography-level(112px, 112px, 300, 'Roboto', -0.0134em),
- display-3: mat-typography-level(56px, 56px, 400, 'Roboto', -0.0089em),
- display-2: mat-typography-level(45px, 48px, 400, 'Roboto', 0.0000em),
- display-1: mat-typography-level(34px, 40px, 400, 'Roboto', 0.0074em),
- headline: mat-typography-level(24px, 32px, 400, 'Roboto', 0.0000em),
- title: mat-typography-level(20px, 32px, 500, 'Roboto', 0.0075em),
- subheading-2: mat-typography-level(16px, 28px, 400, 'Roboto', 0.0094em),
- subheading-1: mat-typography-level(15px, 24px, 500, 'Roboto', 0.0067em),
- body-2: mat-typography-level(14px, 24px, 500, 'Roboto', 0.0179em),
- body-1: mat-typography-level(14px, 20px, 400, 'Roboto', 0.0179em),
- button: mat-typography-level(14px, 14px, 500, 'Roboto', 0.0893em),
- caption: mat-typography-level(12px, 20px, 400, 'Roboto', 0.0333em),
- input: mat-typography-level(inherit, 1.125, 400, 'Roboto', 1.5px));
+$fontConfig: (display-4: mat-typography-level(112px, 112px, 300, 'Roboto,Helvetica Neue,sans-serif', -0.0134em),
+ display-3: mat-typography-level(56px, 56px, 400, 'Roboto,Helvetica Neue,sans-serif', -0.0089em),
+ display-2: mat-typography-level(45px, 48px, 400, 'Roboto,Helvetica Neue,sans-serif', 0.0000em),
+ display-1: mat-typography-level(34px, 40px, 400, 'Roboto,Helvetica Neue,sans-serif', 0.0074em),
+ headline: mat-typography-level(24px, 32px, 400, 'Roboto,Helvetica Neue,sans-serif', 0.0000em),
+ title: mat-typography-level(20px, 32px, 500, 'Roboto,Helvetica Neue,sans-serif', 0.0075em),
+ subheading-2: mat-typography-level(16px, 28px, 400, 'Roboto,Helvetica Neue,sans-serif', 0.0094em),
+ subheading-1: mat-typography-level(15px, 24px, 500, 'Roboto,Helvetica Neue,sans-serif', 0.0067em),
+ body-2: mat-typography-level(14px, 24px, 500, 'Roboto,Helvetica Neue,sans-serif', 0.0179em),
+ body-1: mat-typography-level(14px, 20px, 400, 'Roboto,Helvetica Neue,sans-serif', 0.0179em),
+ button: mat-typography-level(14px, 14px, 500, 'Roboto,Helvetica Neue,sans-serif', 0.0893em),
+ caption: mat-typography-level(12px, 20px, 400, 'Roboto,Helvetica Neue,sans-serif', 0.0333em),
+ input: mat-typography-level(inherit, 1.125, 400, 'Roboto,Helvetica Neue,sans-serif', 1.5px));
// Foreground Elements