|
|
@ -50,6 +50,9 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); |
|
|
|
<% } %> |
|
|
|
<% } %> |
|
|
|
<th>提交者</th> |
|
|
|
<th>提交者</th> |
|
|
|
<th>提交时间</th> |
|
|
|
<th>提交时间</th> |
|
|
|
|
|
|
|
<% if (judge.allowedRejudge) { %> |
|
|
|
|
|
|
|
<th>重新评测</th> |
|
|
|
|
|
|
|
<% } %> |
|
|
|
</tr> |
|
|
|
</tr> |
|
|
|
</thead> |
|
|
|
</thead> |
|
|
|
<tbody> |
|
|
|
<tbody> |
|
|
@ -78,21 +81,9 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); |
|
|
|
<% } %> |
|
|
|
<% } %> |
|
|
|
<td><a href="<%= syzoj.utils.makeUrl(['user', judge.user_id]) %>"><%= judge.user.username %></a><% if (judge.user.nameplate) { %><%- judge.user.nameplate %><% } %></td> |
|
|
|
<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><%= syzoj.utils.formatDate(judge.submit_time) %></td> |
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
window.applyTextFit = function () { |
|
|
|
|
|
|
|
var e = document.getElementById('text-fit'); |
|
|
|
|
|
|
|
textFit(e, { maxFontSize: 14 }); |
|
|
|
|
|
|
|
document.getElementById('status_table').style.visibility = ''; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
window.applyTextFit(); |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
<% if (judge.problem.type !== 'submit-answer' && judge.allowedSeeCode) { %> |
|
|
|
|
|
|
|
<div class="ui existing segment" style="position: relative; "> |
|
|
|
|
|
|
|
<% if (judge.allowedRejudge) { %> |
|
|
|
<% if (judge.allowedRejudge) { %> |
|
|
|
<a id="rejudge-button" class="ui button" style="position: absolute; top: 0px; right: -4px; border-top-left-radius: 0; border-bottom-right-radius: 0; " onclick="check_rejudge()">重新评测</a> |
|
|
|
<td> |
|
|
|
|
|
|
|
<a id="rejudge-button" onclick="check_rejudge()" style="color: #000; " href="#"><i class="repeat icon"></i></a> |
|
|
|
<div class="ui basic modal" id="modal-rejudge"> |
|
|
|
<div class="ui basic modal" id="modal-rejudge"> |
|
|
|
<div class="ui icon header"> |
|
|
|
<div class="ui icon header"> |
|
|
|
<i class="retweet icon"></i> |
|
|
|
<i class="retweet icon"></i> |
|
|
@ -124,7 +115,21 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
</td> |
|
|
|
<% } %> |
|
|
|
<% } %> |
|
|
|
|
|
|
|
</tr> |
|
|
|
|
|
|
|
</tbody> |
|
|
|
|
|
|
|
</table> |
|
|
|
|
|
|
|
<script> |
|
|
|
|
|
|
|
window.applyTextFit = function () { |
|
|
|
|
|
|
|
var e = document.getElementById('text-fit'); |
|
|
|
|
|
|
|
textFit(e, { maxFontSize: 14 }); |
|
|
|
|
|
|
|
document.getElementById('status_table').style.visibility = ''; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
window.applyTextFit(); |
|
|
|
|
|
|
|
</script> |
|
|
|
|
|
|
|
<% if (judge.problem.type !== 'submit-answer' && judge.allowedSeeCode) { %> |
|
|
|
|
|
|
|
<div class="ui existing segment" style="position: relative; "> |
|
|
|
<pre style="margin-top: 0; margin-bottom: 0; "><code id="code"><%- judge.code %></code></pre> |
|
|
|
<pre style="margin-top: 0; margin-bottom: 0; "><code id="code"><%- judge.code %></code></pre> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<script> |
|
|
|
<script> |
|
|
|