events/Resources/Private/Templates/Date/Search.html

76 lines
4.5 KiB
HTML
Raw Permalink Normal View History

2019-08-14 17:22:01 +02:00
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers" data-namespace-typo3-fluid="true">
2019-11-11 12:43:50 +01:00
<f:layout name="Default" />
<f:section name="content">
<div class="row">
<div class="col-12 mb-5">
2022-11-22 12:58:36 +01:00
<f:form action="list" controller="Date" pluginName="DateList" method="post" id="events_search" name="search" object="{demand}">
2019-11-11 12:43:50 +01:00
<div class="row">
2021-09-07 19:23:35 +02:00
<div class="col-12 col-md-12 col-lg-6">
<div class="row">
<div class="col">
<div class="form-group">
<label for="searchword"><f:translate key="LLL:EXT:events/Resources/Private/Language/locallang.xlf:tx_events.searchform.searchword" /></label>
2022-11-22 12:58:36 +01:00
<f:form.textfield type="text" class="form-control" id="searchword" property="searchword" value="{searchword}" />
2019-11-11 12:43:50 +01:00
</div>
</div>
</div>
2021-09-07 19:23:35 +02:00
<div class="row">
<div class="col col-md-6">
<div class="form-group">
<label for="start"><f:translate key="LLL:EXT:events/Resources/Private/Language/locallang.xlf:tx_events.searchform.date_from" /></label>
2022-11-22 12:58:36 +01:00
<f:form.textfield type="date" class="form-control" id="start" property="start" />
2019-11-11 12:43:50 +01:00
</div>
</div>
2021-09-07 19:23:35 +02:00
<div class="col col-md-6">
<div class="form-group">
<label for="end"><f:translate key="LLL:EXT:events/Resources/Private/Language/locallang.xlf:tx_events.searchform.date_to" /></label>
2022-11-22 12:58:36 +01:00
<f:form.textfield type="date" class="form-control" id="end" property="end" />
2021-09-07 19:23:35 +02:00
</div>
2019-11-11 12:43:50 +01:00
</div>
</div>
2021-09-07 19:23:35 +02:00
</div>
<div class="col-md-12 col-lg-6 d-none d-lg-block">
<f:if condition="{settings.showRegions}">
<div class="row mt-3">
<div class="col-4 col-md-4 col-lg-4">
<div class="form-check">
2022-11-22 12:58:36 +01:00
<f:form.radio class="form-check-input" property="region" id="radio_0" value="" />
2021-09-07 19:23:35 +02:00
<label class="form-check-label" for="radio_0"><f:translate key="LLL:EXT:events/Resources/Private/Language/locallang.xlf:tx_events.searchform.regions" /></label>
</div>
2019-11-12 08:16:35 +01:00
</div>
2021-09-07 19:23:35 +02:00
<f:for each="{regions}" as="region">
<div class="col-4">
<div class="form-check">
2022-11-22 12:58:36 +01:00
<f:form.radio class="form-check-input" property="region" value="{region.uid}" id="radio_{region.uid}"/>
2021-09-07 19:23:35 +02:00
<label class="form-check-label" for="radio_{region.uid}">{region.title}</label>
</div>
</div>
</f:for>
2019-11-12 08:16:35 +01:00
</div>
2021-09-07 19:23:35 +02:00
</f:if>
2019-11-12 08:16:35 +01:00
</div>
2021-09-07 19:23:35 +02:00
</div>
2021-07-13 15:50:14 +02:00
<f:if condition="{categories}">
2021-09-07 19:23:35 +02:00
<div class="row mt-lg-4 mb-lg-4">
2021-07-13 15:50:14 +02:00
<f:for each="{categories}" as="category">
2021-09-07 19:23:35 +02:00
<div class="col-3 d-none d-lg-block">
2021-07-13 15:50:14 +02:00
<div class="form-check">
<f:form.checkbox class="form-check-input" property="userCategories" value="{category.uid}" id="check_{category.uid}"/>
<label class="form-check-label" for="check_{category.uid}">{category.title} {category.amountOfEvents}</label>
</div>
</div>
</f:for>
</div>
</f:if>
2021-09-07 19:23:35 +02:00
2019-11-11 12:43:50 +01:00
<div class="form-group mt-3">
2020-10-01 17:13:37 +02:00
<f:form.submit value="{f:translate(key: 'LLL:EXT:events/Resources/Private/Language/locallang.xlf:tx_events.searchform.search')}" class="btn btn-primary" />
2019-11-11 12:43:50 +01:00
</div>
</f:form>
</div>
</div>
</f:section>
</html>