From 71b429eb6109160418e5b5cb84bd0c9893701e7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bjo=CC=88rn=20Fromme?= Date: Wed, 20 Oct 2021 18:46:55 +0200 Subject: [PATCH] WIP Migrate filterpanel --- .../Private/Partials/Search/FilterPanel.html | 182 +++++++++++------- .../Private/Partials/Search/Main.html | 2 +- 2 files changed, 114 insertions(+), 70 deletions(-) diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/FilterPanel.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/FilterPanel.html index 2c29dcde..8abe4c8e 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/FilterPanel.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/FilterPanel.html @@ -10,54 +10,78 @@
+ data-collapse-collapsed-value="{f:if(condition: '{filterSettings.dateFrom} || {filterSettings.dateTo}', then: 'false', else: 'true')}"> -
+
-
- data-datepicker-date-from-value="{filterSettings.dateFrom}" - data-datepicker-date-to-value="{filterSettings.dateTo}" - - data-datepicker-min-date-value="{f:format.date(date: 'now', format: 'Y-m-d')}"> - -
- - - + +
+
+ + + + + - - -
- -
+ +
@@ -108,23 +132,34 @@
-
    +
    • - - {destination.country.label} + -
        +
        • - - {region.label} +
        @@ -149,15 +184,17 @@
        -
          +
          • -
          • @@ -179,11 +216,10 @@
            -
            - -
            +
        @@ -208,15 +244,17 @@
        -
          +
          • -
          • @@ -238,16 +276,18 @@
            -
              +
              • -
              • @@ -278,15 +318,17 @@
                -
                  +
                  • -
                  • @@ -309,14 +351,16 @@
                    -
                      +
                      • -
                      diff --git a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/Main.html b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/Main.html index 0d296331..26d3e901 100644 --- a/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/Main.html +++ b/public/typo3conf/ext/ep_theme/Resources/Private/Partials/Search/Main.html @@ -5,7 +5,7 @@
                      + data-collapse-until-value="1024">