wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates
This commit is contained in:
@@ -37,23 +37,31 @@ async function submit(): Promise<void> {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="grid min-h-screen place-items-center bg-bg px-6 py-8 font-sans text-text">
|
||||
<div class="bg-bg text-text grid min-h-screen place-items-center px-6 py-8 font-sans">
|
||||
<form class="w-full max-w-[420px]" @submit.prevent="submit">
|
||||
<VCard>
|
||||
<p class="mb-2 text-xs font-bold uppercase tracking-[0.08em] text-primary">{{ $t("common.appName") }} · Admin</p>
|
||||
<p class="text-primary mb-2 text-xs font-bold tracking-[0.08em] uppercase">
|
||||
{{ $t("common.appName") }} · Admin
|
||||
</p>
|
||||
<h1 class="mb-2 text-xl font-bold">{{ $t("auth.welcome") }}</h1>
|
||||
<p class="mb-5 text-sm text-muted">{{ $t("admin.dashboardTitle") }}</p>
|
||||
<p class="text-muted mb-5 text-sm">{{ $t("admin.dashboardTitle") }}</p>
|
||||
<VField :label="$t('common.email')">
|
||||
<VInput id="email" v-model="email" type="email" autocomplete="username" required />
|
||||
</VField>
|
||||
<VField :label="$t('common.password')">
|
||||
<VInput id="password" v-model="password" type="password" autocomplete="current-password" required />
|
||||
<VInput
|
||||
id="password"
|
||||
v-model="password"
|
||||
type="password"
|
||||
autocomplete="current-password"
|
||||
required
|
||||
/>
|
||||
</VField>
|
||||
<p v-if="errorMessage" class="my-2 text-sm text-danger" role="alert">{{ errorMessage }}</p>
|
||||
<p v-if="errorMessage" class="text-danger my-2 text-sm" role="alert">{{ errorMessage }}</p>
|
||||
<VBtn class="w-full" variant="primary" type="submit" :disabled="loading">
|
||||
{{ loading ? $t("common.loading") : $t("common.login") }}
|
||||
</VBtn>
|
||||
<p class="mt-4 text-center text-xs text-muted">{{ $t("auth.adminHint") }}</p>
|
||||
<p class="text-muted mt-4 text-center text-xs">{{ $t("auth.adminHint") }}</p>
|
||||
</VCard>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user