#152 - change layout
This commit is contained in:
parent
af25d80d2e
commit
62c3c11ebf
@ -8,9 +8,6 @@
|
||||
:approved-vacations="approvedVacations"
|
||||
:pending-vacations="pendingVacations"
|
||||
/>
|
||||
<VacationStats :stats="stats" />
|
||||
</div>
|
||||
<div class="grid grid-cols-1 gap-4">
|
||||
<PendingVacationRequests
|
||||
v-if="can.listAllVacationRequests"
|
||||
:requests="vacationRequests.data"
|
||||
@ -19,6 +16,9 @@
|
||||
v-else
|
||||
:requests="vacationRequests.data"
|
||||
/>
|
||||
</div>
|
||||
<div class="grid grid-cols-1 gap-4">
|
||||
<VacationStats :stats="stats" />
|
||||
<AbsenceList
|
||||
v-if="years.current.year === years.selected.year && absences.data.length"
|
||||
:absences="absences.data"
|
||||
|
@ -1,8 +1,5 @@
|
||||
<template>
|
||||
<section class="grid grid-cols-1 gap-4 md:grid-cols-2">
|
||||
<div class="hidden p-4 bg-white shadow-md md:block">
|
||||
<VacationChart :stats="stats" />
|
||||
</div>
|
||||
<section class="grid grid-cols-1 gap-4 md:grid-cols-1">
|
||||
<div class="h-full">
|
||||
<div class="grid grid-cols-2 gap-4 h-full">
|
||||
<div class="py-5 px-4 bg-white shadow-md sm:p-6">
|
||||
@ -77,8 +74,6 @@
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import VacationChart from '@/Shared/VacationChart'
|
||||
|
||||
defineProps({
|
||||
stats: Object,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user