From 7a1f582dd1ae7ddfe9765c74b6dc828d4b6ad904 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Sun, 20 Apr 2014 19:04:25 +0800 Subject: added 'password_change' and 'password_change_done' views and templates --- account/templates/account/password_change.html | 24 ++++++++++++++++++++++ .../templates/account/password_change_done.html | 21 +++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 account/templates/account/password_change.html create mode 100644 account/templates/account/password_change_done.html (limited to 'account/templates') diff --git a/account/templates/account/password_change.html b/account/templates/account/password_change.html new file mode 100644 index 0000000..372bb0c --- /dev/null +++ b/account/templates/account/password_change.html @@ -0,0 +1,24 @@ +{% extends 'base.html' %} +{% load staticfiles %} +{% load url from future %} +{% load bootstrap3 %} + +{# login template #} + +{% block title %} +修改密码 | 2014 SKA Summer School +{% endblock %} + +{% block content %} +
+

修改密码

+
+
+ {% csrf_token %} + {% bootstrap_form form layout='horizontal' %} + {% buttons submit='提交' reset='重置' layout='horizontal' %}{% endbuttons %} +
+
+{% endblock %} + +{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/account/templates/account/password_change_done.html b/account/templates/account/password_change_done.html new file mode 100644 index 0000000..e003033 --- /dev/null +++ b/account/templates/account/password_change_done.html @@ -0,0 +1,21 @@ +{% extends 'base.html' %} +{% load staticfiles %} +{% load url from future %} +{% load bootstrap3 %} + +{# login template #} + +{% block title %} +密码修改成功 | 2014 SKA Summer School +{% endblock %} + +{% block content %} +
+

密码修改成功

+

您已成功修改密码。

+
+

返回个人主页

+
+{% endblock %} + +{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} -- cgit v1.2.2