From d84a70374731e0e0fab1dc659eaa9f1d4cc39902 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Tue, 11 Mar 2025 20:53:03 +0100 Subject: [PATCH] Minor improvements --- .../show-access-token-dialog.component.ts | 10 ++-- .../show-access-token-dialog.html | 60 +++++++------------ .../show-access-token-dialog.scss | 14 +---- 3 files changed, 30 insertions(+), 54 deletions(-) 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 fa47e71ea..fbf2f1186 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 @@ -11,18 +11,18 @@ import { Subject } from 'rxjs'; import { takeUntil } from 'rxjs/operators'; @Component({ - selector: 'gf-show-access-token-dialog', changeDetection: ChangeDetectionStrategy.OnPush, + selector: 'gf-show-access-token-dialog', + standalone: false, styleUrls: ['./show-access-token-dialog.scss'], - templateUrl: 'show-access-token-dialog.html', - standalone: false + templateUrl: 'show-access-token-dialog.html' }) export class ShowAccessTokenDialog { @ViewChild(MatStepper) stepper!: MatStepper; public accessToken: string; public authToken: string; - public disclaimerChecked = false; public isCreateAccountButtonDisabled = true; + public isDisclaimerChecked = false; public role: string; private unsubscribeSubject = new Subject(); @@ -33,7 +33,7 @@ export class ShowAccessTokenDialog { ) {} public onChangeDislaimerChecked() { - this.disclaimerChecked = !this.disclaimerChecked; + this.isDisclaimerChecked = !this.isDisclaimerChecked; } public enableCreateAccountButton() { 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 f6691e3bd..4cb15ad08 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 @@ -4,56 +4,49 @@ {{ role }} } -
- - +
+ + Terms and Conditions -
- Please take a moment to read and accept the - + + Please keep your security token safe. If you lose it, you will not be + able to recover your account. - terms and conditions. Remember to keep your security token safe. If you lose it, you will - not be able to recover your account.
- I agree to the terms and understand that if I lose my security token, I - cannot recover my account. + I understand that if I lose my security token, I cannot recover my + account. -
+
- + Security Token -
- Here is your security token. It is only visible once, please store and - keep it in a safe place. +
+ Here is your security token. It is only visible once, please store + and keep it in a safe place.
Security Token @@ -72,11 +65,11 @@ (click)="enableCreateAccountButton()" > - Copy to clipboard + Copy to clipboard
-
+