Commit 20f04942 authored by Kostas Papadimitriou's avatar Kostas Papadimitriou
Browse files

Updated password reset html and styles

parent 35a62b9d
{% extends 'base.html'%}
{% extends 'one_col_base.html'%}
{% block title%}
<h2>Password reset</h2>
<p>Password reset successfully</p>
{% endblock title%}
{%block page.title %}Logout{% endblock %}
{% block body %}
<div class="section">
<h2>Password reset</h2>
<p>Password reset successfully</p>
</div>
{% endblock %}
{% extends 'base.html'%}
{% block title%}
<h2>Please enter your new password</h2>
{% endblock title%}
{% extends 'one_col_base.html'%}
{%block page.title %}Logout{% endblock %}
{% block body %}
<div class="section">
<h2>Please enter your new password</h2>
{% if validlink %}
<form action="" method="post">{% csrf_token %}
{{ form.as_p }}
<div class="actions">
<button type="submit" class="btn primary">Go</button>
</div>
<form action="" method="post" class="withlabels">{% csrf_token %}
{% include "form_render.html" %}
<div class="form-row submit">
<input type="submit" class="submit altcol" value="SUBMIT" />
</div>
</form>
{% else %}
The password reset link was invalid
{% endif %}
{% endblock body %}
</div>
{% endblock %}
{% extends 'base.html'%}
{% extends 'one_col_base.html'%}
{% block title%}
<h2>Password reset</h2>
<p>E-mail sent</p>
{% endblock title%}
{%block page.title %}Logout{% endblock %}
{% block body %}
<div class="section">
<h2>Password reset</h2>
<p>Email sent.</p>
</div>
{% endblock %}
{% extends "base.html" %}
{% extends 'base_two_cols.html'%}
{% block title%}
<h2>Reset password</h2>
{% endblock title%}
{% block page.title %}
Login
{% endblock %}
{% block body %}
<form action="{% url django.contrib.auth.views.password_reset %}" method="post">{% csrf_token %}
{{form.as_p}}
<div class="actions">
<button type="submit" class="btn primary">Go</button>
</div>
</form>
<div class="section">
<img class="pic" src="{{ IM_MEDIA_URL }}images/pictures/login_pic.png" />
</div>
{% include "services_description.html" %}
{% endblock body %}
{% block body.right %}
{% if "local" in im_modules %}
<form action="{% url django.contrib.auth.views.password_reset %}" method="post"
class="login innerlabels">{% csrf_token %}
<h2 class="formheader"><span>RESET PASSWORD</span></h2>
{% include "form_render.html" %}
<div class="form-row submit">
<input type="submit" class="submit altcol" value="SUBMIT" />
</div>
</form>
{% endif %}
{% endblock %}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment