aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/templates/admin_testcase_list.html.twig
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-01-17 02:11:31 +0900
committernsfisis <nsfisis@gmail.com>2024-01-17 02:11:31 +0900
commitdeacd0dfc195bca41af631114804d29937337cd8 (patch)
treef1f83580e5bc892c0794ac41632bc0cce3498f65 /services/app/templates/admin_testcase_list.html.twig
parent38ddeb28ec846ee966d0fe6873585d697a9ef373 (diff)
downloadphperkaigi-2024-albatross-deacd0dfc195bca41af631114804d29937337cd8.tar.gz
phperkaigi-2024-albatross-deacd0dfc195bca41af631114804d29937337cd8.tar.zst
phperkaigi-2024-albatross-deacd0dfc195bca41af631114804d29937337cd8.zip
.
Diffstat (limited to 'services/app/templates/admin_testcase_list.html.twig')
-rw-r--r--services/app/templates/admin_testcase_list.html.twig18
1 files changed, 18 insertions, 0 deletions
diff --git a/services/app/templates/admin_testcase_list.html.twig b/services/app/templates/admin_testcase_list.html.twig
new file mode 100644
index 0000000..a146406
--- /dev/null
+++ b/services/app/templates/admin_testcase_list.html.twig
@@ -0,0 +1,18 @@
+{% extends '_page.html.twig' %}
+
+{% block content %}
+ <p>
+ このページは管理画面です
+ </p>
+ <h2>{{ quiz.title }}</h2>
+ <p>
+ {{ quiz.description }}
+ </p>
+ <h2>テストケース一覧</h2>
+ <ul>
+ {% for testcase in testcases %}
+ <li><a href="{{ url_for('admin_testcase_edit', { qslug: quiz.slug, tid: testcase.testcase_id }) }}">テストケース #{{ testcase.testcase_id }}</a></li>
+ {% endfor %}
+ </ul>
+ <a href="{{ url_for('admin_testcase_new', { qslug: quiz.slug }) }}">テストケースを追加する</a>
+{% endblock %}