mirror of
https://github.com/werkraum-media/events.git
synced 2024-12-22 17:06:09 +01:00
Integrate new event search
This commit is contained in:
parent
c8dacc93df
commit
6e11f00c13
3 changed files with 31 additions and 24 deletions
|
@ -22,6 +22,16 @@
|
|||
</config>
|
||||
</TCEforms>
|
||||
</settings.resultsPID>
|
||||
<settings.showRegions>
|
||||
<TCEforms>
|
||||
<exclude>1</exclude>
|
||||
<label>Show Regions</label>
|
||||
<config>
|
||||
<type>check</type>
|
||||
<default>0</default>
|
||||
</config>
|
||||
</TCEforms>
|
||||
</settings.showRegions>
|
||||
</el>
|
||||
</ROOT>
|
||||
</sSearch>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
|
||||
<div class="tx-events">
|
||||
<f:render section="content" />
|
||||
</div>
|
||||
<div class="tx-events">
|
||||
<f:render section="content" />
|
||||
</div>
|
||||
</html>
|
|
@ -3,9 +3,7 @@
|
|||
<f:section name="content">
|
||||
<div class="row">
|
||||
<div class="col-12 mb-5">
|
||||
<!-- TODO bg color classes not loaded in scss -->
|
||||
<f:form action="list" controller="Date" pluginName="DateList" method="get" addQueryString="1" id="events_search" name="events_search">
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="form-group">
|
||||
|
@ -14,9 +12,8 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<div class="col col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="start">Datum von</label>
|
||||
<div class="input-group date" id="date_start" data-target-input="nearest">
|
||||
|
@ -27,7 +24,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col">
|
||||
<div class="col col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="end">Datum bis</label>
|
||||
<div class="input-group date" id="date_end" data-target-input="nearest">
|
||||
|
@ -39,24 +36,25 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-3">
|
||||
<div class="form-check">
|
||||
<f:form.radio class="form-check-input" name="region" value="{region.uid}" checked="{selRegion}==0" id="radio_0"/>
|
||||
<label class="form-check-label" for="radio_0">Alle Städte</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<f:for each="{regions}" as="region">
|
||||
<div class="col-3">
|
||||
<f:if condition="{settings.showRegions}">
|
||||
<div class="row">
|
||||
<div class="col-4 col-md-3 col-lg-3">
|
||||
<div class="form-check">
|
||||
<f:form.radio class="form-check-input" name="region" value="{region.uid}" checked="{selRegion}=={region.uid}" id="radio_{region.uid}"/>
|
||||
<label class="form-check-label" for="radio_{region.uid}">{region.title}</label>
|
||||
<f:form.radio class="form-check-input" name="region" value="{region.uid}" checked="{selRegion}==0" id="radio_0"/>
|
||||
<label class="form-check-label" for="radio_0">Alle Städte</label>
|
||||
</div>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
|
||||
<f:for each="{regions}" as="region">
|
||||
<div class="col-3">
|
||||
<div class="form-check">
|
||||
<f:form.radio class="form-check-input" name="region" value="{region.uid}" checked="{selRegion}=={region.uid}" id="radio_{region.uid}"/>
|
||||
<label class="form-check-label" for="radio_{region.uid}">{region.title}</label>
|
||||
</div>
|
||||
</div>
|
||||
</f:for>
|
||||
</div>
|
||||
</f:if>
|
||||
<div class="form-group mt-3">
|
||||
<f:form.submit value="Suchen" class="btn btn-primary" />
|
||||
</div>
|
||||
|
@ -64,5 +62,4 @@
|
|||
</div>
|
||||
</div>
|
||||
</f:section>
|
||||
|
||||
</html>
|
Loading…
Reference in a new issue