From deacd0dfc195bca41af631114804d29937337cd8 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 17 Jan 2024 02:11:31 +0900 Subject: . --- services/app/templates/admin_answer_edit.html.twig | 44 ++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 services/app/templates/admin_answer_edit.html.twig (limited to 'services/app/templates/admin_answer_edit.html.twig') diff --git a/services/app/templates/admin_answer_edit.html.twig b/services/app/templates/admin_answer_edit.html.twig new file mode 100644 index 0000000..31d007c --- /dev/null +++ b/services/app/templates/admin_answer_edit.html.twig @@ -0,0 +1,44 @@ +{% extends '_page.html.twig' %} + +{% block content %} +

+ このページは管理画面です +

+

{{ quiz.title }}

+

+ {{ quiz.description }} +

+

回答 #{{ answer.answer_number }}

+

+ {{ answer.author_name }} が {{ answer.submitted_at|date('Y-m-d H:i:s', 'Asia/Tokyo') }} に投稿 +

+

コード

+

+ {{ answer.code_size }} byte +

+
{{ answer.code }}
+

実行結果

+
+ ステータス: {{ answer.execution_status.label() }} +
+ + + +
+
+ {% for ex in testcase_executions %} +

テストケース {{ loop.index }}

+
+ ステータス: {{ ex.status.label() }} +
+
+ + + +
+

標準出力

+
{{ ex.stdout }}
+

標準エラー出力

+
{{ ex.stderr }}
+ {% endfor %} +{% endblock %} -- cgit v1.2.3-70-g09d2