From f8026d2e8684e6b1eef4bc48bfe2fd5ed438a2db Mon Sep 17 00:00:00 2001 From: Rico Hoppe Date: Tue, 1 Aug 2023 12:02:19 +0000 Subject: [PATCH] users/edit.html: updated to new design --- src/templates/users/edit.html | 256 +++++++++++++++++++++------------- 1 file changed, 157 insertions(+), 99 deletions(-) diff --git a/src/templates/users/edit.html b/src/templates/users/edit.html index 5c4d4e78..0235b636 100644 --- a/src/templates/users/edit.html +++ b/src/templates/users/edit.html @@ -3,149 +3,207 @@ {% block title %}{{ account }} - {{ _("Edit") }}{% end block %} {% block container %} -
-
-

{{ _("Edit Profile") }}

- -

- {{ account }} -

+
+
+
+ + +

{{ _("Edit Profile") }}

+
{{ account }} | {{ account.uid }}
+
-
+
-
+
{% raw xsrf_form_html() %} -
-
- +
+
+
+ - -
+ +
-
- +
+ - -
-
+ +
-
- +
+ - + +
+
-
- +
+
+
+ - -
+ +
+
-
-
- +
+
+ - -
+ +
-
- +
+ - + +
-
- +
+
+
+ - + - {% for c in countries %} - - {% end %} - + {% for c in countries %} + + {% end %} + +
+
+
-
- {{ _("Tell Us Who You Are") }} +
+

{{ _("Tell Us Who You Are") }}

-
- - - {{ _("You can use Markdown syntax as you know it from the IPFire Wiki") }} - +

+ {{ _("You can use Markdown syntax as you know it from the IPFire Wiki") }} +

+
-
- - - - - - {{ _("Upload a new avatar") }} - +
+
+
+
+ +
+
-
+
{% if account.has_mail() %} -
- {{ _("Email") }} - -
- - - - - - {{ _("All emails will be forwarded to this email address") }} - +
+
+
+ + +
+
+

+ +

+
+
+ +

+ {{ _("All emails will be forwarded to this email address") }} +

+
-
+
{% end %} -
- {{ _("Telephone") }} +
+
+
+ -
- + - - - {{ _("Enter your landline and mobile phone numbers") }} - -
+

+ {{ _("Enter your landline and mobile phone numbers") }} +

+
- {% if account.has_sip() %} -
- + {% if account.has_sip() %} +
+ - + - - {{ _("All calls will be forwarded to this phone number or SIP URI") }} - +

+ {{ _("All calls will be forwarded to this phone number or SIP URI") }} +

+
+ {% end %} +
+ +
+
+
+
- {% end %} -
+
-
-
-- 2.47.3