From 2486468151a899743994617fe402d441fdf25404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Tue, 18 Sep 2018 14:55:41 +0200 Subject: [PATCH] Add icons for programme and accommodation --- .../Private/Assets/images/icon_3-star.svg | 1 + .../Private/Assets/images/icon_4-star.svg | 1 + .../Private/Assets/images/icon_5-star.svg | 1 + .../Assets/images/icon_event-gastro.svg | 1 + .../Private/Assets/images/icon_outdoor.svg | 1 + .../Assets/images/icon_sightseeing.svg | 1 + .../Private/Assets/images/icon_special.svg | 1 + .../Assets/js/components/Configurator.vue | 4 +-- .../Private/Assets/scss/_configurator.scss | 27 +++++++++++++++++++ 9 files changed, 36 insertions(+), 2 deletions(-) create mode 100644 web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_3-star.svg create mode 100644 web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_4-star.svg create mode 100644 web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_5-star.svg create mode 100644 web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_event-gastro.svg create mode 100644 web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_outdoor.svg create mode 100644 web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_sightseeing.svg create mode 100644 web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_special.svg diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_3-star.svg b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_3-star.svg new file mode 100644 index 00000000..5c6e1dff --- /dev/null +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_3-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_4-star.svg b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_4-star.svg new file mode 100644 index 00000000..9d33184a --- /dev/null +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_4-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_5-star.svg b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_5-star.svg new file mode 100644 index 00000000..a1fded43 --- /dev/null +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_5-star.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_event-gastro.svg b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_event-gastro.svg new file mode 100644 index 00000000..985222db --- /dev/null +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_event-gastro.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_outdoor.svg b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_outdoor.svg new file mode 100644 index 00000000..c2415f12 --- /dev/null +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_outdoor.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_sightseeing.svg b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_sightseeing.svg new file mode 100644 index 00000000..4730d94e --- /dev/null +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_sightseeing.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_special.svg b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_special.svg new file mode 100644 index 00000000..8705c778 --- /dev/null +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/images/icon_special.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/js/components/Configurator.vue b/web/typo3conf/ext/ep_events/Resources/Private/Assets/js/components/Configurator.vue index 5735728e..85c95ff9 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Assets/js/components/Configurator.vue +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/js/components/Configurator.vue @@ -58,14 +58,14 @@ name: 'Unterkunft', options: this.optionsAccommodation, images: this.imagesAccommodation, - hasIcon: false + hasIcon: true }, programme: { active: false, name: 'Programm', options: this.optionsProgramme, images: this.imagesProgramme, - hasIcon: false + hasIcon: true }, }, inputFields: { diff --git a/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_configurator.scss b/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_configurator.scss index 1187b882..8eee8602 100644 --- a/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_configurator.scss +++ b/web/typo3conf/ext/ep_events/Resources/Private/Assets/scss/_configurator.scss @@ -297,6 +297,33 @@ .destination--4 &:after { background-image: url(../images/icon_destination_special.svg); } + + .accommodation--1 &:after { + background-image: url(../images/icon_3-star.svg); + } + .accommodation--2 &:after { + background-image: url(../images/icon_4-star.svg); + } + .accommodation--3 &:after { + background-image: url(../images/icon_5-star.svg); + } + .accommodation--4 &:after { + background-image: url(../images/icon_special.svg); + } + + .programme--1 &:after { + background-image: url(../images/icon_outdoor.svg); + } + .programme--2 &:after { + background-image: url(../images/icon_event-gastro.svg); + } + .programme--3 &:after { + background-image: url(../images/icon_sightseeing.svg); + } + .programme--4 &:after { + background-image: url(../images/icon_special.svg); + } + } .config-selectbox__item-label {