From: Michael Tremer Date: Fri, 27 Nov 2020 17:39:51 +0000 (+0000) Subject: people: Update design of profile edit page X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ea22c760adbbc97d1a6856ab334dfbb18b2b6f2e;p=ipfire.org.git people: Update design of profile edit page Signed-off-by: Michael Tremer --- diff --git a/src/templates/people/user-edit.html b/src/templates/people/user-edit.html index 1e05d0ae..70f32713 100644 --- a/src/templates/people/user-edit.html +++ b/src/templates/people/user-edit.html @@ -2,138 +2,150 @@ {% block title %}{{ account }} - {{ _("Edit") }}{% end block %} -{% block content %} -

{{ _("Edit") }}

+{% block container %} +
+
+

{{ _("Edit Profile") }}

+ +

+ {{ account }} +

+
+
-
- {% raw xsrf_form_html() %} +
+
+ + {% 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") }} - -
-
+ + {{ _("Upload a new avatar") }} + +
+ - {% if account.has_mail() %} -
- {{ _("Email") }} + {% if account.has_mail() %} +
+ {{ _("Email") }} -
- +
+ - + - - {{ _("All emails will be forwarded to this email address") }} - -
-
- {% end %} + + {{ _("All emails will be forwarded to this email address") }} + + +
+ {% end %} -
- {{ _("Telephone") }} +
+ {{ _("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") }} - -
- {% end %} -
+ + {{ _("All calls will be forwarded to this phone number or SIP URI") }} + + + {% end %} +
- -
+ + + + {% end block %}