diff --git a/resources/js/Pages/Calendar.vue b/resources/js/Pages/Calendar.vue index 871df95..95cc189 100644 --- a/resources/js/Pages/Calendar.vue +++ b/resources/js/Pages/Calendar.vue @@ -55,18 +55,20 @@
- +
-
+
- {{ selectedMonth.name }} {{ years.selected.year }} + {{ selectedMonth.name }}
@@ -84,22 +86,28 @@ v-for="user in users.data" :key="user.id" > - +
-
-
- {{ user.name }} -
+
+ + {{ split }} +
+ + diff --git a/resources/js/Pages/MonthlyUsage.vue b/resources/js/Pages/MonthlyUsage.vue index 0db17f2..fb8c50a 100644 --- a/resources/js/Pages/MonthlyUsage.vue +++ b/resources/js/Pages/MonthlyUsage.vue @@ -9,11 +9,11 @@
-
+
- diff --git a/resources/js/Pages/VacationLimits.vue b/resources/js/Pages/VacationLimits.vue index 38b7315..02cfca1 100644 --- a/resources/js/Pages/VacationLimits.vue +++ b/resources/js/Pages/VacationLimits.vue @@ -16,7 +16,7 @@ @@ -52,8 +52,8 @@ :key="item.id" class="hover:bg-blumilk-25" > - - - - - - - @@ -381,6 +347,8 @@ const props = defineProps({ types: Object, }) +const headers = ['Numer', 'Pracownik', 'Rodzaj wniosku', 'Od', 'Do', 'Dni urlopu', 'Status'] + const statuses = [ { name: 'Wszystkie', diff --git a/tailwind.config.js b/tailwind.config.js index 9493ebe..c425e8f 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,4 +1,5 @@ const defaultTheme = require('tailwindcss/defaultTheme') +const plugin = require('tailwindcss/plugin') module.exports = { content: [ @@ -31,5 +32,12 @@ module.exports = { require('@tailwindcss/forms'), require('@tailwindcss/typography'), require('@tailwindcss/line-clamp'), + plugin(function({ addVariant, e }) { + addVariant('second', ({ modifySelectors, separator }) => { + modifySelectors(({ className }) => { + return `.${e(`second${separator}${className}`)}:nth-child(2)` + }) + }) + }), ], }
+ Pracownik - +
-
-
+ - {{ item.user.name }} -
+ {{ split }} +
ImiÄ™ i nazwisko -
+
+
-

- {{ item.user.name }} +

+ + {{ split }} +

-

+

diff --git a/resources/js/Pages/VacationRequest/IndexForApprovers.vue b/resources/js/Pages/VacationRequest/IndexForApprovers.vue index d4303af..fc93ca4 100644 --- a/resources/js/Pages/VacationRequest/IndexForApprovers.vue +++ b/resources/js/Pages/VacationRequest/IndexForApprovers.vue @@ -242,46 +242,12 @@
- Numer - - Pracownik - - Rodzaj wniosku - - Od - - Do - - Dni urlopu - - Status + {{ head }}