aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/templates/quiz_list.html.twig
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-05 23:38:00 +0900
committernsfisis <nsfisis@gmail.com>2024-03-05 23:38:00 +0900
commit3100340e7e59e3b0f61667dff35c0a56b67f83da (patch)
tree549dd1f22cd9b39c02d89d3df68ea709811a0b47 /services/app/templates/quiz_list.html.twig
parentfc3bf7310451a2a60b100af53c938ddd5078d34d (diff)
downloadphperkaigi-2024-albatross-3100340e7e59e3b0f61667dff35c0a56b67f83da.tar.gz
phperkaigi-2024-albatross-3100340e7e59e3b0f61667dff35c0a56b67f83da.tar.zst
phperkaigi-2024-albatross-3100340e7e59e3b0f61667dff35c0a56b67f83da.zip
update site design
Diffstat (limited to 'services/app/templates/quiz_list.html.twig')
-rw-r--r--services/app/templates/quiz_list.html.twig12
1 files changed, 7 insertions, 5 deletions
diff --git a/services/app/templates/quiz_list.html.twig b/services/app/templates/quiz_list.html.twig
index 2aa4f98..6142b6b 100644
--- a/services/app/templates/quiz_list.html.twig
+++ b/services/app/templates/quiz_list.html.twig
@@ -1,9 +1,11 @@
{% extends '_page.html.twig' %}
{% block content %}
- <ul>
- {% for quiz in quizzes %}
- <li><a href="{{ url_for('quiz_view', { qslug: quiz.slug }) }}">問題 #{{ quiz.quiz_id }}: {{ quiz.title }}</a></li>
- {% endfor %}
- </ul>
+ {% for quiz in quizzes %}
+ <a class="card mb-3 text-dark text-decoration-none" href="{{ url_for('quiz_view', { qslug: quiz.slug }) }}">
+ <div class="card-body">
+ <h5 class="card-title">問題 #{{ quiz.quiz_id }}: {{ quiz.title }}</span>
+ </div>
+ </a>
+ {% endfor %}
{% endblock %}