You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1.4 KiB
41 lines
1.4 KiB
<% this.title = '评测记录' %> |
|
<% include header %> |
|
<div class="padding"> |
|
<div class="ui two column grid"> |
|
<div class="twelve wide column"> |
|
<form action="<%= syzoj.utils.makeUrl(['judge_state']) %>" class="ui mini form" method="get" role="form"> |
|
<div class="inline field"> |
|
<input name="submitter" placeholder="提交者" style="margin: 0px;" type="text" value="<%= form.submitter %>"> <input name="problem_id" placeholder="题目编号" type="text" value="<%= form.problem_id %>"> <button class="ui mini button" type="submit">搜索</button> |
|
</div> |
|
</form> |
|
</div> |
|
<% if (user) { %> |
|
<div class="four wide column padding"> |
|
<a class="ui mini button right floated" href="<%= syzoj.utils.makeUrl(['judge_state'], { submitter: user.username }) %>">我的提交</a> |
|
</div> |
|
<% } %> |
|
</div><br> |
|
<table class="ui very basic center aligned table"> |
|
<thead> |
|
<tr> |
|
<th>编号</th> |
|
<th>题目</th> |
|
<th>状态</th> |
|
<th>分数</th> |
|
<th>总时间</th> |
|
<th>内存</th> |
|
<th>语言</th> |
|
<th>提交者</th> |
|
<th>提交时间</th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<% for (let judge of judge_state) { %> |
|
<tr id="judge_state_<%= judge.id %>"><% include judge_state_item %></tr> |
|
<% } %> |
|
</tbody> |
|
</table> |
|
<br> |
|
<% include page %> |
|
</div> |
|
<% include footer %>
|
|
|