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
|
||||
</NavLink>
|
||||
<NavLink
|
||||
:href="route('devis.index')"
|
||||
:active="route().current('devis.*')"
|
||||
>
|
||||
Devis
|
||||
</NavLink>
|
||||
<NavLink
|
||||
:href="route('materiels.index')"
|
||||
:active="route().current('materiels.*')"
|
||||
@@ -52,13 +58,7 @@ const showingNavigationDropdown = ref(false);
|
||||
:href="route('besoins-informatiques.index')"
|
||||
:active="route().current('besoins-informatiques.*')"
|
||||
>
|
||||
Besoins Informatiques
|
||||
</NavLink>
|
||||
<NavLink
|
||||
:href="route('devis.index')"
|
||||
:active="route().current('devis.*')"
|
||||
>
|
||||
Gestion des Devis
|
||||
Fiches Actions
|
||||
</NavLink>
|
||||
<NavLink
|
||||
v-if="$page.props.auth.user.role === 'chef_service'"
|
||||
@@ -102,14 +102,14 @@ const showingNavigationDropdown = ref(false);
|
||||
<DropdownLink
|
||||
:href="route('profile.edit')"
|
||||
>
|
||||
Profile
|
||||
{{ __('Profile') }}
|
||||
</DropdownLink>
|
||||
<DropdownLink
|
||||
:href="route('logout')"
|
||||
method="post"
|
||||
as="button"
|
||||
>
|
||||
Log Out
|
||||
{{ __('Logout') }}
|
||||
</DropdownLink>
|
||||
</template>
|
||||
</Dropdown>
|
||||
|
||||
Reference in New Issue
Block a user