diff --git a/templates/index.html b/templates/index.html index 2cc7ae59..85e85e9c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,7 +5,7 @@

PENRA Courses

{% if not request.user.is_authenticated %} Log in - + Reset password {% else %} Atlas Anatomy diff --git a/templates/registration/password_reset_complete.html b/templates/registration/password_reset_complete.html new file mode 100644 index 00000000..c8e11b84 --- /dev/null +++ b/templates/registration/password_reset_complete.html @@ -0,0 +1,9 @@ + +{% extends 'base.html' %} + +{% block title %}Password reset complete{% endblock %} + +{% block content %} +

Password reset complete

+

Your new password has been set. You can log in now on the log in page.

+{% endblock %} \ No newline at end of file diff --git a/templates/registration/password_reset_confirm.html b/templates/registration/password_reset_confirm.html new file mode 100644 index 00000000..ca27124e --- /dev/null +++ b/templates/registration/password_reset_confirm.html @@ -0,0 +1,22 @@ + +{% extends "base.html" %} + +{% block title %}Enter new password{% endblock %} + +{% block content %} + +{% if validlink %} + +

Set a new password!

+
+ {% csrf_token %} + {{ form.as_p }} + +
+ +{% else %} + +

The password reset link was invalid, possibly because it has already been used. Please request a new password reset.

+ +{% endif %} +{% endblock %} \ No newline at end of file diff --git a/templates/registration/password_reset_done.html b/templates/registration/password_reset_done.html new file mode 100644 index 00000000..7a9d871b --- /dev/null +++ b/templates/registration/password_reset_done.html @@ -0,0 +1,9 @@ + +{% extends "base.html" %} + +{% block title %}Email Sent{% endblock %} + +{% block content %} +

Check your inbox.

+

We've emailed you instructions for setting your password. You should receive the email shortly!

+{% endblock %} \ No newline at end of file diff --git a/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html new file mode 100644 index 00000000..bccb08ea --- /dev/null +++ b/templates/registration/password_reset_form.html @@ -0,0 +1,14 @@ +{% extends 'base.html' %} + +{% block title %}Forgot Your Password?{% endblock %} + +{% block content %} +

Forgot your password?

+

Enter your email address below, and we'll email instructions for setting a new one.

+ +
+ {% csrf_token %} + {{ form.as_p }} + +
+{% endblock %} \ No newline at end of file