mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 20:22:15 +01:00
add format check, update prettier rules, apply rules consistently
This commit is contained in:
@@ -34,8 +34,8 @@ const submit = () => {
|
||||
</template>
|
||||
|
||||
<div class="mb-4 text-sm text-text-secondary">
|
||||
This is a secure area of the application. Please confirm your
|
||||
password before continuing.
|
||||
This is a secure area of the application. Please confirm your password before
|
||||
continuing.
|
||||
</div>
|
||||
|
||||
<form @submit.prevent="submit">
|
||||
|
||||
@@ -29,9 +29,8 @@ const submit = () => {
|
||||
</template>
|
||||
|
||||
<div class="mb-4 text-sm text-text-secondary">
|
||||
Forgot your password? No problem. Just let us know your email
|
||||
address and we will email you a password reset link that will allow
|
||||
you to choose a new one.
|
||||
Forgot your password? No problem. Just let us know your email address and we will email
|
||||
you a password reset link that will allow you to choose a new one.
|
||||
</div>
|
||||
|
||||
<div v-if="status" class="mb-4 font-medium text-sm text-green-400">
|
||||
|
||||
@@ -101,9 +101,7 @@ const page = usePage<{
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
<InputLabel
|
||||
for="password_confirmation"
|
||||
value="Confirm Password" />
|
||||
<InputLabel for="password_confirmation" value="Confirm Password" />
|
||||
<TextInput
|
||||
id="password_confirmation"
|
||||
v-model="form.password_confirmation"
|
||||
@@ -111,9 +109,7 @@ const page = usePage<{
|
||||
class="mt-1 block w-full"
|
||||
required
|
||||
autocomplete="new-password" />
|
||||
<InputError
|
||||
class="mt-2"
|
||||
:message="form.errors.password_confirmation" />
|
||||
<InputError class="mt-2" :message="form.errors.password_confirmation" />
|
||||
</div>
|
||||
|
||||
<div
|
||||
@@ -125,10 +121,7 @@ const page = usePage<{
|
||||
class="mt-4">
|
||||
<InputLabel for="terms">
|
||||
<div class="flex items-center">
|
||||
<Checkbox
|
||||
id="terms"
|
||||
v-model:checked="form.terms"
|
||||
name="terms" />
|
||||
<Checkbox id="terms" v-model:checked="form.terms" name="terms" />
|
||||
|
||||
<div class="ms-2">
|
||||
I agree to the
|
||||
@@ -160,13 +153,10 @@ const page = usePage<{
|
||||
name="newsletter_consent" />
|
||||
|
||||
<div class="ms-2">
|
||||
I agree to receive emails about product related
|
||||
updates
|
||||
I agree to receive emails about product related updates
|
||||
</div>
|
||||
</div>
|
||||
<InputError
|
||||
class="mt-2"
|
||||
:message="form.errors.newsletter_consent" />
|
||||
<InputError class="mt-2" :message="form.errors.newsletter_consent" />
|
||||
</InputLabel>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -61,9 +61,7 @@ const submit = () => {
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
<InputLabel
|
||||
for="password_confirmation"
|
||||
value="Confirm Password" />
|
||||
<InputLabel for="password_confirmation" value="Confirm Password" />
|
||||
<TextInput
|
||||
id="password_confirmation"
|
||||
v-model="form.password_confirmation"
|
||||
@@ -71,9 +69,7 @@ const submit = () => {
|
||||
class="mt-1 block w-full"
|
||||
required
|
||||
autocomplete="new-password" />
|
||||
<InputError
|
||||
class="mt-2"
|
||||
:message="form.errors.password_confirmation" />
|
||||
<InputError class="mt-2" :message="form.errors.password_confirmation" />
|
||||
</div>
|
||||
|
||||
<div class="flex items-center justify-end mt-4">
|
||||
|
||||
@@ -47,13 +47,13 @@ const submit = () => {
|
||||
|
||||
<div class="mb-4 text-sm text-text-secondary">
|
||||
<template v-if="!recovery">
|
||||
Please confirm access to your account by entering the
|
||||
authentication code provided by your authenticator application.
|
||||
Please confirm access to your account by entering the authentication code provided
|
||||
by your authenticator application.
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
Please confirm access to your account by entering one of your
|
||||
emergency recovery codes.
|
||||
Please confirm access to your account by entering one of your emergency recovery
|
||||
codes.
|
||||
</template>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -14,9 +14,7 @@ const submit = () => {
|
||||
form.post(route('verification.send'));
|
||||
};
|
||||
|
||||
const verificationLinkSent = computed(
|
||||
() => props.status === 'verification-link-sent'
|
||||
);
|
||||
const verificationLinkSent = computed(() => props.status === 'verification-link-sent');
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -28,16 +26,13 @@ const verificationLinkSent = computed(
|
||||
</template>
|
||||
|
||||
<div class="mb-4 text-sm text-text-secondary">
|
||||
Before continuing, could you verify your email address by clicking
|
||||
on the link we just emailed to you? If you didn't receive the email,
|
||||
we will gladly send you another.
|
||||
Before continuing, could you verify your email address by clicking on the link we just
|
||||
emailed to you? If you didn't receive the email, we will gladly send you another.
|
||||
</div>
|
||||
|
||||
<div
|
||||
v-if="verificationLinkSent"
|
||||
class="mb-4 font-medium text-sm text-green-400">
|
||||
A new verification link has been sent to the email address you
|
||||
provided in your profile settings.
|
||||
<div v-if="verificationLinkSent" class="mb-4 font-medium text-sm text-green-400">
|
||||
A new verification link has been sent to the email address you provided in your profile
|
||||
settings.
|
||||
</div>
|
||||
|
||||
<form @submit.prevent="submit">
|
||||
|
||||
Reference in New Issue
Block a user