#150 - empty states #160
| @@ -119,7 +119,14 @@ | |||||||
|                 colspan="100%" |                 colspan="100%" | ||||||
|                 class="py-4 text-xl leading-5 text-center text-gray-700" |                 class="py-4 text-xl leading-5 text-center text-gray-700" | ||||||
|               > |               > | ||||||
|                 Brak danych |                 <EmptyState> | ||||||
|  |                   <template #title> | ||||||
|  |                     Brak dni wolnych od pracy | ||||||
|  |                   </template> | ||||||
|  |                   <template #text> | ||||||
|  |                     Brak wpisów dotyczących dni wolnych 😔 | ||||||
|  |                   </template> | ||||||
|  |                 </EmptyState> | ||||||
|               </td> |               </td> | ||||||
|             </tr> |             </tr> | ||||||
|           </tbody> |           </tbody> | ||||||
| @@ -132,6 +139,7 @@ | |||||||
| <script setup> | <script setup> | ||||||
| import { DotsVerticalIcon, PencilIcon, TrashIcon } from '@heroicons/vue/solid' | import { DotsVerticalIcon, PencilIcon, TrashIcon } from '@heroicons/vue/solid' | ||||||
| import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue' | import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue' | ||||||
|  | import EmptyState from '@/Shared/Feedbacks/EmptyState' | ||||||
|  |  | ||||||
| defineProps({ | defineProps({ | ||||||
|   holidays: Object, |   holidays: Object, | ||||||
|   | |||||||
| @@ -175,7 +175,14 @@ | |||||||
|                 colspan="100%" |                 colspan="100%" | ||||||
|                 class="py-4 text-xl leading-5 text-center text-gray-700" |                 class="py-4 text-xl leading-5 text-center text-gray-700" | ||||||
|               > |               > | ||||||
|                 Brak danych |                 <EmptyState> | ||||||
|  |                   <template #title> | ||||||
|  |                     Brak CV | ||||||
|  |                   </template> | ||||||
|  |                   <template #text> | ||||||
|  |                     Brak wpisów dotyczących CV | ||||||
|  |                   </template> | ||||||
|  |                 </EmptyState> | ||||||
|               </td> |               </td> | ||||||
|             </tr> |             </tr> | ||||||
|           </tbody> |           </tbody> | ||||||
| @@ -191,6 +198,7 @@ import { DotsVerticalIcon } from '@heroicons/vue/outline' | |||||||
| import { DownloadIcon, PencilIcon, TrashIcon } from '@heroicons/vue/solid' | import { DownloadIcon, PencilIcon, TrashIcon } from '@heroicons/vue/solid' | ||||||
| import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue' | import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue' | ||||||
| import Pagination from '@/Shared/Pagination' | import Pagination from '@/Shared/Pagination' | ||||||
|  | import EmptyState from '@/Shared/Feedbacks/EmptyState' | ||||||
|  |  | ||||||
| defineProps({ | defineProps({ | ||||||
|   resumes: Object, |   resumes: Object, | ||||||
|   | |||||||
| @@ -92,7 +92,14 @@ | |||||||
|                 colspan="100%" |                 colspan="100%" | ||||||
|                 class="py-4 text-xl leading-5 text-center text-gray-700" |                 class="py-4 text-xl leading-5 text-center text-gray-700" | ||||||
|               > |               > | ||||||
|                 Brak danych |                 <EmptyState> | ||||||
|  |                   <template #title> | ||||||
|  |                     Brak technologii | ||||||
|  |                   </template> | ||||||
|  |                   <template #text> | ||||||
|  |                     Brak wpisów dotyczących technologii | ||||||
|  |                   </template> | ||||||
|  |                 </EmptyState> | ||||||
|               </td> |               </td> | ||||||
|             </tr> |             </tr> | ||||||
|           </tbody> |           </tbody> | ||||||
| @@ -200,6 +207,7 @@ import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue' | |||||||
| import { ref } from 'vue' | import { ref } from 'vue' | ||||||
| import { Dialog, DialogOverlay, DialogTitle, TransitionChild, TransitionRoot } from '@headlessui/vue' | import { Dialog, DialogOverlay, DialogTitle, TransitionChild, TransitionRoot } from '@headlessui/vue' | ||||||
| import { useForm } from '@inertiajs/inertia-vue3' | import { useForm } from '@inertiajs/inertia-vue3' | ||||||
|  | import EmptyState from '@/Shared/Feedbacks/EmptyState' | ||||||
|  |  | ||||||
| defineProps({ | defineProps({ | ||||||
|   technologies: Object, |   technologies: Object, | ||||||
|   | |||||||
| @@ -194,7 +194,14 @@ | |||||||
|                 colspan="100%" |                 colspan="100%" | ||||||
|                 class="py-4 text-xl leading-5 text-center text-gray-700" |                 class="py-4 text-xl leading-5 text-center text-gray-700" | ||||||
|               > |               > | ||||||
|                 Brak danych |                 <EmptyState> | ||||||
|  |                   <template #title> | ||||||
|  |                     Nie znaleziono użytkownika | ||||||
|  |                   </template> | ||||||
|  |                   <template #text> | ||||||
|  |                     Spróbuj sformułować zapytanie inaczej | ||||||
|  |                   </template> | ||||||
|  |                 </EmptyState> | ||||||
|               </td> |               </td> | ||||||
|             </tr> |             </tr> | ||||||
|           </tbody> |           </tbody> | ||||||
| @@ -214,6 +221,7 @@ import { DotsVerticalIcon, PencilIcon, BanIcon, RefreshIcon } from '@heroicons/v | |||||||
| import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue' | import { Menu, MenuButton, MenuItem, MenuItems } from '@headlessui/vue' | ||||||
| import { DateTime } from 'luxon' | import { DateTime } from 'luxon' | ||||||
| import Pagination from '@/Shared/Pagination' | import Pagination from '@/Shared/Pagination' | ||||||
|  | import EmptyState from '@/Shared/Feedbacks/EmptyState' | ||||||
|  |  | ||||||
| const props = defineProps({ | const props = defineProps({ | ||||||
|   users: Object, |   users: Object, | ||||||
|   | |||||||
| @@ -346,7 +346,14 @@ | |||||||
|               colspan="100%" |               colspan="100%" | ||||||
|               class="py-4 text-xl leading-5 text-center text-gray-700" |               class="py-4 text-xl leading-5 text-center text-gray-700" | ||||||
|             > |             > | ||||||
|               Brak danych |               <EmptyState> | ||||||
|  |                 <template #title> | ||||||
|  |                   Brak wniosków o urlop | ||||||
|  |                 </template> | ||||||
|  |                 <template #text> | ||||||
|  |                   Spróbuj sformułować zapytanie inaczej | ||||||
|  |                 </template> | ||||||
|  |               </EmptyState> | ||||||
|             </td> |             </td> | ||||||
|           </tr> |           </tr> | ||||||
|         </tbody> |         </tbody> | ||||||
| @@ -365,6 +372,7 @@ import { debounce } from 'lodash' | |||||||
| import { Inertia } from '@inertiajs/inertia' | import { Inertia } from '@inertiajs/inertia' | ||||||
| import { Listbox, ListboxButton, ListboxLabel, ListboxOption, ListboxOptions } from '@headlessui/vue' | import { Listbox, ListboxButton, ListboxLabel, ListboxOption, ListboxOptions } from '@headlessui/vue' | ||||||
| import Pagination from '@/Shared/Pagination' | import Pagination from '@/Shared/Pagination' | ||||||
|  | import EmptyState from '@/Shared/Feedbacks/EmptyState' | ||||||
|  |  | ||||||
| const props = defineProps({ | const props = defineProps({ | ||||||
|   requests: Object, |   requests: Object, | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user