Resolve "Quiz Design anpassen!" #279
@@ -372,15 +372,23 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
-->
|
-->
|
||||||
|
|
||||||
|
<div class="max-w-full p-4 mt-8 rounded-2xl bg-gray-100 dark:bg-transparent shadow-sm">
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<div class="flex flex-col max-w-full">
|
<div class="flex flex-col max-w-full">
|
||||||
<p class="text-gray-600 mt-2 dark:text-white ">Credits: </p>
|
<p class="text-lg font-bold text-gray-800 dark:text-white dark:bg-transparent mb-3">
|
||||||
|
Credits
|
||||||
|
</p>
|
||||||
{% if quiz.credits %}
|
{% if quiz.credits %}
|
||||||
<p class="text-blue-500 mb-2 w-full break-words dark:text-gray-400 ">
|
<p class="text-blue-500 mb-2 w-full break-words dark:text-gray-400 ">
|
||||||
<span class="break-words italic">{{ quiz.credits }}</span>
|
<span class="break-words italic">{{ quiz.credits }}</span>
|
||||||
<span class="font-normal break-words text-gray-600 dark:text-white">(Credits für das Quiz)</span>
|
<span class="font-normal break-words text-gray-600 dark:text-white">(Credits für das Quiz)</span>
|
||||||
</p>
|
</p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p class="text-gray-500 dark:text-gray-400 ">Keine Credits für das Quizformular vorhanden!</p>
|
<p class="text-gray-500 dark:text-gray-400 ">Keine Credits für das Quizformular vorhanden.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -391,7 +399,7 @@
|
|||||||
<ul class="space-y-2">
|
<ul class="space-y-2">
|
||||||
{% regroup questions by credits as grouped_credits %}
|
{% regroup questions by credits as grouped_credits %}
|
||||||
{% if grouped_credits|length == 1 and not grouped_credits.0.grouper %}
|
{% if grouped_credits|length == 1 and not grouped_credits.0.grouper %}
|
||||||
<li class="text-gray-500 dark:text-gray-400 ">Keine Credits für die Fragen vorhanden!</li>
|
<li class="text-gray-500 dark:text-gray-400 ">Keine zusätzlichen Credits für die einzelnen Fragen vorhanden.</li>
|
||||||
{% else %}
|
{% else %}
|
||||||
{% for question in questions %}
|
{% for question in questions %}
|
||||||
{% if question.credits %}
|
{% if question.credits %}
|
||||||
@@ -404,6 +412,8 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="max-w-full p-4 mt-8 rounded-2xl bg-gray-100 dark:bg-transparent shadow-sm">
|
<div class="max-w-full p-4 mt-8 rounded-2xl bg-gray-100 dark:bg-transparent shadow-sm">
|
||||||
<p class="text-lg font-bold text-gray-800 dark:text-white dark:bg-transparent mb-3">
|
<p class="text-lg font-bold text-gray-800 dark:text-white dark:bg-transparent mb-3">
|
||||||
|
|||||||
Reference in New Issue
Block a user