From 8ff95dea1b6f89731e43c373fe76c1ce8169428d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Wed, 29 May 2024 14:27:56 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9D=8C=20Remove=20deprecated=20calendar=20co?= =?UTF-8?q?mponents=20Reduce=20calendar=20month=20to=20mini=20version=20on?= =?UTF-8?q?ly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/CalendarDay.vue | 281 ------------------ ...alendarMonth.vue => CalendarMiniMonth.vue} | 7 +- frontend/src/components/CalendarWeek.vue | 270 ----------------- .../src/elements/CalendarMiniMonthDay.vue | 45 +++ frontend/src/elements/CalendarMonthDay.vue | 136 --------- frontend/src/views/AppointmentsView.vue | 5 +- frontend/src/views/CalendarView.vue | 5 +- 7 files changed, 51 insertions(+), 698 deletions(-) delete mode 100644 frontend/src/components/CalendarDay.vue rename frontend/src/components/{CalendarMonth.vue => CalendarMiniMonth.vue} (97%) delete mode 100644 frontend/src/components/CalendarWeek.vue create mode 100644 frontend/src/elements/CalendarMiniMonthDay.vue delete mode 100644 frontend/src/elements/CalendarMonthDay.vue diff --git a/frontend/src/components/CalendarDay.vue b/frontend/src/components/CalendarDay.vue deleted file mode 100644 index 386c6f7c8..000000000 --- a/frontend/src/components/CalendarDay.vue +++ /dev/null @@ -1,281 +0,0 @@ - - - diff --git a/frontend/src/components/CalendarMonth.vue b/frontend/src/components/CalendarMiniMonth.vue similarity index 97% rename from frontend/src/components/CalendarMonth.vue rename to frontend/src/components/CalendarMiniMonth.vue index 1ab69a0c4..4c2f9d3d6 100644 --- a/frontend/src/components/CalendarMonth.vue +++ b/frontend/src/components/CalendarMiniMonth.vue @@ -19,18 +19,16 @@ v-for="h in isoWeekdays" :key="h" class="bg-gray-100 py-2 text-center text-gray-500 dark:bg-gray-600 dark:text-gray-300" - :class="{ 'font-bold': !mini}" > {{ h.min }} - -
- -
-
-
- {{ d.day }} -
-
{{ d.weekday }}
-
- - - -
-
- {{ h }} -
-
-
-
-
-
- {{ event.title }} -
-
-
-
- - {{ event.times }} - -
-
-
-
- -
- - - diff --git a/frontend/src/elements/CalendarMiniMonthDay.vue b/frontend/src/elements/CalendarMiniMonthDay.vue new file mode 100644 index 000000000..71d3c1912 --- /dev/null +++ b/frontend/src/elements/CalendarMiniMonthDay.vue @@ -0,0 +1,45 @@ + + + diff --git a/frontend/src/elements/CalendarMonthDay.vue b/frontend/src/elements/CalendarMonthDay.vue deleted file mode 100644 index 579564603..000000000 --- a/frontend/src/elements/CalendarMonthDay.vue +++ /dev/null @@ -1,136 +0,0 @@ - - - diff --git a/frontend/src/views/AppointmentsView.vue b/frontend/src/views/AppointmentsView.vue index 212b40ad5..c43268bec 100644 --- a/frontend/src/views/AppointmentsView.vue +++ b/frontend/src/views/AppointmentsView.vue @@ -174,9 +174,8 @@
-
-