diff options
author | Weitian LI <liweitianux@gmail.com> | 2014-04-21 20:56:25 +0800 |
---|---|---|
committer | Weitian LI <liweitianux@gmail.com> | 2014-04-21 20:56:25 +0800 |
commit | 202b0633c975c75af87538e42c25e16fa9e9cd17 (patch) | |
tree | e6bfe745134df71e36bf0d3e9ef1a130cd5d9ace /account/templates | |
parent | 83bd9f81631424694b95a50e923e3f6933f67141 (diff) | |
download | django-skaschool-202b0633c975c75af87538e42c25e16fa9e9cd17.tar.bz2 |
* added 'ResendEmailForm' forms
* implemented 'ResendEmailView' class-based view and templates
* added js code 'account_email_resend.js'
Warning:
cannot load static file located in app directory
Diffstat (limited to 'account/templates')
-rw-r--r-- | account/templates/account/email_resend.html | 29 | ||||
-rw-r--r-- | account/templates/account/email_resend_done.html | 24 |
2 files changed, 53 insertions, 0 deletions
diff --git a/account/templates/account/email_resend.html b/account/templates/account/email_resend.html new file mode 100644 index 0000000..bdb2f30 --- /dev/null +++ b/account/templates/account/email_resend.html @@ -0,0 +1,29 @@ +{% extends 'base.html' %} +{% load staticfiles %} +{% load url from future %} +{% load bootstrap3 %} + +{# resend activation email done #} + +{% block title %} +重新发送激活邮件 | 2014 SKA Summer School +{% endblock %} + +{% block content %} + <div class="container"> + <h2>重新发送激活邮件</h2> + <br> + + <form role="form" class="form-horizontal" method="post"> + {% csrf_token %} + {% bootstrap_form form layout='horizontal' %} + {% buttons submit='提交' reset='重置' layout='horizontal' %}{% endbuttons %} + </form> + </div> +{% endblock %} + +{% block js_extra %} + <script src="{% static 'js/account_email_resend.js' %}" type="text/javascript"></script> +{% endblock %} + +{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/account/templates/account/email_resend_done.html b/account/templates/account/email_resend_done.html new file mode 100644 index 0000000..ff7ad6b --- /dev/null +++ b/account/templates/account/email_resend_done.html @@ -0,0 +1,24 @@ +{% extends 'base.html' %} +{% load staticfiles %} +{% load url from future %} +{% load bootstrap3 %} + +{# resend activation email done #} + +{% block title %} +已重新发送激活邮件 | 2014 SKA Summer School +{% endblock %} + +{% block content %} + <div class="container"> + <h2>已重新发送激活邮件</h2> + <p class="lead"> + 我们已向您注册使用的邮箱重新发送了激活邮件,请留意查收,并使用其中的链接激活账户。 + </p> + + <br> + <p>如果您还未收到激活邮件,或者激活链接已过期,请直接联系我们以激活账户:<a href="mailto:skaschool2014@163.com"><code>skaschool2014@163.com</code></a></p> + </div> +{% endblock %} + +{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} |