design#135

This commit is contained in:
ben8
2025-06-08 19:51:10 +02:00
parent c41d9cc9b5
commit 431e1c07c8
3 changed files with 16 additions and 9 deletions

View File

@@ -9,7 +9,7 @@
Spiel verlassen
</button>
</div>{% endif %}
<div class="bg-white rounded-lg shadow-md p-4 mb-6">
<div id="form_host" class="bg-white rounded-lg shadow-md p-4 mb-6">
<div class="flex justify-between mb-2">
<div class="flex gap-1 text-sm"><p class="text-sm">Frage</p>
<p class="text-gray-700 font-bold text-sm">{{ question_index|add:1 }}</p>
@@ -30,7 +30,7 @@
</div>
{% endif %}
{% if request.session.mode != "learn" %}
<div class="w-full bg-gray-300 rounded-full h-4 mx-2">
<div class="w-full bg-gray-300 rounded-full h-4">
<div id="time-bar" class="bg-blue-600 h-4 rounded-full transition-all duration-100 linear" style="width: 100%;"></div>
</div>
{% endif %}
@@ -70,7 +70,7 @@
bg-gray-500
hover:bg-gray-600
{% endif %}
p-4 rounded-lg text-white transition-colors duration-200 answer-option"
p-4 rounded-lg text-white transition-colors duration-200 answer-option overflow-auto break-words hyphens-auto "
data-index="{{ forloop.counter0 }}"
{% if request.session.mode == "learn" %}
onclick="submitAnswer({{ forloop.counter0 }});" {% endif %}>