Browse Source

Optimize rejudge button style

pull/6/head
Menci 8 years ago
parent
commit
9efd53cb0e
  1. 2
      views/submission_content.ejs

2
views/submission_content.ejs

@ -65,7 +65,7 @@ for (let s of judge.result.subtasks) {
<% if (judge.allowedSeeCode) { %>
<div class="ui existing segment" style="position: relative; ">
<% if (judge.allowedRejudge) { %>
<a id="rejudge-button" href="<%= syzoj.utils.makeUrl(['submission', judge.id, 'rejudge']) %>" class="ui button" style="position: absolute; right: 10px; <% if (judge.pending) { %>display: none; <% } %>">重新评测</a>
<a id="rejudge-button" href="<%= syzoj.utils.makeUrl(['submission', judge.id, 'rejudge']) %>" class="ui button" style="position: absolute; top: 0px; right: -4px; border-top-left-radius: 0; border-bottom-right-radius: 0; <% if (judge.pending) { %>display: none; <% } %>">重新评测</a>
<% } %>
<pre style="margin-top: 0; margin-bottom: 0; "><code id="code"><%- judge.code %></code></pre>
</div>

Loading…
Cancel
Save