diff options
Diffstat (limited to 'web/templates')
-rw-r--r-- | web/templates/base.html | 1 | ||||
-rw-r--r-- | web/templates/change-password/change_password.html | 12 | ||||
-rw-r--r-- | web/templates/change-password/password_change_done.html | 7 |
3 files changed, 20 insertions, 0 deletions
diff --git a/web/templates/base.html b/web/templates/base.html index d6ba2da..b5bc4a3 100644 --- a/web/templates/base.html +++ b/web/templates/base.html @@ -19,6 +19,7 @@ </div> <div style="float:right;"> <a href="{% url 'index' %}">home</a> | + <a href="{% url 'change_password' %}">change password</a> | <a href="{% url 'logout' %}">logout</a> </div> diff --git a/web/templates/change-password/change_password.html b/web/templates/change-password/change_password.html new file mode 100644 index 0000000..d29c901 --- /dev/null +++ b/web/templates/change-password/change_password.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block title %}Change Password{% endblock %} + +{% block content %} + <h2>Change Password</h2> + <form method="post"> + {% csrf_token %} + {{ form.as_p }} + <button type="submit">Change Password</button> + </form> +{% endblock %}
\ No newline at end of file diff --git a/web/templates/change-password/password_change_done.html b/web/templates/change-password/password_change_done.html new file mode 100644 index 0000000..d173329 --- /dev/null +++ b/web/templates/change-password/password_change_done.html @@ -0,0 +1,7 @@ +{% extends "base.html" %} + +{% block title %}Change Password{% endblock %} + +{% block content %} +Success! +{% endblock %}
\ No newline at end of file |