diff --git a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts index 5aacbd457..ebe9983c0 100644 --- a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts +++ b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.component.ts @@ -9,11 +9,16 @@ import { MAT_DIALOG_DATA } from '@angular/material/dialog'; standalone: false }) export class ShowAccessTokenDialog { - public isAgreeButtonDisabled = true; + public isCreateAccountButtonDisabled = true; + public disclaimerChecked = false; public constructor(@Inject(MAT_DIALOG_DATA) public data: any) {} - public enableAgreeButton() { - this.isAgreeButtonDisabled = false; + public onChangeDislaimerChecked() { + this.disclaimerChecked = !this.disclaimerChecked; + } + + public enableCreateAccountButton() { + this.isCreateAccountButtonDisabled = false; } } diff --git a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html index 0a6a2e5e3..9126dc359 100644 --- a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html +++ b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.html @@ -5,44 +5,106 @@ }
-
- - Security Token - - +
+ + Continue + +
- -
-

- I agree to have stored my Security Token from above in a secure - place. If I lose it, I cannot get my account back. -

- -
- - + + + Security Token +
+ Here is your security token. It is only visible once, please store and + keep it in a safe place. +
+ + Security Token + +
+ +
+
+
+
+ +
+
+
+ + + + + + + + + + + + + + + +
diff --git a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.module.ts b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.module.ts index d537fbe7f..89438126d 100644 --- a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.module.ts +++ b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.module.ts @@ -1,12 +1,18 @@ import { ClipboardModule } from '@angular/cdk/clipboard'; +import { STEPPER_GLOBAL_OPTIONS } from '@angular/cdk/stepper'; import { TextFieldModule } from '@angular/cdk/text-field'; import { CommonModule } from '@angular/common'; import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; +import { MatCheckboxModule } from '@angular/material/checkbox'; import { MatDialogModule } from '@angular/material/dialog'; -import { MatFormFieldModule } from '@angular/material/form-field'; +import { + MAT_FORM_FIELD_DEFAULT_OPTIONS, + MatFormFieldModule +} from '@angular/material/form-field'; import { MatInputModule } from '@angular/material/input'; +import { MatStepperModule } from '@angular/material/stepper'; import { ShowAccessTokenDialog } from './show-access-token-dialog.component'; @@ -21,7 +27,23 @@ import { ShowAccessTokenDialog } from './show-access-token-dialog.component'; MatFormFieldModule, MatInputModule, ReactiveFormsModule, - TextFieldModule + TextFieldModule, + MatStepperModule, + MatCheckboxModule + ], + providers: [ + { + provide: STEPPER_GLOBAL_OPTIONS, + useValue: { + displayDefaultIndicatorType: false + } + }, + { + provide: MAT_FORM_FIELD_DEFAULT_OPTIONS, + useValue: { + subscriptSizing: 'dynamic' + } + } ], schemas: [CUSTOM_ELEMENTS_SCHEMA] }) diff --git a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.scss b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.scss index dc9093b45..c43725e93 100644 --- a/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.scss +++ b/apps/client/src/app/pages/register/show-access-token-dialog/show-access-token-dialog.scss @@ -1,2 +1,14 @@ :host { + .terms-and-conditions { + text-align: justify; + + a { + color: rgba(var(--palette-primary-500), 1); + font-weight: 500; + + &:hover { + color: rgba(var(--palette-primary-300), 1); + } + } + } }