diff --git a/src/back/calendar_of_events/urls.py b/src/back/calendar_of_events/urls.py index deba440b5..ed09e66e8 100644 --- a/src/back/calendar_of_events/urls.py +++ b/src/back/calendar_of_events/urls.py @@ -7,4 +7,5 @@ urlpatterns = [ path('calendarEvents/', CalendarEventsAPIView.as_view(), name='calendarEvents'), path('get_calendars/', GetCalendars.as_view(), name='get_calendars'), path('exclusionDatas/', ExclusionDatesAPIView.as_view(), name='exclusionDatas'), + # path('createEvents/', CreateEventsAPIView.as_view(), name='createEvents') ] diff --git a/src/front/src/components/calendar_of_events/BigCalendar.vue b/src/front/src/components/calendar_of_events/BigCalendar.vue index 3c0a97eed..9259585c6 100644 --- a/src/front/src/components/calendar_of_events/BigCalendar.vue +++ b/src/front/src/components/calendar_of_events/BigCalendar.vue @@ -1,10 +1,32 @@ @@ -56,10 +81,15 @@ import { axiosApiInstance } from "@/utils/axios-api"; import { ref, onMounted } from "vue"; import { useWeekendsStore } from "@/store/WeekendsStore"; +import EventCreate from "@/components/calendar_of_events/event-create.vue"; +import CalendarMy from "@/components/calendar_of_events/calendar-my.vue"; // const burl = baseURL.slice(0, -1); export default { + components: { EventCreate, CalendarMy }, + setup() { + const showDialog = ref(false); const week = useWeekendsStore().week; const drawer_right = ref(false); const cal = ref(null); @@ -130,6 +160,7 @@ export default { weekendsData, week, CheckingStore, + showDialog, }; }, }; diff --git a/src/front/src/components/calendar_of_events/calendar-create.vue b/src/front/src/components/calendar_of_events/calendar-create.vue new file mode 100644 index 000000000..57d23d31b --- /dev/null +++ b/src/front/src/components/calendar_of_events/calendar-create.vue @@ -0,0 +1,218 @@ + + + + + diff --git a/src/front/src/components/calendar_of_events/calendar-my.vue b/src/front/src/components/calendar_of_events/calendar-my.vue new file mode 100644 index 000000000..03f3a2ddd --- /dev/null +++ b/src/front/src/components/calendar_of_events/calendar-my.vue @@ -0,0 +1,71 @@ + + + + + diff --git a/src/front/src/components/calendar_of_events/event-create.vue b/src/front/src/components/calendar_of_events/event-create.vue new file mode 100644 index 000000000..00936f5bd --- /dev/null +++ b/src/front/src/components/calendar_of_events/event-create.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/src/front/src/components/calendar_of_events/event-dialog-edit.vue b/src/front/src/components/calendar_of_events/event-dialog-edit.vue index 02fe275ac..14a6bd864 100644 --- a/src/front/src/components/calendar_of_events/event-dialog-edit.vue +++ b/src/front/src/components/calendar_of_events/event-dialog-edit.vue @@ -6,6 +6,7 @@ rows="1" placeholder="Название календаря" /> --> + @@ -29,6 +30,7 @@ density="compact" v-bind="props" > + diff --git a/src/front/src/plugins/vuetify.js b/src/front/src/plugins/vuetify.js index cfa12e789..c6509da65 100644 --- a/src/front/src/plugins/vuetify.js +++ b/src/front/src/plugins/vuetify.js @@ -29,6 +29,7 @@ export default createVuetify({ main_theme: "#f7f7f7", scrollbar: '#367F8A', cards: '#F5F5F5', + text_grey: '#7A7A7A', //Цвет серого текста text_carous: '#242424', navigation: '#004D40', // Цвет текста и иконок в левом навигационном меню black_grey: '#3C3C3C', // Цвет для карусели с цифрами в работе @@ -55,6 +56,7 @@ export default createVuetify({ main_theme: "#101311", scrollbar: '#367F8A', cards: '#F5F5F5', + text_grey: '#7A7A7A', //Цвет серого текста text_carous: '#242424', navigation: '#FDF5E6', black_grey: '#3C3C3C',