spaced repetition
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
<button
|
||||
(click)="showText()"
|
||||
class="bg-green-500 disabled:bg-green-200 text-white py-2 px-4 rounded hover:bg-green-600"
|
||||
[disabled]="isShowingBox || currentBoxIndex >= boxes.length"
|
||||
[disabled]="isShowingBox || currentBoxIndex >= boxesToReview.length"
|
||||
>
|
||||
Anzeigen
|
||||
</button>
|
||||
@@ -18,7 +18,7 @@
|
||||
<button
|
||||
(click)="markKnown()"
|
||||
class="bg-blue-500 disabled:bg-blue-200 text-white py-2 px-4 rounded hover:bg-blue-600"
|
||||
[disabled]="!isShowingBox || currentBoxIndex >= boxes.length"
|
||||
[disabled]="!isShowingBox || currentBoxIndex >= boxesToReview.length"
|
||||
>
|
||||
Gewusst
|
||||
</button>
|
||||
@@ -27,10 +27,19 @@
|
||||
<button
|
||||
(click)="markUnknown()"
|
||||
class="bg-red-500 disabled:bg-red-200 text-white py-2 px-4 rounded hover:bg-red-600"
|
||||
[disabled]="!isShowingBox || currentBoxIndex >= boxes.length"
|
||||
[disabled]="!isShowingBox || currentBoxIndex >= boxesToReview.length"
|
||||
>
|
||||
Nicht gewusst
|
||||
</button>
|
||||
|
||||
<!-- Nächstes Bild Button -->
|
||||
<button
|
||||
(click)="skipToNextImage()"
|
||||
class="bg-yellow-500 disabled:bg-yellow-200 text-white py-2 px-4 rounded hover:bg-yellow-600"
|
||||
[disabled]="currentImageIndex >= deck.images.length"
|
||||
>
|
||||
Nächstes Bild
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<p class="mt-2">{{ progress }}</p>
|
||||
|
||||
Reference in New Issue
Block a user