diff --git a/views/submission.ejs b/views/submission.ejs index f53fa3d..27bf582 100644 --- a/views/submission.ejs +++ b/views/submission.ejs @@ -1,4 +1,5 @@ <% this.title = '提交记录 #' + judge.id %> <% include header %> + <% include submission_content %> <% include footer %> diff --git a/views/submission_content.ejs b/views/submission_content.ejs index 408630e..bd94ea1 100644 --- a/views/submission_content.ejs +++ b/views/submission_content.ejs @@ -29,7 +29,7 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); %>
编号 | @@ -46,7 +46,7 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]);|||
---|---|---|---|
#<%= judge.id %> | -#<%= judge.problem_id %>. <%= judge.problem.title %> | +#<%= judge.problem_id %>. <%= judge.problem.title %> | <% if (judge.allowedSeeResult) { %>@@ -72,6 +72,11 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); |
#<%= judge.id %> | -#<%= judge.problem_id %>. <%= judge.problem.title %> | +#<%= judge.problem_id %>. <%= judge.problem.title %> | + <% if (!judge.hidden) { %>@@ -29,7 +33,7 @@ else problemUrl = syzoj.utils.makeUrl(['problem', judge.problem_id]); | 隐藏 | <% } %><%= judge.user.username %><% if (judge.user.nameplate) { %><%- judge.user.nameplate %><% } %> | -<%= syzoj.utils.formatDate(judge.submit_time) %> | +<%= syzoj.utils.formatDate(judge.submit_time) %> <% if (isPending(judge.status)) { %> <% } %> + |