diff --git a/cp/resources/views/admin/profile/profile.twig b/cp/resources/views/admin/profile/profile.twig index 5e065cc..d1ba21b 100644 --- a/cp/resources/views/admin/profile/profile.twig +++ b/cp/resources/views/admin/profile/profile.twig @@ -24,210 +24,197 @@
{% include 'partials/flash.twig' %} -
- -
-
+
+
+
+
+ +
-

{{ __('Details') }}

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

{{ __('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 %} +
+
+ + +
+
+ {% if secret is defined %} +

{{ __('Two-Factor Authentication') }} (2FA)

+
+ {{ csrf.field | raw }} +

1. {{ __('Download Google Authenticator app') }}

+ +

2. {{ __('Scan the QR code with your authentication app') }}

+
+ 2FA QR Code +
+
+

{{ __('Manual Entry Secret') }}

+

{{ secret }}

+ + {{ __('If you\'re unable to scan the QR code, enter this secret manually into your authentication app. The secret is case-sensitive and should be entered exactly as shown.') }} + +
+
+ + + + {{ __('Enter the code generated by your authentication app. This code verifies that your 2FA setup is working correctly. Once entered, click') }} {{ __('Save 2FA Settings') }} {{ __('to activate two-factor authentication for your account.') }} + +
+ +
+ {% else %} +

{{ __('Two-Factor Authentication') }} (2FA)

+
+ +
+
{{ __('Your account is secured with an additional layer of protection.') }}
+

{{ __('2FA is currently') }} {{ __('enabled') }} {{ __('for your account. If you encounter any issues or need to disable 2FA, please contact our support team for assistance.') }}

+
+
+ {% endif %} +
+
+ {% if weba is defined %} +

{{ __('WebAuthn Authentication') }}

+
+ +
+
{{ __('Your account is secured with an additional layer of protection.') }}
+

{{ __('WebAuthn is currently') }} {{ __('enabled') }} {{ __('for your account. If you encounter any issues or need to disable WebAuthn, please contact our support team for assistance.') }}

+
+
+ +
+ + + + + + + + + {% for device in weba %} + + + + + {% else %} + + + + {% endfor %} + +
{{ __('Device/Browser Info') }}{{ __('Registration Date') }}
{{ device.user_agent }}{{ device.created_at }}
{{ __('No devices found.') }}
+
+ {% else %} + {% if isWebaEnabled %} +

{{ __('WebAuthn Authentication') }}

+

{{ __('Secure your account with WebAuthn. Click the button below to register your device for passwordless sign-in.') }}

+ + {% else %} +

{{ __('WebAuthn Authentication') }}{{ __('Disabled') }}

+

{{ __('WebAuthn is currently disabled for this installation. To enable WebAuthn authentication, please contact the registry administrator.') }}

+ {% endif %} + {% endif %} +
+
+

{{ __('User Audit Log') }}

+

{{ __('Track and review all user activities in your account below. Monitor logins, profile changes, and other key actions to ensure security and transparency.') }}

+
+
+
-
-
{{ __('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 %} -
-
-
- - -
-
- {% if secret is defined %} -
-

{{ __('Two-Factor Authentication') }} (2FA)

-
- {{ csrf.field | raw }} -

1. {{ __('Download Google Authenticator app') }}

- -

2. {{ __('Scan the QR code with your authentication app') }}

-
- 2FA QR Code -
-
-

{{ __('Manual Entry Secret') }}

-

{{ secret }}

- - {{ __('If you\'re unable to scan the QR code, enter this secret manually into your authentication app. The secret is case-sensitive and should be entered exactly as shown.') }} - -
-
- - - - {{ __('Enter the code generated by your authentication app. This code verifies that your 2FA setup is working correctly. Once entered, click') }} {{ __('Save 2FA Settings') }} {{ __('to activate two-factor authentication for your account.') }} - -
- -
-
- {% else %} -
-

{{ __('Two-Factor Authentication') }} (2FA)

-
- -
-
{{ __('Your account is secured with an additional layer of protection.') }}
-

{{ __('2FA is currently') }} {{ __('enabled') }} {{ __('for your account. If you encounter any issues or need to disable 2FA, please contact our support team for assistance.') }}

-
-
-
- {% endif %} -
-
- {% if weba is defined %} -
-

{{ __('WebAuthn Authentication') }}

-
- -
-
{{ __('Your account is secured with an additional layer of protection.') }}
-

{{ __('WebAuthn is currently') }} {{ __('enabled') }} {{ __('for your account. If you encounter any issues or need to disable WebAuthn, please contact our support team for assistance.') }}

-
-
- -
- - - - - - - - - {% for device in weba %} - - - - - {% else %} - - - - {% endfor %} - -
{{ __('Device/Browser Info') }}{{ __('Registration Date') }}
{{ device.user_agent }}{{ device.created_at }}
{{ __('No devices found.') }}
-
-
- {% else %} - {% if isWebaEnabled %} -
-

{{ __('WebAuthn Authentication') }}

-

{{ __('Secure your account with WebAuthn. Click the button below to register your device for passwordless sign-in.') }}

- -
- {% else %} -
-

{{ __('WebAuthn Authentication') }}{{ __('Disabled') }}

-

{{ __('WebAuthn is currently disabled for this installation. To enable WebAuthn authentication, please contact the registry administrator.') }}

-
- {% endif %} - {% endif %} -
-
-
-

{{ __('User Audit Log') }}

-

{{ __('Track and review all user activities in your account below. Monitor logins, profile changes, and other key actions to ensure security and transparency.') }}

-
-
-
-
+
{% include 'partials/footer.twig' %}