Add admin login page with session auth, route guard, and RTL form layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-03 15:19:50 +02:00
co-authored by Cursor
parent 32c15dbd1d
commit d97bcea99e
10 changed files with 501 additions and 6 deletions
+17
View File
@@ -172,6 +172,23 @@ defineProps<{
<circle cx="9" cy="12" r="2" />
<path d="M14 10h5M14 14h5" />
</template>
<!-- lock -->
<template v-else-if="name === 'lock'">
<rect x="5" y="11" width="14" height="10" rx="2" />
<path d="M8 11V8a4 4 0 1 1 8 0v3" />
</template>
<!-- eye -->
<template v-else-if="name === 'eye'">
<path d="M2 12s3.5-7 10-7 10 7 10 7-3.5 7-10 7-10-7-10-7Z" />
<circle cx="12" cy="12" r="3" />
</template>
<!-- eye-off -->
<template v-else-if="name === 'eye-off'">
<path d="M10.6 10.6a2.5 2.5 0 0 0 3.5 3.5" />
<path d="M6.7 6.7C4.6 8.2 3 10.2 2 12s3.5 7 10 7c1.8 0 3.4-.4 4.8-1.1" />
<path d="M17.3 17.3C19.4 15.8 21 13.8 22 12s-3.5-7-10-7c-1.8 0-3.4.4-4.8 1.1" />
<path d="M2 2l20 20" />
</template>
<!-- user -->
<template v-else-if="name === 'user'">
<circle cx="12" cy="8" r="4" />