diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-12 21:57:20 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2015-04-12 21:57:20 +0200 |
commit | 38bf1d1ab57df154ba4de31b2c7e85a972a5289e (patch) | |
tree | 5e155a5721bff91639bc930eb4c46e1da6302376 /pyaggr3g470r/templates/profile.html | |
parent | Typo. (diff) | |
download | newspipe-38bf1d1ab57df154ba4de31b2c7e85a972a5289e.tar.gz newspipe-38bf1d1ab57df154ba4de31b2c7e85a972a5289e.tar.bz2 newspipe-38bf1d1ab57df154ba4de31b2c7e85a972a5289e.zip |
Fixed a bug when creating a new user via the dashboard. An other little improvement for the main menu.
Diffstat (limited to 'pyaggr3g470r/templates/profile.html')
-rw-r--r-- | pyaggr3g470r/templates/profile.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/pyaggr3g470r/templates/profile.html b/pyaggr3g470r/templates/profile.html index 971c4e64..acd593b2 100644 --- a/pyaggr3g470r/templates/profile.html +++ b/pyaggr3g470r/templates/profile.html @@ -2,6 +2,20 @@ {% block content %} <div class="container"> <div class="well"> + <h1>{{ _('Your Profile') }}</h1> + <div class="row"> + <div class="col-md-6"> + <p>{{ _('Member since') }} {{ user.date_created | datetime }}.</p> + <p>{{ _('Last seen:') }} {{ user.last_seen | datetime }}.</p> + </div> + </div> + <div class="row"> + <div class="col-md-12"> + <a href="/delete_account" class="btn btn-default" onclick="return confirm('{{ _('You are going to delete your account.') }}');">{{ _('Delete your account') }}</a> + </div> + </div> + </div> + <div class="well"> <h2>Edit your profile</h2> <form action="" method="post" name="save"> {{ form.hidden_tag() }} @@ -14,8 +28,10 @@ {{ form.password.label }} {{ form.password(class_="form-control") }} {% for error in form.password.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} + {{ 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 %} + {{ form.refresh_rate.label }} {{ form.refresh_rate(class_="form-control") }} {% for error in form.refresh_rate.errors %} <span style="color: red;">{{ error }}<br /></span>{% endfor %} <br /> |