diff --git a/spaces/app.vue b/spaces/app.vue
index 707bcfa..d9df38b 100644
--- a/spaces/app.vue
+++ b/spaces/app.vue
@@ -42,6 +42,11 @@ const userMenuItems = ref([
label: 'Benutzer',
icon: 'i-heroicons-user-group',
to: "/users"
+ },
+ {
+ label: 'Chat',
+ icon: 'i-heroicons-user-group',
+ to: "/chat"
}
])
@@ -138,7 +143,12 @@ const navLinks = [
},
{
label: "Plantafel",
- to: "/planningBoard",
+ to: "/calendar/timeline",
+ icon: "i-heroicons-calendar-days"
+ },
+ {
+ label: "Kalender",
+ to: "/calendar/grid",
icon: "i-heroicons-calendar-days"
},
]
diff --git a/spaces/layouts/notLoggedIn.vue b/spaces/layouts/notLoggedIn.vue
index 3cf2b86..0a7444f 100644
--- a/spaces/layouts/notLoggedIn.vue
+++ b/spaces/layouts/notLoggedIn.vue
@@ -1,4 +1,4 @@
-
diff --git a/spaces/package.json b/spaces/package.json
index adff8e7..2e854ae 100644
--- a/spaces/package.json
+++ b/spaces/package.json
@@ -25,6 +25,7 @@
"@fullcalendar/list": "^6.1.10",
"@fullcalendar/resource": "^6.1.10",
"@fullcalendar/resource-timeline": "^6.1.10",
+ "@fullcalendar/timegrid": "^6.1.10",
"@fullcalendar/vue3": "^6.1.10",
"@nuxt/content": "^2.9.0",
"@nuxt/ui-pro": "^0.7.0",
diff --git a/spaces/pages/calendar/[mode].vue b/spaces/pages/calendar/[mode].vue
new file mode 100644
index 0000000..5db6f4c
--- /dev/null
+++ b/spaces/pages/calendar/[mode].vue
@@ -0,0 +1,304 @@
+
+
+
+
+
+
+
+ Neuen Termin erstellen
+
+ {{newEventData.resources}}
+
+
+
+ Keine Ressourcen ausgewählt
+ {{ selectedResources.length }} ausgewählt
+
+
+
+
+
+
+
+
+
+ {{dataStore.getProjectById(newEventData.project) ? dataStore.getProjectById(newEventData.project).name : "Kein Projekt ausgewählt"}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Erstellen
+
+
+
+
+
+
+
+
+
+
+ {{selectedEvent.title}}
+
+
+ Start: {{dayjs(selectedEvent.startStr).format("DD.MM.YYYY HH:mm")}}
+ Ende: {{dayjs(selectedEvent.endStr).format("DD.MM.YYYY HH:mm")}}
+
+
+
+ {{selectedEvent}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spaces/pages/chat.vue b/spaces/pages/chat.vue
new file mode 100644
index 0000000..3ff0322
--- /dev/null
+++ b/spaces/pages/chat.vue
@@ -0,0 +1,157 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{message.text}}
+
+
+
+
+
+
+ {{message.text}}
+
+
+
+
+
+
+
+
+
+
+
+ Senden
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/spaces/pages/employees/timetracking.vue b/spaces/pages/employees/timetracking.vue
index fcd16f5..fb22145 100644
--- a/spaces/pages/employees/timetracking.vue
+++ b/spaces/pages/employees/timetracking.vue
@@ -300,6 +300,7 @@ const setState = async (newState) => {
:dark="useColorMode().value !== 'light'"
:format="format"
:preview-format="format"
+ :disabled="itemInfo.state !== 'Entwurf'"
/>
{
:dark="useColorMode().value !== 'light'"
:format="format"
:preview-format="format"
+ :disabled="itemInfo.state !== 'Entwurf'"
/>