backend und frontent optimiert

This commit is contained in:
titver968
2025-04-16 14:34:11 +02:00
parent 5177bce04c
commit 5e7c0600a8
6 changed files with 48 additions and 31 deletions

View File

@@ -31,6 +31,14 @@
</tr>
{/each}
</tbody>
</table>
<button
on:click={async () => {
await fetch('/api/admin/logout', { method: 'POST' });
location.reload();
}}
class="bg-red-600 text-white px-4 py-3 rounded text-center hiver:bg-red-700">
Logout
</button>
</div>