wip(freight): migration 0017 + model/column-list groundwork for add-freight-templates

This commit is contained in:
Chengdong Zhang
2026-09-23 17:39:45 +08:00
parent a83e857bdf
commit 5b426486ac
105 changed files with 6193 additions and 1566 deletions
+10 -4
View File
@@ -27,16 +27,22 @@ async function submit(): Promise<void> {
</script>
<template>
<main class="grid min-h-screen place-items-center bg-bg px-4 font-sans text-text">
<main class="bg-bg text-text grid min-h-screen place-items-center px-4 font-sans">
<VCard class="w-full max-w-[420px]">
<form @submit.prevent="submit">
<h1 class="mb-5 text-xl font-bold text-text">{{ $t("auth.welcome") }}</h1>
<div v-if="error" class="my-2 text-sm text-danger" role="alert">{{ error }}</div>
<h1 class="text-text mb-5 text-xl font-bold">{{ $t("auth.welcome") }}</h1>
<div v-if="error" class="text-danger my-2 text-sm" role="alert">{{ error }}</div>
<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>
<VBtn variant="primary" type="submit" :disabled="busy">
{{ busy ? $t("common.loading") : $t("common.login") }}