Merge branch 'for-contest' of https://git.coding.net/virusdefender/qduoj into for-contest-dev

This commit is contained in:
hohoTT
2015-09-04 20:01:41 +08:00
12 changed files with 39 additions and 19 deletions

View File

@@ -69,7 +69,7 @@
</ul>
</nav>
{% else %}
<p>当前没有合适的比赛</p>
<p>当前没有合适的比赛,你可以尝试到<a href="/groups/">小组列表</a>申请加入一些小组,以便参加小组内部的比赛</p>
{% endif %}
</div>
</div>

View File

@@ -4,8 +4,11 @@
<div class="container main">
<ul class="nav nav-tabs nav-tabs-google">
<li role="presentation" class="active">
<a href="/group/{{ group.id }}/">详细信息</a></li>
<a href="/group/{{ group.id }}/">详细信息</a>
</li>
{% if group.join_group_setting %}
<li role="presentation"><a href="/group/{{ group.id }}/applications/">我的申请</a></li>
{% endif %}
</ul>
<h2 class="text-center">{{ group.name }}</h2>
@@ -30,7 +33,11 @@
</div>
{% endif %}
<div class="form-group">
<button class="btn btn-primary" id="sendApplication">申请加入</button>
<button class="btn btn-primary" id="sendApplication">
{% if group.join_group_setting %}
申请
{% endif %}
加入</button>
</div>
</div>
</div>

View File

@@ -97,7 +97,7 @@
<a href="/submissions/">提交</a>&nbsp;&nbsp;
<a href="/contests/">比赛</a>&nbsp;&nbsp;
<a href="/groups/">小组</a>&nbsp;&nbsp;
<a href="/about/">关于</a>
<a href="#">关于</a>
</div>

View File

@@ -46,7 +46,7 @@
<li><a href="/submissions/">提交</a></li>
<li><a href="/contests/">比赛</a></li>
<li><a href="/groups/">小组</a></li>
<li><a href="/about/">关于</a></li>
<li><a href="#">关于</a></li>
</ul>
{% if request.user.is_authenticated %}
<ul class="nav navbar-nav navbar-right">
@@ -97,4 +97,4 @@
</div>
<!-- footer end -->
</body>
</html>
</html>