feat: add authenticated layout with navigation menu for core application modules
This commit is contained in:
@@ -42,6 +42,12 @@ const showingNavigationDropdown = ref(false);
|
|||||||
>
|
>
|
||||||
Commandes
|
Commandes
|
||||||
</NavLink>
|
</NavLink>
|
||||||
|
<NavLink
|
||||||
|
:href="route('devis.index')"
|
||||||
|
:active="route().current('devis.*')"
|
||||||
|
>
|
||||||
|
Devis
|
||||||
|
</NavLink>
|
||||||
<NavLink
|
<NavLink
|
||||||
:href="route('materiels.index')"
|
:href="route('materiels.index')"
|
||||||
:active="route().current('materiels.*')"
|
:active="route().current('materiels.*')"
|
||||||
@@ -52,13 +58,7 @@ const showingNavigationDropdown = ref(false);
|
|||||||
:href="route('besoins-informatiques.index')"
|
:href="route('besoins-informatiques.index')"
|
||||||
:active="route().current('besoins-informatiques.*')"
|
:active="route().current('besoins-informatiques.*')"
|
||||||
>
|
>
|
||||||
Besoins Informatiques
|
Fiches Actions
|
||||||
</NavLink>
|
|
||||||
<NavLink
|
|
||||||
:href="route('devis.index')"
|
|
||||||
:active="route().current('devis.*')"
|
|
||||||
>
|
|
||||||
Gestion des Devis
|
|
||||||
</NavLink>
|
</NavLink>
|
||||||
<NavLink
|
<NavLink
|
||||||
v-if="$page.props.auth.user.role === 'chef_service'"
|
v-if="$page.props.auth.user.role === 'chef_service'"
|
||||||
@@ -102,14 +102,14 @@ const showingNavigationDropdown = ref(false);
|
|||||||
<DropdownLink
|
<DropdownLink
|
||||||
:href="route('profile.edit')"
|
:href="route('profile.edit')"
|
||||||
>
|
>
|
||||||
Profile
|
{{ __('Profile') }}
|
||||||
</DropdownLink>
|
</DropdownLink>
|
||||||
<DropdownLink
|
<DropdownLink
|
||||||
:href="route('logout')"
|
:href="route('logout')"
|
||||||
method="post"
|
method="post"
|
||||||
as="button"
|
as="button"
|
||||||
>
|
>
|
||||||
Log Out
|
{{ __('Logout') }}
|
||||||
</DropdownLink>
|
</DropdownLink>
|
||||||
</template>
|
</template>
|
||||||
</Dropdown>
|
</Dropdown>
|
||||||
|
|||||||
Reference in New Issue
Block a user