Skip to content
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
24 changes: 9 additions & 15 deletions resources/js/Layouts/Admin/Partials/DrawerMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const exampleNestedMenuItems = ref([
icon: 'pi pi-cloud-upload',
command: () => {
alert('Example using programmatic functionality');
}
},
},
{
label: 'Download',
Expand All @@ -72,26 +72,20 @@ const exampleNestedMenuItems = ref([
</script>

<template>
<Drawer
v-model:visible="visible"
position="left"
:autoZIndex="false"
>
<div>
<div class="mb-5">
<p class="text-muted-color font-bold uppercase text-sm mb-2">
Home
</p>
<Drawer v-model:visible="visible" position="left" :autoZIndex="false">
<div class="space-y-5">
<div class="space-y-2">
<p class="text-muted-color font-bold uppercase text-sm">Home</p>
<LinksPanelMenu :model="homeMenuItems" class="w-full" />
</div>
<div class="mb-5">
<p class="text-muted-color font-bold uppercase text-sm mb-2">
<div class="space-y-2">
<p class="text-muted-color font-bold uppercase text-sm">
Analytics
</p>
<LinksPanelMenu :model="analyticsMenuItems" class="w-full" />
</div>
<div class="mb-5">
<p class="text-muted-color font-bold uppercase text-sm mb-2">
<div class="space-y-2">
<p class="text-muted-color font-bold uppercase text-sm">
Example Nested
</p>
<LinksPanelMenu
Expand Down
16 changes: 7 additions & 9 deletions resources/js/Layouts/Admin/Partials/SideMenuItems.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,21 +67,19 @@ const exampleNestedMenuItems = [
</script>

<template>
<div class="h-full">
<div class="mb-5">
<p class="text-muted-color font-bold uppercase text-sm mb-2">
Home
</p>
<div class="h-full space-y-5">
<div class="space-y-2">
<p class="text-muted-color font-bold uppercase text-sm">Home</p>
<LinksPanelMenu :model="homeMenuItems" class="w-full" />
</div>
<div class="mb-5">
<p class="text-muted-color font-bold uppercase text-sm mb-2">
<div class="space-y-2">
<p class="text-muted-color font-bold uppercase text-sm">
Analytics
</p>
<LinksPanelMenu :model="analyticsMenuItems" class="w-full" />
</div>
<div class="mb-5">
<p class="text-muted-color font-bold uppercase text-sm mb-2">
<div class="space-y-2">
<p class="text-muted-color font-bold uppercase text-sm">
Example Nested
</p>
<LinksPanelMenu :model="exampleNestedMenuItems" class="w-full" />
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Layouts/Admin/Partials/TopNav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ const toggleUserMenu = (event) => {
<div class="flex items-center space-x-3">
<div>
<ToggleDarkModeButton
text
severity="secondary"
text
rounded
/>
</div>
Expand Down
14 changes: 9 additions & 5 deletions resources/js/Layouts/AuthenticatedLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ watchEffect(() => {
>
<div>
<ToggleDarkModeButton
text
severity="secondary"
text
rounded
/>
</div>
Expand Down Expand Up @@ -168,13 +168,17 @@ watchEffect(() => {
<!-- Mobile drawer menu -->
<Drawer v-model:visible="mobileMenuOpen" position="right">
<template #header>
<ToggleDarkModeButton text severity="secondary" rounded />
<ToggleDarkModeButton
severity="secondary"
text
rounded
/>
</template>
<div>
<div>
<div class="mb-5">
<div class="space-y-5">
<div class="space-y-2">
<p
class="text-muted-color font-bold uppercase text-sm mb-2"
class="text-muted-color font-bold uppercase text-sm"
>
Home
</p>
Expand Down
4 changes: 2 additions & 2 deletions resources/js/Pages/Admin/Profile/Edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const breadcrumbs = [
<template>
<Head :title="pageTitle" />

<AdminAuthenticatedLayout
<AuthenticatedAdminLayout
:page-title="pageTitle"
:breadcrumbs="breadcrumbs"
>
Expand Down Expand Up @@ -96,5 +96,5 @@ const breadcrumbs = [
</Card>
</div>
</Container>
</AdminAuthenticatedLayout>
</AuthenticatedAdminLayout>
</template>
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function focusPasswordInput() {
<Dialog
v-model:visible="modalOpen"
:draggable="false"
:dismissableMask="true"
position="center"
modal
header="Are you sure you want to delete your account?"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Pages/Admin/Users/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ const {
/>
<DataTable
ref="dataTable"
v-model:filters="filters"
lazy
paginator
removableSort
resizableColumns
columnResizeMode="fit"
v-model:filters="filters"
:loading="processing"
:value="users.data"
:totalRecords="users.total"
Expand Down
1 change: 1 addition & 0 deletions resources/js/Pages/Profile/Partials/DeleteUserForm.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ function focusPasswordInput() {
<Dialog
v-model:visible="modalOpen"
:draggable="false"
:dismissableMask="true"
position="center"
modal
header="Are you sure you want to delete your account?"
Expand Down
Loading