Feature: 40 bilingual questions, random 10 game run, difficulty levels, and full i18n support
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
<div class="q-header">
|
||||
<div style="display: flex; gap: 8px; align-items: center;">
|
||||
<span class="badge badge-warning">⚠️ Prüfung ausstehend</span>
|
||||
<span class="badge badge-diff badge-diff-{{ q.difficulty or 'medium' }}">{{ (q.difficulty or 'medium')|capitalize }}</span>
|
||||
{% if q.question_type == 'multiple_choice' %}
|
||||
<span class="badge" style="background: rgba(155, 89, 182, 0.2); border-color: #9b59b6; color: #d2b4de;">🔘 Multiple-Choice</span>
|
||||
{% else %}
|
||||
@@ -143,6 +144,7 @@
|
||||
<div class="q-header">
|
||||
<div style="display: flex; gap: 8px; align-items: center;">
|
||||
<span class="badge badge-success">Reihenfolge #{{ q.sort_order }}</span>
|
||||
<span class="badge badge-diff badge-diff-{{ q.difficulty or 'medium' }}">{{ (q.difficulty or 'medium')|capitalize }}</span>
|
||||
{% if q.question_type == 'multiple_choice' %}
|
||||
<span class="badge" style="background: rgba(155, 89, 182, 0.2); border-color: #9b59b6; color: #d2b4de;">🔘 Multiple-Choice</span>
|
||||
{% else %}
|
||||
@@ -182,6 +184,14 @@
|
||||
<option value="multiple_choice" {% if q.question_type == 'multiple_choice' %}selected{% endif %}>🔘 Multiple Choice</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Schwierigkeitsgrad:</label>
|
||||
<select name="difficulty" class="input-text">
|
||||
<option value="easy" {% if q.difficulty == 'easy' %}selected{% endif %}>🟢 Leicht</option>
|
||||
<option value="medium" {% if q.difficulty == 'medium' or not q.difficulty %}selected{% endif %}>🟡 Mittel</option>
|
||||
<option value="hard" {% if q.difficulty == 'hard' %}selected{% endif %}>🔴 Schwer</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>Richtige Antwort:</label>
|
||||
<input type="text" name="canonical_answer" class="input-text" value="{{ q.canonical_answer }}" required>
|
||||
@@ -221,6 +231,15 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="new_diff">Schwierigkeitsgrad:</label>
|
||||
<select name="difficulty" id="new_diff" class="input-text">
|
||||
<option value="easy">🟢 Leicht</option>
|
||||
<option value="medium" selected>🟡 Mittel</option>
|
||||
<option value="hard">🔴 Schwer</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="new_type">Fragentyp:</label>
|
||||
<select name="question_type" id="new_type" class="input-text" onchange="toggleAdminNewType(this.value)">
|
||||
|
||||
Reference in New Issue
Block a user