From 733a218f0c807dd6c6c60addca1cb3c512207993 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Sun, 20 Apr 2014 17:01:42 +0800 Subject: small updated navbar.html and registration templates --- templates/activation_complete.html | 22 ---------------------- templates/navbar.html | 8 +++----- templates/registration/registration_closed.html | 10 +++++++++- templates/registration/registration_form.html | 5 ++++- 4 files changed, 16 insertions(+), 29 deletions(-) delete mode 100644 templates/activation_complete.html (limited to 'templates') diff --git a/templates/activation_complete.html b/templates/activation_complete.html deleted file mode 100644 index 11ca25e..0000000 --- a/templates/activation_complete.html +++ /dev/null @@ -1,22 +0,0 @@ -{% extends 'base.html' %} -{% load staticfiles %} -{% load url from future %} -{% load bootstrap3 %} - -{# step 4. activation complete #} - -{% block title %} -成功激活 | 2014 SKA Summer School -{% endblock %} - -{% block content %} -
-

成功激活

-

您已成功激活账户。

- -
-

登录

-
-{% endblock %} - -{# vim: set ts=8 sw=2 tw=0 fenc=utf-8 ft=htmldjango.html: #} diff --git a/templates/navbar.html b/templates/navbar.html index 00d285f..56a231c 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -35,14 +35,12 @@ diff --git a/templates/registration/registration_closed.html b/templates/registration/registration_closed.html index 3501f3e..7368c71 100644 --- a/templates/registration/registration_closed.html +++ b/templates/registration/registration_closed.html @@ -5,7 +5,15 @@ {# registration closed #} {% block title %} -已关闭注册 | 2014 SKA Summer School +注册已关闭 | 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: #} diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index 90144ec..9404d68 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -11,10 +11,13 @@ {% block content %}
+

注册账户

+
+
{% csrf_token %} {% bootstrap_form form layout='horizontal' %} - {% buttons submit='OK' reset='Cancel' layout='horizontal' %}{% endbuttons %} + {% buttons submit='提交' reset='取消' layout='horizontal' %}{% endbuttons %}
{% endblock %} -- cgit v1.2.2