Update src/routes/+page.svelte

This commit is contained in:
spitkov 2025-03-14 09:08:21 +01:00
parent c29a32203b
commit d305c772b9

View file

@ -198,6 +198,27 @@
on:submit|preventDefault={handleLogin}
class="login-form-content"
>
<div class="form-group">
<input
type="text"
placeholder="Felhasználónév"
bind:value={username}
class="form-input"
disabled={isLoggingIn}
/>
</div>
<div class="form-group">
<input
type="password"
placeholder="Jelszó"
bind:value={password}
class="form-input"
disabled={isLoggingIn}
/>
</div>
<div class="form-group school-selector">
<div class="select-wrapper">
<input
@ -226,26 +247,6 @@
</div>
</div>
<div class="form-group">
<input
type="text"
placeholder="Felhasználónév"
bind:value={username}
class="form-input"
disabled={isLoggingIn}
/>
</div>
<div class="form-group">
<input
type="password"
placeholder="Jelszó"
bind:value={password}
class="form-input"
disabled={isLoggingIn}
/>
</div>
{#if loginMessage}
<div class={isLoggingIn ? "login-message" : "login-error"}>
<p>{loginMessage}</p>