Revision 20f04942
b/astakos/im/templates/registration/password_reset_complete.html | ||
---|---|---|
1 |
{% extends 'base.html'%} |
|
1 |
{% extends 'one_col_base.html'%}
|
|
2 | 2 |
|
3 |
{% block title%} |
|
4 |
<h2>Password reset</h2> |
|
5 |
<p>Password reset successfully</p> |
|
6 |
{% endblock title%} |
|
3 |
{%block page.title %}Logout{% endblock %} |
|
4 |
{% block body %} |
|
5 |
<div class="section"> |
|
6 |
<h2>Password reset</h2> |
|
7 |
<p>Password reset successfully</p> |
|
8 |
</div> |
|
9 |
{% endblock %} |
b/astakos/im/templates/registration/password_reset_confirm.html | ||
---|---|---|
1 |
{% extends 'base.html'%} |
|
2 |
|
|
3 |
{% block title%} |
|
4 |
<h2>Please enter your new password</h2> |
|
5 |
{% endblock title%} |
|
1 |
{% extends 'one_col_base.html'%} |
|
6 | 2 |
|
3 |
{%block page.title %}Logout{% endblock %} |
|
7 | 4 |
{% block body %} |
5 |
<div class="section"> |
|
6 |
<h2>Please enter your new password</h2> |
|
8 | 7 |
{% if validlink %} |
9 |
<form action="" method="post">{% csrf_token %} |
|
10 |
{{ form.as_p }}
|
|
11 |
<div class="actions">
|
|
12 |
<button type="submit" class="btn primary">Go</button>
|
|
13 |
</div>
|
|
8 |
<form action="" method="post" class="withlabels">{% csrf_token %}
|
|
9 |
{% include "form_render.html" %}
|
|
10 |
<div class="form-row submit">
|
|
11 |
<input type="submit" class="submit altcol" value="SUBMIT" />
|
|
12 |
</div> |
|
14 | 13 |
</form> |
15 | 14 |
{% else %} |
16 | 15 |
The password reset link was invalid |
17 | 16 |
{% endif %} |
18 |
{% endblock body %} |
|
17 |
</div> |
|
18 |
{% endblock %} |
b/astakos/im/templates/registration/password_reset_done.html | ||
---|---|---|
1 |
{% extends 'base.html'%} |
|
1 |
{% extends 'one_col_base.html'%}
|
|
2 | 2 |
|
3 |
{% block title%} |
|
4 |
<h2>Password reset</h2> |
|
5 |
<p>E-mail sent</p> |
|
6 |
{% endblock title%} |
|
3 |
{%block page.title %}Logout{% endblock %} |
|
4 |
{% block body %} |
|
5 |
<div class="section"> |
|
6 |
<h2>Password reset</h2> |
|
7 |
<p>Email sent.</p> |
|
8 |
</div> |
|
9 |
{% endblock %} |
b/astakos/im/templates/registration/password_reset_form.html | ||
---|---|---|
1 |
{% extends "base.html" %}
|
|
1 |
{% extends 'base_two_cols.html'%}
|
|
2 | 2 |
|
3 |
{% block title%}
|
|
4 |
<h2>Reset password</h2>
|
|
5 |
{% endblock title%}
|
|
3 |
{% block page.title %}
|
|
4 |
Login
|
|
5 |
{% endblock %} |
|
6 | 6 |
|
7 | 7 |
{% block body %} |
8 |
<form action="{% url django.contrib.auth.views.password_reset %}" method="post">{% csrf_token %} |
|
9 |
{{form.as_p}} |
|
10 |
<div class="actions"> |
|
11 |
<button type="submit" class="btn primary">Go</button> |
|
12 |
</div> |
|
13 |
</form> |
|
8 |
<div class="section"> |
|
9 |
<img class="pic" src="{{ IM_MEDIA_URL }}images/pictures/login_pic.png" /> |
|
10 |
</div> |
|
11 |
{% include "services_description.html" %} |
|
14 | 12 |
{% endblock body %} |
13 |
|
|
14 |
{% block body.right %} |
|
15 |
{% if "local" in im_modules %} |
|
16 |
<form action="{% url django.contrib.auth.views.password_reset %}" method="post" |
|
17 |
class="login innerlabels">{% csrf_token %} |
|
18 |
<h2 class="formheader"><span>RESET PASSWORD</span></h2> |
|
19 |
{% include "form_render.html" %} |
|
20 |
<div class="form-row submit"> |
|
21 |
<input type="submit" class="submit altcol" value="SUBMIT" /> |
|
22 |
</div> |
|
23 |
</form> |
|
24 |
{% endif %} |
|
25 |
{% endblock %} |
Also available in: Unified diff