meilisearch/Resources/Private/Partials/Facets/RangeDate.html

42 lines
1.5 KiB
HTML
Raw Normal View History

2021-04-17 00:26:33 +02:00
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
2021-04-17 21:20:54 +02:00
xmlns:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers"
2021-04-17 00:26:33 +02:00
data-namespace-typo3-fluid="true"
>
<div class="panel">
<div class="panel-heading">
<h3 class="facet-label panel-title">
<span class="glyphicon glyphicon-filter"></span>
<a data-toggle="collapse" data-parent="#facet-accordion{facet.name}" href="#facet{facet.name}">{facet.label}</a>
</h3>
</div>
<div class="panel-collapse collapse" id="facet{facet.name}">
<div class="facet-option-list fluidfacet facet-type-dateRange"
data-facet-name="{facet.name}"
data-facet-label="{facet.label}"
data-range-min="{facet.range.startInResponse}"
data-range-max="{facet.range.endInResponse}"
data-range-min-selected="{facet.range.startRequested}"
data-range-max-selected="{facet.range.endRequested}"
data-range-gap="{facet.range.gap}"
data-facet-url="{s:uri.facet.setFacetItem(facet: facet, facetItemValue: '___FROM___-___TO___')}"
>
<input type="hidden" value="{s:uri.facet.addFacetItem(facet: facet, facetItemValue: '___FROM___-___TO___')}" id="created_url">
<div class="row panel">
<div class="col-sm-6">
<input type="text" class="dateselector form-control" id="start_date_created">
</div>
<div class="col-sm-6">
<input type="text" class="dateselector form-control" id="end_date_created">
</div>
</div>
</div>
</div>
</div>
2021-04-17 21:20:54 +02:00
</html>