mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
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 <kimsible@users.noreply.github.com> Co-authored-by: Rigel Kent <sendmemail@rigelk.eu>
This commit is contained in:
parent
10f26f4203
commit
40360c17d8
21 changed files with 542 additions and 253 deletions
|
@ -115,9 +115,7 @@ export const USER_DESCRIPTION_VALIDATOR: BuildFormValidator = {
|
|||
}
|
||||
|
||||
export const USER_TERMS_VALIDATOR: BuildFormValidator = {
|
||||
VALIDATORS: [
|
||||
Validators.requiredTrue
|
||||
],
|
||||
VALIDATORS: [ Validators.requiredTrue ],
|
||||
MESSAGES: {
|
||||
'required': $localize`You must agree with the instance terms in order to register on it.`
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue