修改比赛页面的部分交互

This commit is contained in:
virusdefender
2015-10-10 20:21:22 +08:00
parent 404e25d5dd
commit 4b51befb69
6 changed files with 13 additions and 8 deletions

View File

@@ -9,7 +9,7 @@
<a href="/contest/{{ contest.id }}/">比赛详情</a> <a href="/contest/{{ contest.id }}/">比赛详情</a>
</li> </li>
<li role="presentation"> <li role="presentation">
<a href="/contest/{{ contest.id }}/problems/">题目</a> <a href="/contest/{{ contest.id }}/problems/">题目列表</a>
</li> </li>
<li role="presentation"> <li role="presentation">
<a href="/contest/{{ contest.id }}/submissions/">提交</a> <a href="/contest/{{ contest.id }}/submissions/">提交</a>

View File

@@ -5,10 +5,15 @@
{% block body %} {% block body %}
<div class="container main"> <div class="container main">
<ul class="nav nav-tabs nav-tabs-google"> <ul class="nav nav-tabs nav-tabs-google">
<li role="presentation">
<a href="/contest/{{ contest_problem.contest.id }}/problems/">题目列表</a>
</li>
<li role="presentation" class="active"> <li role="presentation" class="active">
<a href="/contest/{{ contest_problem.contest.id }}/problem/{{ contest_problem.id }}/">题目</a></li> <a href="/contest/{{ contest_problem.contest.id }}/problem/{{ contest_problem.id }}/">题目
<li role="presentation"><a {{ contest_problem.sort_index }}</a>
href="/contest/{{ contest_problem.contest.id }}/problem/{{ contest_problem.id }}/submissions/">我的提交</a> </li>
<li role="presentation">
<a href="/contest/{{ contest_problem.contest.id }}/problem/{{ contest_problem.id }}/submissions/">我的提交</a>
</li> </li>
</ul> </ul>
<h2 class="text-center">{{ contest_problem.title }}</h2> <h2 class="text-center">{{ contest_problem.title }}</h2>

View File

@@ -15,7 +15,7 @@
<a href="/contest/{{ contest.id }}/">比赛详情</a> <a href="/contest/{{ contest.id }}/">比赛详情</a>
</li> </li>
<li role="presentation" class="active"> <li role="presentation" class="active">
<a href="/contest/{{ contest.id }}/problems/">题目</a> <a href="/contest/{{ contest.id }}/problems/">题目列表</a>
</li> </li>
<li role="presentation"> <li role="presentation">
<a href="/contest/{{ contest.id }}/submissions/">提交</a> <a href="/contest/{{ contest.id }}/submissions/">提交</a>

View File

@@ -11,7 +11,7 @@
<a href="/contest/{{ contest.id }}/">比赛详情</a> <a href="/contest/{{ contest.id }}/">比赛详情</a>
</li> </li>
<li role="presentation"> <li role="presentation">
<a href="/contest/{{ contest.id }}/problems/">题目</a> <a href="/contest/{{ contest.id }}/problems/">题目列表</a>
</li> </li>
<li role="presentation"> <li role="presentation">
<a href="/contest/{{ contest.id }}/submissions/">提交</a> <a href="/contest/{{ contest.id }}/submissions/">提交</a>

View File

@@ -17,7 +17,7 @@
{% include "oj/problem/_problem_header.html" %} {% include "oj/problem/_problem_header.html" %}
<table class="table table-bordered"> <table class="table table-bordered">
<thead> <thead>
<tr class="" success> <tr>
<th>#</th> <th>#</th>
<th>提交时间</th> <th>提交时间</th>
<th>语言</th> <th>语言</th>

View File

@@ -13,7 +13,7 @@
<a href="/contest/{{ contest.id }}/">比赛详情</a> <a href="/contest/{{ contest.id }}/">比赛详情</a>
</li> </li>
<li role="presentation"> <li role="presentation">
<a href="/contest/{{ contest.id }}/problems/">题目</a> <a href="/contest/{{ contest.id }}/problems/">题目列表</a>
</li> </li>
<li role="presentation" class="active"> <li role="presentation" class="active">
<a href="/contest/{{ contest.id }}/submissions/">提交</a> <a href="/contest/{{ contest.id }}/submissions/">提交</a>