From 95e47cd9a61f140114414904519d7cd12337cada Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Sat, 18 Nov 2023 12:14:12 +0200 Subject: [PATCH] Interface preparation for 2FA and WebAuthn --- cp/resources/views/admin/profile/profile.twig | 154 +++++++++++++----- 1 file changed, 109 insertions(+), 45 deletions(-) diff --git a/cp/resources/views/admin/profile/profile.twig b/cp/resources/views/admin/profile/profile.twig index 28f58b2..472c855 100644 --- a/cp/resources/views/admin/profile/profile.twig +++ b/cp/resources/views/admin/profile/profile.twig @@ -24,57 +24,121 @@
-
-
- {{ csrf.field | raw }} -
{{ __('Details') }}
-
-
-
{{ __('User Name') }}
-
{{ username }}
+
+ +
+
+
+
+

{{ __('Details') }}

+
+
+ + {{ csrf.field | raw }} +
+
+
{{ __('User Name') }}
+
{{ username }}
+
+
+
{{ __('Email') }}
+
{{ email }}
+
+
+
{{ __('Status') }}
+ {{ status }} +
+
+
{{ __('Role') }}
+ {{ role }} +
+
+

{{ __('Change Password') }}

+
+
+
{{ __('Old Password') }}
+ + {% if errors.old_password %} + {{ errors.old_password | first }} + {% endif %} +
+
+
{{ __('New Password') }}
+ + {% if errors.new_password %} + {{ errors.new_password | first }} + {% endif %} +
+
-
-
{{ __('Email') }}
-
{{ email }}
-
-
-
{{ __('Status') }}
- {{ status }} -
-
-
{{ __('Role') }}
- {{ role }} -
-
-

{{ __('Change Password') }}

-
-
-
{{ __('Old Password') }}
- - {% if errors.old_password %} - {{ errors.old_password | first }} - {% endif %} -
-
-
{{ __('New Password') }}
- - {% if errors.new_password %} - {{ errors.new_password | first }} - {% endif %} + +
-