aboutsummaryrefslogtreecommitdiffhomepage
path: root/services/app/templates/admin_answer_list.html.twig
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-03-09 14:35:37 +0900
committernsfisis <nsfisis@gmail.com>2024-03-09 14:35:37 +0900
commitac5fd153e36f3cceb96ffd9e7af9ca967d9b9215 (patch)
tree035364b46573a9bd08e52b4ffc2c9f4b3357ec70 /services/app/templates/admin_answer_list.html.twig
parentb53a20bb6c7cf9ee9ce3f8d0e536be0cb8710203 (diff)
downloadphperkaigi-2024-albatross-ac5fd153e36f3cceb96ffd9e7af9ca967d9b9215.tar.gz
phperkaigi-2024-albatross-ac5fd153e36f3cceb96ffd9e7af9ca967d9b9215.tar.zst
phperkaigi-2024-albatross-ac5fd153e36f3cceb96ffd9e7af9ca967d9b9215.zip
show ranking chart for admin users
Diffstat (limited to 'services/app/templates/admin_answer_list.html.twig')
-rw-r--r--services/app/templates/admin_answer_list.html.twig5
1 files changed, 5 insertions, 0 deletions
diff --git a/services/app/templates/admin_answer_list.html.twig b/services/app/templates/admin_answer_list.html.twig
index 68f0089..5d07d92 100644
--- a/services/app/templates/admin_answer_list.html.twig
+++ b/services/app/templates/admin_answer_list.html.twig
@@ -38,4 +38,9 @@
{% endfor %}
</tbody>
</table>
+
+ <div>
+ <canvas id="chart" data-quiz-id="{{ quiz.quiz_id }}"></canvas>
+ <script type="module" src="{{ base_path() }}/assets/chart.js"></script>
+ </div>
{% endblock %}