feat: move statistics action buttons above image list
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
1fa68f5de1
commit
d1cf6efbc4
1 changed files with 15 additions and 15 deletions
|
|
@ -64,6 +64,21 @@
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@if (_confirmReset)
|
||||||
|
{
|
||||||
|
<div class="reset-confirm">
|
||||||
|
<span>Alle Statistiken wirklich zurücksetzen?</span>
|
||||||
|
<button class="btn-confirm-yes" @onclick="ConfirmReset">Ja, zurücksetzen</button>
|
||||||
|
<button class="btn-confirm-no" @onclick="() => _confirmReset = false">Abbrechen</button>
|
||||||
|
</div>
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
<button class="btn-reset" @onclick="() => _confirmReset = true">Zurücksetzen</button>
|
||||||
|
}
|
||||||
|
|
||||||
|
<button class="btn-start" @onclick="GoToStart">Zurück zum Start</button>
|
||||||
|
|
||||||
<div class="stats-list">
|
<div class="stats-list">
|
||||||
@foreach (var word in words)
|
@foreach (var word in words)
|
||||||
{
|
{
|
||||||
|
|
@ -83,21 +98,6 @@
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@if (_confirmReset)
|
|
||||||
{
|
|
||||||
<div class="reset-confirm">
|
|
||||||
<span>Alle Statistiken wirklich zurücksetzen?</span>
|
|
||||||
<button class="btn-confirm-yes" @onclick="ConfirmReset">Ja, zurücksetzen</button>
|
|
||||||
<button class="btn-confirm-no" @onclick="() => _confirmReset = false">Abbrechen</button>
|
|
||||||
</div>
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
<button class="btn-reset" @onclick="() => _confirmReset = true">Zurücksetzen</button>
|
|
||||||
}
|
|
||||||
|
|
||||||
<button class="btn-start" @onclick="GoToStart">Zurück zum Start</button>
|
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue