From ce83f001cf95abecab9fe18a2084c6c4cee2ccc0 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Thu, 6 Oct 2016 11:01:01 +0200 Subject: Improved layout of the profile page. --- src/web/templates/profile.html | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'src/web/templates/profile.html') diff --git a/src/web/templates/profile.html b/src/web/templates/profile.html index e9dbd877..a8eac38f 100644 --- a/src/web/templates/profile.html +++ b/src/web/templates/profile.html @@ -12,9 +12,13 @@

Edit your profile

-
- {{ form.hidden_tag() }} +
+
+ +
+ {{ form.hidden_tag() }} +
{{ form.nickname.label }} {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} {{ error }}
{% endfor %} @@ -26,18 +30,24 @@ {{ form.password_conf.label }} {{ form.password_conf(class_="form-control") }} {% for error in form.password_conf.errors %} {{ error }}
{% endfor %} +
+ +
+ {{ form.webpage.label }} + {{ form.webpage(class_="form-control") }} {% for error in form.webpage.errors %} {{ error }}
{% endfor %} {{ form.is_public_profile.label }} {{ form.is_public_profile(class_="form-control") }} {% for error in form.is_public_profile.errors %} {{ error }}
{% endfor %}

{{ _('Your profile will be available here.', url=url_for('user.profile_public', nickname=user.nickname) ) }}

- - {{ form.webpage.label }} - {{ form.webpage(class_="form-control") }} {% for error in form.webpage.errors %} {{ error }}
{% endfor %} +
+
+
+

{{ form.submit(class_="btn btn-default") }} - +
- +
-- cgit