Browse Source

Optimize judge state UI

pull/6/head
Menci 8 years ago
parent
commit
e4e0b926ae
  1. 1
      views/judge_state.ejs
  2. 3
      views/judge_state_item.ejs

1
views/judge_state.ejs

@ -27,7 +27,6 @@
<th>语言</th>
<th>提交者</th>
<th>提交时间</th>
<th>代码</th>
</tr>
</thead>
<tbody>

3
views/judge_state_item.ejs

@ -11,7 +11,7 @@
<td><a href="<%= syzoj.utils.makeUrl(['judge_detail', judge.id]) %>"><span class="score score_<%= parseInt(judge.result.score / 10) || 0 %>"><%= judge.result.score %></span></a></td>
<td><%= judge.result.total_time %> ms</td>
<td><%= judge.result.max_memory %> KiB</td>
<td><%= syzoj.config.languages[judge.language].show %></td>
<td><a href="<%= syzoj.utils.makeUrl(['judge_detail', judge.id]) %>"><%= syzoj.config.languages[judge.language].show %></a></td>
<% } else { %>
<td>隐藏</td>
<td>隐藏</td>
@ -21,7 +21,6 @@
<% } %>
<td><a href="<%= syzoj.utils.makeUrl(['user', judge.user_id]) %>"><%= judge.user.username %></a><% if (judge.user.nameplate) { %><%- judge.user.nameplate %><% } %></td>
<td><%= syzoj.utils.formatDate(judge.submit_time) %></td>
<td><a href="<%= syzoj.utils.makeUrl(['judge_detail', judge.id]) %>"><i style="color: #000;" class="code icon"></i></a></td>
<% if (isPending(judge.status)) { %>
<script>
function update_judge_<%= judge.id %>() {

Loading…
Cancel
Save