Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
synnefo
Commits
20f04942
Commit
20f04942
authored
Feb 03, 2012
by
Kostas Papadimitriou
Browse files
Updated password reset html and styles
parent
35a62b9d
Changes
4
Hide whitespace changes
Inline
Side-by-side
astakos/im/templates/registration/password_reset_complete.html
View file @
20f04942
{% 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 %}
astakos/im/templates/registration/password_reset_confirm.html
View file @
20f04942
{% 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 %}
astakos/im/templates/registration/password_reset_done.html
View file @
20f04942
{% 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 %}
astakos/im/templates/registration/password_reset_form.html
View file @
20f04942
{% 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 %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment