From 03232ef3be260a373420e4824df4e95f249e2f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Mon, 27 Dec 2021 20:22:08 +0100 Subject: [PATCH] Use image viewhelpers to provide dimensions --- .../Private/Partials/Disrupter/Reminder.html | 46 +++++++++---------- .../Private/Partials/Disturber/Reminder.html | 44 +++++++++--------- .../Resources/Private/Partials/EventHero.html | 13 ++++-- .../Resources/Private/Partials/Footer.html | 12 +++-- .../Private/Partials/HeaderSliderSmall.html | 8 ++-- .../Private/Partials/ImageGallery.html | 21 ++++++--- .../Private/Partials/Journey/Details.html | 40 ++++++++++------ .../Resources/Private/Partials/Mobilenav.html | 2 +- .../Partials/Product/HeaderDetail.html | 12 ++--- .../Private/Partials/Region/Webcam.html | 42 ++++++++++------- .../Private/Partials/Search/MobileSearch.html | 2 +- .../Private/Partials/SubpageHeader.html | 7 +-- .../Resources/Private/Partials/Teamer.html | 36 ++++++++------- .../Templates/FluidStyledContent/Lineup.html | 7 ++- .../Private/Templates/Hotel/DetailEvent.html | 2 +- .../Private/Templates/Pricetable/Event.html | 2 +- .../Private/Templates/Product/Detail.html | 12 +++-- .../Private/Templates/Team/List.html | 19 +++----- .../Private/Templates/Team/Show.html | 7 +-- 19 files changed, 186 insertions(+), 148 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Reminder.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Reminder.html index d83e4bf1..d30955af 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Reminder.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disrupter/Reminder.html @@ -1,31 +1,29 @@ - {data.flexForm.buttons -> v:iterator.first() -> v:variable.set(name: 'button')} -
-
{data.headline}
-
- - - - {image.alternative} - - - - - - + +
+
{data.headline}
+ +
+
{data.text -> f:format.html()}
+
+ {button.container.label -> f:format.raw()}
-
-
{data.text -> f:format.html()}
-
- {button.container.label -> f:format.raw()} -
+ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Reminder.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Reminder.html index e8586350..e2bdf843 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Reminder.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Disturber/Reminder.html @@ -1,29 +1,29 @@ - {data.flexForm.buttons -> v:iterator.first() -> v:variable.set(name: 'button')} -
-
{data.header}
-
- - - - {teaserImage.alternative} - - - - - - + +
+
{data.header}
+ +
+
{data.bodytext -> f:format.html()}
+
+ {button.container.label -> f:format.raw()}
-
-
{data.bodytext -> f:format.html()}
-
- {button.container.label -> f:format.raw()} -
+ diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html index c8ffc7e1..92a1655d 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/EventHero.html @@ -35,9 +35,11 @@ - {image.alternative} + @@ -62,8 +64,9 @@ - {settings.eventAddon.title} + --> diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html index 29e57103..d306a715 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Footer.html @@ -1,5 +1,6 @@
@@ -158,11 +159,12 @@ href="https://www.unglobalcompact.org/" target="_blank" title="Global Compact"> - Global Compact +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html index 8f0452af..3310b1a4 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html @@ -9,9 +9,11 @@ - {image.alternative} + diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ImageGallery.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ImageGallery.html index 395e9ad5..ed9e04bf 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ImageGallery.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/ImageGallery.html @@ -1,5 +1,6 @@
- {image.alternative} + @@ -32,8 +36,13 @@ data-lightbox-index="{iteration.cycle}" data-lightbox-caption="{image.originalResource.description}" class="block"> - + diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html index 7ec9dd98..cd906eea 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Journey/Details.html @@ -1,16 +1,28 @@ -
-

- Eigenanreise -

- {journey.byCar -> f:format.html()} - - {journey.image.alternative} - - + + +

- Busanreise + Eigenanreise

- {journey.byBus -> f:format.html()} - -
+ {journey.byCar -> f:format.html()} + + + + +

+ Busanreise +

+ {journey.byBus -> f:format.html()} +
+
+ + diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html index c8a29324..2f2f98b7 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Mobilenav.html @@ -13,7 +13,7 @@ - {settings.defaultTitle} +
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html index 46e02005..0d33bf5a 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Product/HeaderDetail.html @@ -13,9 +13,11 @@ - {image.alternative} +
@@ -52,9 +54,7 @@ - - {backlinkLabel} - + {backlinkLabel}
diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Webcam.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Webcam.html index 7dcd350f..1fc9c2bd 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Webcam.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Region/Webcam.html @@ -1,16 +1,26 @@ - -
-

- Webcam -

- - - -
-
+ + + +
+

+ Webcam +

+ + + +
+
+ + diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/MobileSearch.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/MobileSearch.html index 931e8e12..e40de3f2 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/MobileSearch.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/MobileSearch.html @@ -11,7 +11,7 @@ - {settings.defaultTitle} +