aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/templates/quiz_view.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_view.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_view.html.twig')
-rw-r--r--services/app/templates/quiz_view.html.twig8
1 files changed, 4 insertions, 4 deletions
diff --git a/services/app/templates/quiz_view.html.twig b/services/app/templates/quiz_view.html.twig
index 0e5dee0..ade324a 100644
--- a/services/app/templates/quiz_view.html.twig
+++ b/services/app/templates/quiz_view.html.twig
@@ -12,13 +12,13 @@
<p>
{{ quiz.description }}
</p>
- <h3>実装例</h3>
- <pre><code class="hljs language-php">{{ quiz.example_code }}</code></pre>
{% if is_open %}
<p>
- <a href="{{ url_for('answer_new', { qslug: quiz.slug }) }}">回答する</a>
+ <a class="btn btn-primary" href="{{ url_for('answer_new', { qslug: quiz.slug }) }}">回答する</a>
</p>
{% endif %}
+ <h3>実装例</h3>
+ <pre><code class="hljs language-php">{{ quiz.example_code }}</code></pre>
<h2>ランキング</h2>
{% if is_ranking_hidden %}
回答が締め切られるまで、ランキングは表示されません
@@ -27,7 +27,7 @@
まだ正解した回答がありません
</p>
{% else %}
- <table>
+ <table class="table table-striped table-bordered">
<thead>
<tr>
<th>ランク</th>