This commit is contained in:
team3
2026-07-27 11:29:57 +02:00
parent 15ad6dfe8a
commit 1c8a4fd4fd
30 changed files with 1133 additions and 173 deletions

View File

@@ -5,7 +5,13 @@ import SeitenLeiste from './components/SeitenLeiste.vue'
import FeatureListe from './components/FeatureListe.vue'
import KontextMenue from './components/KontextMenue.vue'
import PruefPanel from './components/PruefPanel.vue'
import { offen as pruefungOffen, starte as startePruefung, schliesse as schliessePruefung } from './composables/pruefung.js'
import {
offen as pruefungOffen,
laeuft as pruefungLaeuft,
prozent as pruefungProzent,
starte as startePruefung,
schliesse as schliessePruefung,
} from './composables/pruefung.js'
const projekte = ref([])
const aktivesProjekt = ref(null)
@@ -80,12 +86,10 @@ onMounted(async () => {
@geaendert="ladeProjekte"
@umbenannt="umbenannt"
>
<button
v-if="aktivesProjekt"
class="icon-knopf"
title="Karten prüfen"
@click="startePruefung(aktivesProjekt)"
>⌾</button>
<span v-if="aktivesProjekt" class="pruefen">
<button class="icon-knopf" title="Karten prüfen" @click="startePruefung(aktivesProjekt)">⌾</button>
<span v-if="pruefungLaeuft" class="fortschritt">{{ pruefungProzent }} %</span>
</span>
<button class="icon-knopf" :title="TITEL[modus]" @click="wechsleDarkMode">
{{ ICONS[modus] }}
</button>
@@ -118,4 +122,15 @@ main {
margin-top: 3rem;
text-align: center;
}
/* Fortschritt sitzt unter dem Prüf-Icon */
.pruefen {
display: inline-flex;
flex-direction: column;
align-items: center;
line-height: 1.1;
}
.fortschritt {
font-size: 0.65rem;
color: var(--dezent);
}
</style>