aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html6
-rw-r--r--templates/navbar.html2
-rw-r--r--templates/registration/activation_complete.html4
-rw-r--r--templates/registration/registration_complete.html2
-rw-r--r--templates/registration/registration_form.html4
5 files changed, 9 insertions, 9 deletions
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 @@
<h1>暨 中国-新西兰联合SKA暑期学校</h1>
<h2>China-New Zealand Joint SKA Summer School</h2>
- <br />
+ <br>
<p class="lead">
- 上海,2014,6月28日-7月5日 <br />
+ 上海,2014,6月28日-7月5日 <br>
June 28 - July 05, 2014, Shanghai
</p>
- <br />
+ <br>
<p>
<a href="#" class="btn btn-outline-inverse btn-lg">了解更多</a>
<a href="{% url 'registration_register' %}" class="btn btn-outline-inverse btn-lg">注册参加</a>
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 @@
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
- <li><a href="#">English</a></li>
+ <!-- <li><a href="#">English</a></li> -->
{% if user.is_authenticated %}
<li><a href="{% url 'profile' %}" class="navbar-link">{{ user.username }}</a></li>
<li><div><a href="{% url 'logout' %}" class="btn btn-default navbar-btn">退出</a></div></li>
diff --git a/templates/registration/activation_complete.html b/templates/registration/activation_complete.html
index 11ca25e..d27622a 100644
--- a/templates/registration/activation_complete.html
+++ b/templates/registration/activation_complete.html
@@ -14,8 +14,8 @@
<h2>成功激活</h2>
<p class="lead">您已成功激活账户。</p>
- <br />
- <p><a href="#" class="btn btn-primary">登录</a></p>
+ <br>
+ <p><a href="{% url 'login' %}" class="btn btn-primary">登录</a></p>
</div>
{% 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 @@
您已顺利完成注册。我们已向您注册使用的邮箱发送了激活邮件,请留意查收,并使用其中的链接激活账户。
</p>
- <br />
+ <br>
<p>
还未收到激活邮件?
<a href="#" class="btn btn-default">重新发送激活邮件</a>
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 %}
<div class="container">
<h2>注册账户</h2>
- <br />
+ <br>
<form role="form" class="form-horizontal" method="post">
{% csrf_token %}
{% bootstrap_form form layout='horizontal' %}
- {% buttons submit='提交' reset='取消' layout='horizontal' %}{% endbuttons %}
+ {% buttons submit='提交' reset='重置' layout='horizontal' %}{% endbuttons %}
</form>
</div>
{% endblock %}