aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend/admin/templates/submission_detail.html
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-20 21:30:49 +0900
committernsfisis <nsfisis@gmail.com>2026-02-20 21:30:49 +0900
commitfa788237eb5649e08b2a38ec21689b481b10c073 (patch)
tree13ad37ff587b81810f59e8e7c5943aafd25f61dd /backend/admin/templates/submission_detail.html
parent9f9efc2bc07810d2e06b37bad94e5922681eadef (diff)
downloadphperkaigi-2026-albatross-fa788237eb5649e08b2a38ec21689b481b10c073.tar.gz
phperkaigi-2026-albatross-fa788237eb5649e08b2a38ec21689b481b10c073.tar.zst
phperkaigi-2026-albatross-fa788237eb5649e08b2a38ec21689b481b10c073.zip
feat(admin): add rejudge functionality for submissions
Allow administrators to re-execute test cases for a specific submission from the submission detail page. This is useful after testcase fixes or worker issues. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'backend/admin/templates/submission_detail.html')
-rw-r--r--backend/admin/templates/submission_detail.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/admin/templates/submission_detail.html b/backend/admin/templates/submission_detail.html
index 406c0b4..ed601ba 100644
--- a/backend/admin/templates/submission_detail.html
+++ b/backend/admin/templates/submission_detail.html
@@ -18,6 +18,10 @@
<li>Created At: {{ .Submission.CreatedAt }}</li>
</ul>
+<form method="POST" action="{{ .BasePath }}admin/games/{{ .GameID }}/submissions/{{ .Submission.SubmissionID }}/rejudge">
+ <button type="submit">Rejudge</button>
+</form>
+
<h3>Code</h3>
<pre><code>{{ .Submission.Code }}</code></pre>