From 202b0633c975c75af87538e42c25e16fa9e9cd17 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Mon, 21 Apr 2014 20:56:25 +0800 Subject: * 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 --- account/templates/account/email_resend.html | 29 ++++++++++++++++++++++++ account/templates/account/email_resend_done.html | 24 ++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 account/templates/account/email_resend.html create mode 100644 account/templates/account/email_resend_done.html (limited to 'account/templates') 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 %} +
+

重新发送激活邮件

+
+ +
+ {% csrf_token %} + {% bootstrap_form form layout='horizontal' %} + {% buttons submit='提交' reset='重置' layout='horizontal' %}{% endbuttons %} +
+
+{% endblock %} + +{% block js_extra %} + +{% 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 %} +
+

已重新发送激活邮件

+

+ 我们已向您注册使用的邮箱重新发送了激活邮件,请留意查收,并使用其中的链接激活账户。 +

+ +
+

如果您还未收到激活邮件,或者激活链接已过期,请直接联系我们以激活账户:skaschool2014@163.com

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