Dough Git

clove/isATracker

src/routes/login/+page.svelte

back to src/routes/login

<!-- src/routes/login/+page.svelte
	 MIT — (c) Doughmination System®
-->

<script lang="ts">
	import type { PageProps } from './$types';

	let { form }: PageProps = $props();
</script>

<svelte:head>
	<title>Sign in · isATracker</title>
</svelte:head>

<h1>Moderator sign in</h1>

<p class="muted">Sign in to review pending findings and access moderation tools.</p>
<p><a href="/">View public statistics</a></p>

{#if form?.problem}
	<p class="notice failure" role="alert">{form.problem}</p>
{/if}

<form method="POST" class="card formRow">
	<input
		type="password"
		name="password"
		placeholder="Dashboard password"
		aria-label="Dashboard password"
		autocomplete="current-password"
		required
	/>
	<button class="primary">Sign in</button>
</form>