From 40360c17d82b33accb34ea974c275e17880c37aa Mon Sep 17 00:00:00 2001 From: Kimsible <1877318+kimsible@users.noreply.github.com> Date: Mon, 7 Dec 2020 16:34:07 +0100 Subject: [PATCH] improvements to login and sign-up pages (#3357) * New login form ui * Move InstanceAboutAccordion to shared components * Update closed registration alert text * Add alert for opened registration and move them bellow login form * Adjust flex block on signup and login views * Replace toggle accordion with expand on links in signup and login + scrollTo * Improve display of login alerts * Fix missing Component suffix * Define min-width instance-information block sign-up and login for mobile screens * Add ability to select specific panels in instanceAboutAccorddion * Add instance title and short-description to common instanceAboutAccordion * Clarify title alert in login page * Add step terms for signup Co-authored-by: kimsible Co-authored-by: Rigel Kent --- client/src/app/+login/login.component.html | 106 +++++++------ client/src/app/+login/login.component.scss | 148 +++++++++++++++--- client/src/app/+login/login.component.ts | 25 ++- client/src/app/+login/login.module.ts | 5 +- .../+register/custom-stepper.component.html | 2 +- .../+register/custom-stepper.component.scss | 10 ++ .../+register/custom-stepper.component.ts | 7 + .../register-step-terms.component.html | 18 +++ .../register-step-terms.component.ts | 47 ++++++ .../register-step-user.component.html | 16 -- .../+register/register-step-user.component.ts | 17 +- .../+signup/+register/register.component.html | 79 ++-------- .../+signup/+register/register.component.scss | 67 ++------ .../+signup/+register/register.component.ts | 62 ++++---- .../app/+signup/+register/register.module.ts | 4 +- .../shared/form-validators/user-validators.ts | 4 +- .../src/app/shared/shared-instance/index.ts | 1 + .../instance-about-accordion.component.html | 53 +++++++ .../instance-about-accordion.component.scss | 46 ++++++ .../instance-about-accordion.component.ts | 71 +++++++++ .../shared-instance/shared-instance.module.ts | 7 +- 21 files changed, 542 insertions(+), 253 deletions(-) create mode 100644 client/src/app/+signup/+register/register-step-terms.component.html create mode 100644 client/src/app/+signup/+register/register-step-terms.component.ts create mode 100644 client/src/app/shared/shared-instance/instance-about-accordion.component.html create mode 100644 client/src/app/shared/shared-instance/instance-about-accordion.component.scss create mode 100644 client/src/app/shared/shared-instance/instance-about-accordion.component.ts diff --git a/client/src/app/+login/login.component.html b/client/src/app/+login/login.component.html index 390d77dd7..a2362d978 100644 --- a/client/src/app/+login/login.component.html +++ b/client/src/app/+login/login.component.html @@ -8,73 +8,81 @@ - - -