diff --git a/src/components/Widget.vue b/src/components/Widget.vue index 84650c3..2b78167 100644 --- a/src/components/Widget.vue +++ b/src/components/Widget.vue @@ -12,7 +12,7 @@ import { defineComponent } from 'vue'; export default defineComponent({ - name: 'DummyWidget', + name: 'EventsWidget', setup() { function randomNumber(start: number, end: number) { return start + Math.floor(Math.random() * Math.floor(end)); diff --git a/src/components/overview/AgendaView.vue b/src/components/overview/AgendaView.vue index a8e8121..f72e627 100644 --- a/src/components/overview/AgendaView.vue +++ b/src/components/overview/AgendaView.vue @@ -19,9 +19,9 @@
- -
- +
+
+ {{ asMonth(selectedDate) }} {{ asYear(selectedDate) }} @@ -45,22 +45,21 @@ - +
- - +
- +
+
@import '@quasar/quasar-ui-qcalendar/dist/index.css'; +/* Fill full height of card */ .q-calendar-agenda__pane { height: 100%; } + +/* Same as Qcard */ +.q-calendar { + --calendar-background-dark: --q-dark; +} diff --git a/src/pages/Overview.vue b/src/pages/Overview.vue index 2a0f627..27bcfc5 100644 --- a/src/pages/Overview.vue +++ b/src/pages/Overview.vue @@ -59,9 +59,7 @@ export default defineComponent({ } const tabs: Tab[] = [ - { name: 'agendaView', label: 'Kalendar' }, - // { name: 'eventtypes', label: 'Veranstaltungsarten' }, - // { name: 'jobtypes', label: 'Dienstarten' } + { name: 'agendaView', label: 'Kalendar' } ]; const drawer = ref(false);