Content-Length: 520886 | pFad | http://github.com/connorabbas/laravel-api-primevue-starter-kit/pull/41/files

B8 Changes from Inertia project by connorabbas · Pull Request #41 · connorabbas/laravel-api-primevue-starter-kit · GitHub
Skip to content

Changes from Inertia project #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions src/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,11 @@ import Container from '@/components/Container.vue';
import PageTitleSection from '@/components/PageTitleSection.vue';

import { useColorMode } from '@vueuse/core';
import { useThemePreset } from '@/composables/useThemePreset';
import themePreset from '@/theme/noir-preset';

// Site light/dark mode
const colorMode = useColorMode({ emitAuto: true });

// Site theme preset
const { getCurrentPreset } = useThemePreset();
const themePreset = getCurrentPreset();

const app = createApp(App);
const pinia = createPinia();

Expand Down
2 changes: 1 addition & 1 deletion src/components/DeleteUserModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ const deleteAccount = () => {

<div class="flex flex-col gap-2">
<Password
id="password"
ref="password-input"
v-model="formData.password"
:invalid="Boolean(validationErrors?.password)"
placeholder="Password"
autocomplete="current-password"
inputId="password"
:feedback="false"
toggleMask
autofocus
Expand Down
6 changes: 3 additions & 3 deletions src/views/auth/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ onMounted(() => {
<div class="flex flex-col gap-2">
<label for="password">Password</label>
<Password
id="password"
v-model="formData.password"
:invalid="Boolean(validationErrors?.password)"
:feedback="false"
autocomplete="current-password"
inputId="password"
toggleMask
required
fluid
Expand All @@ -103,10 +103,10 @@ onMounted(() => {
<div class="flex items-center justify-between">
<div class="flex items-center">
<Checkbox
id="remember"
v-model="formData.remember"
:binary="true"
class="mr-2"
inputId="remember"
:binary="true"
/>
<label for="remember">Remember me</label>
</div>
Expand Down
6 changes: 3 additions & 3 deletions src/views/auth/Register.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,10 @@ onMounted(() => {
<div class="flex flex-col gap-2">
<label for="password">Password</label>
<Password
id="password"
v-model="formData.password"
:invalid="Boolean(validationErrors?.password)"
autocomplete="new-password"
inputId="password"
toggleMask
required
fluid
Expand All @@ -91,13 +91,13 @@ onMounted(() => {
</div>

<div class="flex flex-col gap-2">
<label for="password_confirmation">Confirm Password</label>
<label for="password-confirmation">Confirm Password</label>
<Password
id="password_confirmation"
v-model="formData.password_confirmation"
:invalid="Boolean(validationErrors?.password_confirmation)"
:feedback="false"
autocomplete="new-password"
inputId="password-confirmation"
toggleMask
required
fluid
Expand Down
6 changes: 3 additions & 3 deletions src/views/auth/ResetPassword.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ onMounted(() => {
<div class="flex flex-col gap-2">
<label for="password">New Password</label>
<Password
id="password"
v-model="formData.password"
:invalid="Boolean(validationErrors?.password)"
autocomplete="new-password"
inputId="password"
toggleMask
required
fluid
Expand All @@ -89,13 +89,13 @@ onMounted(() => {
</div>

<div class="flex flex-col gap-2">
<label for="password_confirmation">Confirm New Password</label>
<label for="password-confirmation">Confirm New Password</label>
<Password
id="password_confirmation"
v-model="formData.password_confirmation"
:invalid="Boolean(validationErrors?.password_confirmation)"
:feedback="false"
autocomplete="new-password"
inputId="password-confirmation"
toggleMask
required
fluid
Expand Down
12 changes: 1 addition & 11 deletions src/views/settings/Appearance.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import AppLayout from '@/layouts/AppLayout.vue';
import SettingsLayout from '@/layouts/UserSettingsLayout.vue';
import SelectColorModeButton from '@/components/SelectColorModeButton.vue';
import ThemePresetSelector from '@/components/ThemePresetSelector.vue';
</script>

<template>
Expand All @@ -19,16 +18,7 @@ import ThemePresetSelector from '@/components/ThemePresetSelector.vue';
Update your account's appearance settings
</template>
<template #content>
<div class="space-y-6">
<div class="flex flex-col gap-2">
<label for="color-mode-selector">Color Mode</label>
<SelectColorModeButton id="color-mode-selector" />
</div>
<div class="flex flex-col gap-2">
<label for="theme-preset-selector">Theme</label>
<ThemePresetSelector id="theme-preset-selector" />
</div>
</div>
<SelectColorModeButton id="color-mode-selector" />
</template>
</Card>
</SettingsLayout>
Expand Down
10 changes: 5 additions & 5 deletions src/views/settings/Password.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,14 @@ const submit = () => {
@submit.prevent="submit"
>
<div class="flex flex-col gap-2">
<label for="current_password">Current Password</label>
<label for="current-password">Current Password</label>
<Password
id="current_password"
ref="current-password-input"
v-model="formData.current_password"
:invalid="Boolean(validationErrors?.current_password)"
:feedback="false"
autocomplete="current-password"
inputId="current-password"
toggleMask
required
fluid
Expand All @@ -97,11 +97,11 @@ const submit = () => {
<div class="flex flex-col gap-2">
<label for="password">New Password</label>
<Password
id="password"
ref="new-password-input"
v-model="formData.password"
:invalid="Boolean(validationErrors?.password)"
autocomplete="new-password"
inputId="password"
toggleMask
required
fluid
Expand All @@ -110,13 +110,13 @@ const submit = () => {
</div>

<div class="flex flex-col gap-2">
<label for="password_confirmation">Confirm Password</label>
<label for="password-confirmation">Confirm Password</label>
<Password
id="password_confirmation"
v-model="formData.password_confirmation"
:invalid="Boolean(validationErrors?.password_confirmation)"
:feedback="false"
autocomplete="confirm-password"
inputId="password-confirmation"
toggleMask
required
fluid
Expand Down








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/connorabbas/laravel-api-primevue-starter-kit/pull/41/files

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy