From f74743aca5ffa55c717b336a314b58d59f4abc03 Mon Sep 17 00:00:00 2001 From: Weitian LI Date: Sun, 20 Apr 2014 21:23:17 +0800 Subject: small fixes to "br" tag --- account/templates/account/login.html | 4 +- account/templates/account/password_change.html | 2 +- .../templates/account/password_change_done.html | 2 +- account/templates/account/profile.html | 52 +++++++++++++++++++++- templates/index.html | 6 +-- templates/navbar.html | 2 +- templates/registration/activation_complete.html | 4 +- templates/registration/registration_complete.html | 2 +- templates/registration/registration_form.html | 4 +- 9 files changed, 63 insertions(+), 15 deletions(-) diff --git a/account/templates/account/login.html b/account/templates/account/login.html index b41844e..4fee972 100644 --- a/account/templates/account/login.html +++ b/account/templates/account/login.html @@ -12,11 +12,11 @@ {% block content %}

登录

-
+
{% csrf_token %} {% bootstrap_form form layout='horizontal' %} - {% buttons submit='提交' reset='取消' layout='horizontal' %}{% endbuttons %} + {% buttons submit='提交' reset='重置' layout='horizontal' %}{% endbuttons %}
{% endblock %} diff --git a/account/templates/account/password_change.html b/account/templates/account/password_change.html index 372bb0c..f4e2e90 100644 --- a/account/templates/account/password_change.html +++ b/account/templates/account/password_change.html @@ -12,7 +12,7 @@ {% block content %}

修改密码

-
+
{% csrf_token %} {% bootstrap_form form layout='horizontal' %} diff --git a/account/templates/account/password_change_done.html b/account/templates/account/password_change_done.html index e003033..e8770ca 100644 --- a/account/templates/account/password_change_done.html +++ b/account/templates/account/password_change_done.html @@ -13,7 +13,7 @@

密码修改成功

您已成功修改密码。

-
+

返回个人主页

{% endblock %} diff --git a/account/templates/account/profile.html b/account/templates/account/profile.html index aac992f..cb08717 100644 --- a/account/templates/account/profile.html +++ b/account/templates/account/profile.html @@ -12,9 +12,57 @@ {% block content %}

个人主页

-

TODO ...

+
-
+ + + + + + + + + + + + + + + + + + + + + + +
姓名{{ profile.realname }}
邮箱{{ user.email }}
单位{{ profile.institute }}
是否审定 + {% if profile.is_approved == 'Y' %} + + {% elif profile.is_approved == 'N' %} + + {% elif profile.is_approved == 'C' %} + 审核中 + {% else %} + 错误 + {% endif %} +
是否资助 + {% if profile.is_sponsored == 'Y' %} + + {% elif profile.is_sponsored == 'N' %} + + {% elif profile.is_sponsored == 'C' %} + 审核中 + {% else %} + 错误 + {% endif %} +
+ +
+

+ 编辑个人信息 + 修改密码 +

{% endblock %} diff --git a/templates/index.html b/templates/index.html index 1904f8c..6b57b80 100644 --- a/templates/index.html +++ b/templates/index.html @@ -18,13 +18,13 @@

暨 中国-新西兰联合SKA暑期学校

China-New Zealand Joint SKA Summer School

-
+

- 上海,2014,6月28日-7月5日
+ 上海,2014,6月28日-7月5日
June 28 - July 05, 2014, Shanghai

-
+

了解更多 注册参加 diff --git a/templates/navbar.html b/templates/navbar.html index 56a231c..6296c6c 100644 --- a/templates/navbar.html +++ b/templates/navbar.html @@ -33,7 +33,7 @@

{% endblock %} diff --git a/templates/registration/registration_complete.html b/templates/registration/registration_complete.html index 21cb13d..553a154 100644 --- a/templates/registration/registration_complete.html +++ b/templates/registration/registration_complete.html @@ -16,7 +16,7 @@ 您已顺利完成注册。我们已向您注册使用的邮箱发送了激活邮件,请留意查收,并使用其中的链接激活账户。

-
+

还未收到激活邮件? 重新发送激活邮件 diff --git a/templates/registration/registration_form.html b/templates/registration/registration_form.html index 9404d68..31316fe 100644 --- a/templates/registration/registration_form.html +++ b/templates/registration/registration_form.html @@ -12,12 +12,12 @@ {% block content %}

注册账户

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