2015-08-23 10:25:28 +00:00
|
|
|
{% extends "oj_base.html" %}
|
|
|
|
{% block body %}
|
2015-08-24 13:03:30 +00:00
|
|
|
{% load problem %}
|
|
|
|
<div class="container main">
|
2015-08-23 11:39:57 +00:00
|
|
|
|
|
|
|
|
2015-08-24 13:03:30 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col-lg-12 contest-tab">
|
2015-08-23 11:39:57 +00:00
|
|
|
|
2015-08-24 13:03:30 +00:00
|
|
|
<ul class="nav nav-tabs nav-tabs-google">
|
|
|
|
<li role="presentation">
|
|
|
|
<a href="/contest/{{ contest.id }}/">比赛详情</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation" class="active">
|
|
|
|
<a href="/contest/{{ contest.id }}/problems/">题目</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a href="/contest/{{ contest.id }}/submissions/">提交</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation">
|
|
|
|
<a href="/contest/{{ contest.id }}/rank/">排名</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
2015-08-23 11:39:57 +00:00
|
|
|
|
|
|
|
|
2015-08-24 13:03:30 +00:00
|
|
|
<div class="col-lg-9">
|
|
|
|
<div>
|
|
|
|
<table class="table table-striped">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th>#</th>
|
|
|
|
<th>题目</th>
|
|
|
|
<th>通过率</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for item in contest_problems %}
|
|
|
|
<tr>
|
|
|
|
<th><span class="glyphicon glyphicon-ok ac-flag"></span></th>
|
2015-08-25 02:57:09 +00:00
|
|
|
<th scope="row">
|
|
|
|
<a href="/contest/{{ item.contest.id }}/problem/{{ item.id }}/" target="_blank">{{ item.sort_index }}</a>
|
2015-08-24 13:03:30 +00:00
|
|
|
</th>
|
2015-08-25 02:57:09 +00:00
|
|
|
<td>
|
|
|
|
<a href="/contest/{{ item.contest.id }}/problem/{{ item.id }}/" target="_blank">{{ item.title }}</a>
|
2015-08-24 13:03:30 +00:00
|
|
|
</td>
|
|
|
|
<td>{{ item|accepted_radio }}</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2015-08-23 11:39:57 +00:00
|
|
|
|
2015-08-24 13:03:30 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-lg-3">
|
|
|
|
{% include "oj/announcement/_announcement_panel.html" %}
|
2015-08-23 10:25:28 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-08-24 13:03:30 +00:00
|
|
|
</div>
|
2015-08-23 10:25:28 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block js_block %}
|
2015-08-24 13:03:30 +00:00
|
|
|
<script src="/static/js/app/oj/problem/problem_list.js"></script>
|
2015-08-23 10:25:28 +00:00
|
|
|
{% endblock %}
|