From 0e32206bd465f0f19a2da8488fcd4c15b2e0f9ed Mon Sep 17 00:00:00 2001 From: Vladyslav_Prykhodko Date: Thu, 19 May 2022 15:04:15 +0300 Subject: [PATCH] UI: Refactoring --- .../two-factor-auth-settings.component.html | 141 +++++++++--------- .../two-factor-auth-settings.component.scss | 5 - .../two-factor-auth-settings.component.ts | 4 +- .../email-auth-dialog.component.html | 10 +- .../sms-auth-dialog.component.html | 7 +- .../totp-auth-dialog.component.html | 5 +- .../two-factor-auth-login.component.html | 4 +- .../assets/locale/locale.constant-en_US.json | 4 +- 8 files changed, 90 insertions(+), 90 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/admin/two-factor-auth-settings.component.html b/ui-ngx/src/app/modules/home/pages/admin/two-factor-auth-settings.component.html index 04cfd2c528..b5a06a6669 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/two-factor-auth-settings.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/two-factor-auth-settings.component.html @@ -31,6 +31,75 @@
+
+ admin.2fa.available-providers + + + + + + + {{ provider.value.providerType }} + + + + + + + + admin.2fa.issuer-name + + + {{ "admin.2fa.issuer-name-required" | translate }} + + + +
+ + admin.2fa.verification-message-template + + + {{ "admin.2fa.verification-message-template-required" | translate }} + + + {{ "admin.2fa.verification-message-template-pattern" | translate }} + + + + + admin.2fa.verification-code-lifetime + + + {{ "admin.2fa.verification-code-lifetime-required" | translate }} + + + {{ "admin.2fa.verification-code-lifetime-pattern" | translate }} + + +
+
+ + admin.2fa.verification-code-lifetime + + + {{ "admin.2fa.verification-code-lifetime-required" | translate }} + + + {{ "admin.2fa.verification-code-lifetime-pattern" | translate }} + + +
+
+
+
+ +
+
admin.2fa.verification-limitations
@@ -99,8 +168,7 @@ - {{ 'admin.2fa.verification-code-check-rate-limit' | translate }} @@ -134,75 +202,6 @@
-
- admin.2fa.available-providers - - - - - - - {{ provider.value.providerType }} - - - - - - - - admin.2fa.issuer-name - - - {{ "admin.2fa.issuer-name-required" | translate }} - - - -
- - admin.2fa.verification-message-template - - - {{ "admin.2fa.verification-message-template-required" | translate }} - - - {{ "admin.2fa.verification-message-template-pattern" | translate }} - - - - - admin.2fa.verification-code-lifetime - - - {{ "admin.2fa.verification-code-lifetime-required" | translate }} - - - {{ "admin.2fa.verification-code-lifetime-pattern" | translate }} - - -
-
- - admin.2fa.verification-code-lifetime - - - {{ "admin.2fa.verification-code-lifetime-required" | translate }} - - - {{ "admin.2fa.verification-code-lifetime-pattern" | translate }} - - -
-
-
-
- -
-