diff options
Diffstat (limited to 'services/app/templates/admin_testcase_list.html.twig')
| -rw-r--r-- | services/app/templates/admin_testcase_list.html.twig | 18 |
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 %} |
