diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-06 11:01:01 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-10-06 11:01:01 +0200 |
commit | ce83f001cf95abecab9fe18a2084c6c4cee2ccc0 (patch) | |
tree | 47625b5df5514b902f43ce31cab520903853fcf4 | |
parent | The export to HTML webzine functionality has been removed. (diff) | |
download | newspipe-ce83f001cf95abecab9fe18a2084c6c4cee2ccc0.tar.gz newspipe-ce83f001cf95abecab9fe18a2084c6c4cee2ccc0.tar.bz2 newspipe-ce83f001cf95abecab9fe18a2084c6c4cee2ccc0.zip |
Improved layout of the profile page.
-rw-r--r-- | src/web/templates/profile.html | 24 |
1 files changed, 17 insertions, 7 deletions
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 @@ <div class="row"> <div class="col-md-12"> <h2>Edit your profile</h2> - <form action="" method="post" name="save"> - {{ form.hidden_tag() }} + </div> + </div> + <form action="" method="post" name="save"> + <div class="row"> + {{ form.hidden_tag() }} + <div class="col-md-6"> {{ form.nickname.label }} {{ form.nickname(class_="form-control") }} {% for error in form.nickname.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} @@ -26,18 +30,24 @@ {{ form.password_conf.label }} {{ form.password_conf(class_="form-control") }} {% for error in form.password_conf.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + </div> + + <div class="col-md-6"> + {{ form.webpage.label }} + {{ form.webpage(class_="form-control") }} {% for error in form.webpage.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} {{ form.is_public_profile.label }} {{ form.is_public_profile(class_="form-control") }} {% for error in form.is_public_profile.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} <p>{{ _('Your profile will be available <a href="%(url)s">here</a>.', url=url_for('user.profile_public', nickname=user.nickname) ) }}</p> - - {{ form.webpage.label }} - {{ form.webpage(class_="form-control") }} {% for error in form.webpage.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + </div> + </div> + <div class="row"> + <div class="col-md-12"> <br /> {{ form.submit(class_="btn btn-default") }} - </form> + </div> </div> - </div> + </form> </div> <div class="row"> <div class="col-md-12"> |