formatted, added team index, create, show
CI/CD / test_and_check_app (push) Failing after 48s
CI/CD / Publish immutable image (push) Skipped

This commit is contained in:
2026-09-19 01:09:55 +02:00
parent 9a025d6a80
commit b79d93fede
76 changed files with 3290 additions and 3146 deletions
+18 -18
View File
@@ -5,28 +5,28 @@ import Heading from '@/components/Heading.vue';
import { edit } from '@/routes/appearance';
defineOptions({
layout: {
breadcrumbs: [
{
title: 'Appearance settings',
href: edit(),
},
],
},
layout: {
breadcrumbs: [
{
title: 'Appearance settings',
href: edit(),
},
],
},
});
</script>
<template>
<Head title="Appearance settings" />
<Head title="Appearance settings" />
<h1 class="sr-only">Appearance settings</h1>
<h1 class="sr-only">Appearance settings</h1>
<div class="space-y-6">
<Heading
variant="small"
title="Appearance settings"
description="Update the appearance settings for your account"
/>
<AppearanceTabs />
</div>
<div class="space-y-6">
<Heading
variant="small"
title="Appearance settings"
description="Update the appearance settings for your account"
/>
<AppearanceTabs />
</div>
</template>
+75 -75
View File
@@ -13,14 +13,14 @@ import { edit } from '@/routes/profile';
import { send } from '@/routes/verification';
defineOptions({
layout: {
breadcrumbs: [
{
title: 'Profile settings',
href: edit(),
},
],
},
layout: {
breadcrumbs: [
{
title: 'Profile settings',
href: edit(),
},
],
},
});
const page = usePage();
@@ -28,78 +28,78 @@ const user = computed(() => page.props.auth.user);
</script>
<template>
<Head title="Profile settings" />
<Head title="Profile settings" />
<h1 class="sr-only">Profile settings</h1>
<h1 class="sr-only">Profile settings</h1>
<div class="flex flex-col space-y-6">
<Heading
variant="small"
title="Profile"
description="Update your name and email address"
<div class="flex flex-col space-y-6">
<Heading
variant="small"
title="Profile"
description="Update your name and email address"
/>
<Form
v-bind="ProfileController.update.form()"
class="space-y-6"
v-slot="{ errors, processing }"
>
<div class="grid gap-2">
<Label for="name">Name</Label>
<Input
id="name"
class="mt-1 block w-full"
name="name"
:default-value="user.name"
required
autocomplete="name"
placeholder="Full name"
/>
<InputError class="mt-2" :message="errors.name" />
</div>
<Form
v-bind="ProfileController.update.form()"
class="space-y-6"
v-slot="{ errors, processing }"
<div class="grid gap-2">
<Label for="email">Email address</Label>
<Input
id="email"
type="email"
class="mt-1 block w-full"
name="email"
:default-value="user.email"
required
autocomplete="username"
placeholder="Email address"
/>
<InputError class="mt-2" :message="errors.email" />
</div>
<div v-if="page.props.mustVerifyEmail && !user.email_verified_at">
<p class="text-muted-foreground -mt-4 text-sm">
Your email address is unverified.
<Link
:href="send()"
as="button"
class="text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500"
>
Click here to re-send the verification email.
</Link>
</p>
<div
v-if="page.props.status === 'verification-link-sent'"
class="mt-2 text-sm font-medium text-green-600"
>
<div class="grid gap-2">
<Label for="name">Name</Label>
<Input
id="name"
class="mt-1 block w-full"
name="name"
:default-value="user.name"
required
autocomplete="name"
placeholder="Full name"
/>
<InputError class="mt-2" :message="errors.name" />
</div>
A new verification link has been sent to your email address.
</div>
</div>
<div class="grid gap-2">
<Label for="email">Email address</Label>
<Input
id="email"
type="email"
class="mt-1 block w-full"
name="email"
:default-value="user.email"
required
autocomplete="username"
placeholder="Email address"
/>
<InputError class="mt-2" :message="errors.email" />
</div>
<div class="flex items-center gap-4">
<Button :disabled="processing" data-test="update-profile-button"
>Save</Button
>
</div>
</Form>
</div>
<div v-if="page.props.mustVerifyEmail && !user.email_verified_at">
<p class="text-muted-foreground -mt-4 text-sm">
Your email address is unverified.
<Link
:href="send()"
as="button"
class="text-foreground underline decoration-neutral-300 underline-offset-4 transition-colors duration-300 ease-out hover:decoration-current! dark:decoration-neutral-500"
>
Click here to re-send the verification email.
</Link>
</p>
<div
v-if="page.props.status === 'verification-link-sent'"
class="mt-2 text-sm font-medium text-green-600"
>
A new verification link has been sent to your email address.
</div>
</div>
<div class="flex items-center gap-4">
<Button :disabled="processing" data-test="update-profile-button"
>Save</Button
>
</div>
</Form>
</div>
<DeleteUser />
<DeleteUser />
</template>
+78 -84
View File
@@ -21,100 +21,94 @@ type Props = {
const props = defineProps<Props>();
defineOptions({
layout: {
breadcrumbs: [
{
title: 'Security settings',
href: edit(),
},
],
},
layout: {
breadcrumbs: [
{
title: 'Security settings',
href: edit(),
},
],
},
});
</script>
<template>
<Head title="Security settings" />
<Head title="Security settings" />
<h1 class="sr-only">Security settings</h1>
<h1 class="sr-only">Security settings</h1>
<div class="space-y-6">
<Heading
variant="small"
title="Update password"
description="Ensure your account is using a long, random password to stay secure"
<div class="space-y-6">
<Heading
variant="small"
title="Update password"
description="Ensure your account is using a long, random password to stay secure"
/>
<Form
v-bind="SecurityController.update.form()"
:options="{
preserveScroll: true,
}"
reset-on-success
:reset-on-error="[
'password',
'password_confirmation',
'current_password',
]"
class="space-y-6"
v-slot="{ errors, processing }"
>
<div class="grid gap-2">
<Label for="current_password">Current password</Label>
<PasswordInput
id="current_password"
name="current_password"
class="mt-1 block w-full"
autocomplete="current-password"
placeholder="Current password"
/>
<InputError :message="errors.current_password" />
</div>
<Form
v-bind="SecurityController.update.form()"
:options="{
preserveScroll: true,
}"
reset-on-success
:reset-on-error="[
'password',
'password_confirmation',
'current_password',
]"
class="space-y-6"
v-slot="{ errors, processing }"
>
<div class="grid gap-2">
<Label for="current_password">Current password</Label>
<PasswordInput
id="current_password"
name="current_password"
class="mt-1 block w-full"
autocomplete="current-password"
placeholder="Current password"
/>
<InputError :message="errors.current_password" />
</div>
<div class="grid gap-2">
<Label for="password">New password</Label>
<PasswordInput
id="password"
name="password"
class="mt-1 block w-full"
autocomplete="new-password"
placeholder="New password"
:passwordrules="props.passwordRules"
/>
<InputError :message="errors.password" />
</div>
<div class="grid gap-2">
<Label for="password">New password</Label>
<PasswordInput
id="password"
name="password"
class="mt-1 block w-full"
autocomplete="new-password"
placeholder="New password"
:passwordrules="props.passwordRules"
/>
<InputError :message="errors.password" />
</div>
<div class="grid gap-2">
<Label for="password_confirmation">Confirm password</Label>
<PasswordInput
id="password_confirmation"
name="password_confirmation"
class="mt-1 block w-full"
autocomplete="new-password"
placeholder="Confirm password"
:passwordrules="props.passwordRules"
/>
<InputError :message="errors.password_confirmation" />
</div>
<div class="grid gap-2">
<Label for="password_confirmation">Confirm password</Label>
<PasswordInput
id="password_confirmation"
name="password_confirmation"
class="mt-1 block w-full"
autocomplete="new-password"
placeholder="Confirm password"
:passwordrules="props.passwordRules"
/>
<InputError :message="errors.password_confirmation" />
</div>
<div class="flex items-center gap-4">
<Button :disabled="processing" data-test="update-password-button">
Save
</Button>
</div>
</Form>
</div>
<div class="flex items-center gap-4">
<Button
:disabled="processing"
data-test="update-password-button"
>
Save
</Button>
</div>
</Form>
</div>
<ManageTwoFactor
:canManageTwoFactor="canManageTwoFactor"
:requiresConfirmation="requiresConfirmation"
:twoFactorEnabled="twoFactorEnabled"
/>
<ManageTwoFactor
:canManageTwoFactor="canManageTwoFactor"
:requiresConfirmation="requiresConfirmation"
:twoFactorEnabled="twoFactorEnabled"
/>
<ManagePasskeys
:canManagePasskeys="canManagePasskeys"
:passkeys="passkeys"
/>
<ManagePasskeys :canManagePasskeys="canManagePasskeys" :passkeys="passkeys" />
</template>