feature: add separate exam parts

This commit is contained in:
Matthias Jung
2026-08-05 16:34:48 +02:00
parent 8a5c53289c
commit d3d5f3a554
3 changed files with 25 additions and 2 deletions
+14
View File
@@ -14,6 +14,7 @@
<p class="lead">Welche Prüfung möchtest du simulieren?</p>
<h2 class="h4 mt-5">Erstprüfung</h2>
<p class="mb-2">Du hast noch keine Amateurfunkprüfung abgelegt? Dann ist das die richtige Simulation für Dich.</p>
<div class="row row-cols-1 row-cols-md-3 g-2">
<div v-for="choice in primaryChoices" :key="choice.id" class="col">
<button type="button" class="btn w-100 h-100 py-3 text-white"
@@ -25,6 +26,7 @@
</div>
<h2 class="h4 mt-4">Aufstockungsprüfung</h2>
<p class="mb-2">Du hast bereits eine Zulassung zum Amateurfunkdienst und möchtest in eine höhere Klasse aufstocken? Dann wähle hier die passende Prüfung.</p>
<div class="row row-cols-1 row-cols-md-3 g-2">
<div v-for="choice in upgradeChoices" :key="choice.id" class="col">
<button type="button" class="btn w-100 h-100 py-3 text-white"
@@ -35,6 +37,18 @@
</div>
</div>
<h2 class="h4 mt-4">Einzelne Prüfungsteile</h2>
<p class="mb-2">Übe gezielt einen Prüfungsteil unter Prüfungsbedingungen.</p>
<div class="row row-cols-1 row-cols-sm-2 row-cols-lg-5 g-2">
<div v-for="choice in singlePartChoices" :key="choice.id" class="col">
<button type="button" class="btn w-100 h-100 py-3 text-white"
:style="{ backgroundColor: choice.color, borderColor: choice.color }" @click="startExam(choice)">
<span class="d-block" v-text="choice.label"></span>
<small class="d-block" v-text="choice.detail"></small>
</button>
</div>
</div>
<div class="alert alert-primary mt-4 mb-0">
Jeder Prüfungsteil enthält 25 Fragen. Für B, V, N und E stehen jeweils 45 Minuten zur Verfügung,
für Technik A 60 Minuten. Ein Teil ist ab 19 Punkten bestanden.