2015-08-23 10:25:28 +00:00
|
|
|
{% extends 'oj_base.html' %}
|
|
|
|
|
|
|
|
{% block body %}
|
|
|
|
|
|
|
|
{% load submission %}
|
|
|
|
<div class="container main">
|
|
|
|
<ul class="nav nav-tabs nav-tabs-google">
|
|
|
|
<li role="presentation">
|
2015-08-24 13:03:30 +00:00
|
|
|
<a href="/contest/{{ problem.contest.id }}/problem/{{ problem.id }}/">题目</a></li>
|
2015-08-23 10:25:28 +00:00
|
|
|
<li role="presentation" class="active">
|
2015-08-24 13:03:30 +00:00
|
|
|
<a href="/contest/{{ problem.contest.id }}/problem/{{ problem.id }}/submissions/">
|
2015-08-23 10:25:28 +00:00
|
|
|
我的提交</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2015-08-24 13:03:30 +00:00
|
|
|
{% include "oj/problem/_problem_header.html" %}
|
2015-08-23 10:25:28 +00:00
|
|
|
<table class="table table-bordered">
|
|
|
|
<thead>
|
|
|
|
<tr class="" success>
|
|
|
|
<th>#</th>
|
|
|
|
<th>提交时间</th>
|
|
|
|
<th>结果</th>
|
|
|
|
<th>运行时间</th>
|
|
|
|
<th>语言</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for item in submissions %}
|
|
|
|
<tr class="{{ item.result|translate_result_class }}">
|
2015-08-24 13:03:30 +00:00
|
|
|
<th scope="row"><a href="/submission/{{ item.id }}/">{{ forloop.counter }}</a></th>
|
2015-08-23 10:25:28 +00:00
|
|
|
<td>{{ item.create_time }}</td>
|
|
|
|
<td>{{ item.result|translate_result }}</td>
|
|
|
|
<td>
|
|
|
|
{% if item.accepted_answer_time %}
|
|
|
|
{{ item.accepted_answer_time }}ms
|
|
|
|
{% else %}
|
|
|
|
--
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
{{ item.language|translate_language }}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|