more flow

This commit is contained in:
Nicolai Ort 2025-03-23 00:51:23 +01:00
parent 012a0043b3
commit 52b8db4a5a
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
2 changed files with 14 additions and 7 deletions

View File

@ -13,17 +13,12 @@
<Card.Header>
<Card.Title class="text-2xl">Login</Card.Title>
<Card.Description
>Please enter credentials for an account that is allowed to create
runners and their selfservice links.</Card.Description
>Please enter kiosk credentials.</Card.Description
>
</Card.Header>
<Card.Content class="grid gap-4">
<div class="grid gap-2">
<Label for="email">Email</Label>
<Input id="email" type="email" placeholder="m@example.com" required />
</div>
<div class="grid gap-2">
<Label for="password">Password</Label>
<Label for="password">Token</Label>
<Input id="password" type="password" required />
</div>
</Card.Content>

View File

@ -21,6 +21,11 @@
progress: 50,
showback: true,
},
SIGNUP_MAIL_ACCEPT: {
name: "Accept terms",
progress: 75,
showback: true,
},
SIGNIN: {
name: "Signin",
progress: 50,
@ -136,6 +141,13 @@
>
<Input id="email" type="email" placeholder="m@example.com" />
</div>
<Button
variant="default"
class="w-full"
on:click={() => {
currentStep = Steps.SIGNUP_MAIL_ACCEPT;
}}>Continue</Button
>
{:else if currentStep.name == Steps.SIGNIN.name}
<div class="grid gap-2">
<Button