From 94520a76c2f2669c980d2b6be93d975b23a5201c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 29 Sep 2021 18:15:04 +0200 Subject: [PATCH] Improve dates table layout --- .../Assets/scss/components/_buttons.scss | 2 +- .../Templates/AjaxTable/Datestable.html | 134 ++++++++---------- tailwind.config.js | 2 +- 3 files changed, 60 insertions(+), 78 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss index dc486b65..f693dd72 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Assets/scss/components/_buttons.scss @@ -1,5 +1,5 @@ .button { - @apply inline-flex items-center justify-center space-x-2 px-4 py-2 md:px-8; + @apply inline-flex items-center justify-center space-x-2 px-4 py-2 md:px-8 cursor-pointer; @apply uppercase leading-none text-center; @apply transition-colors outline-none focus:outline-none; @apply bg-ep-secondary text-white; diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/AjaxTable/Datestable.html b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/AjaxTable/Datestable.html index 917ebe54..0f024edb 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Templates/AjaxTable/Datestable.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Templates/AjaxTable/Datestable.html @@ -12,34 +12,32 @@
-
- - - - - - -
+ + + + + +
@@ -55,13 +53,13 @@ - - + @@ -71,43 +69,31 @@ -
- Preis ab + + ab inkl.
- -
- - - Buchen - -
- + {row.dateStart} - {row.dateEnd} - - ausgebucht -
- {row.nights} + + {row.nights} + - + {row.pseudoPrice} € -
- + + + + + - + + + + + -
+
-
+