This commit is contained in:
ben8
2025-05-19 18:31:17 +02:00
parent 8efd22034c
commit 59c3e5d90c
4 changed files with 24 additions and 5 deletions

View File

@@ -8,12 +8,17 @@
<div class="text-center mb-8">
<h3 class="text-xl text-gray-600 mb-2">{{ quiz.name }}</h3>
{% if request.session.mode != "learn" %}
{% if host_id %}
<div class="bg-blue-100 rounded-lg p-4 mb-4">
<h1 class="text-4xl font-bold text-blue-800">{{ quiz_game.join_code }}</h1>
<div class="w-full flex justify-center my-2">
<img src="data:image/png;base64,{{ qr_code_base64 }}" class="h-50 w-50" alt="QR-Code">
</div>
<p class="text-sm text-blue-600 mt-1">Spiel-Code</p>
</div>
</div>
{% endif %}
{% endif %}
<!-- Participant Info -->
{% if participant %}