Commit d9edc359 authored by Markus Sommer's avatar Markus Sommer Committed by Thomas Löffler

[CLEANUP] Use spaces indeed of tabs

parent aa9328c6
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true"
>
<div class="card-header">
<span class="facet-label">{facet.label}</span>
<span class="facet-label">{facet.label}</span>
</div>
<div class="card-block">
<div class="facet-option-list facet-type-options fluidfacet" data-facet-name="{facet.name}" data-facet-label="{facet.label}">
<f:for each="{facet.options}" as="option" iteration="iteration">
<a class="btn btn-outline-{facet.configuration.itemClass} mb-1 mr-1 facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">
<strong>
{facet.configuration.prefix}{option.label}
<span class="badge badge-{facet.configuration.itemClass}">{option.documentCount}</span>
</strong>
</a>
</f:for>
</div>
<div class="facet-option-list facet-type-options fluidfacet" data-facet-name="{facet.name}" data-facet-label="{facet.label}">
<f:for each="{facet.options}" as="option" iteration="iteration">
<a class="btn btn-outline-{facet.configuration.itemClass} mb-1 mr-1 facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">
<strong>
{facet.configuration.prefix}{option.label}
<span class="badge badge-{facet.configuration.itemClass}">{option.documentCount}</span>
</strong>
</a>
</f:for>
</div>
</div>
</html>
......@@ -3,19 +3,19 @@
data-namespace-typo3-fluid="true"
>
<div class="card-header">
<span class="facet-label">{facet.label}</span>
<span class="facet-label">{facet.label}</span>
</div>
<div class="card-block">
<div class="facet-option-list facet-type-options fluidfacet" data-facet-name="{facet.name}" data-facet-label="{facet.label}">
<f:for each="{facet.options}" as="option" iteration="iteration">
<a class="btn btn-outline-{facet.configuration.itemClass} mb-1 facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">
<strong>
{option.label}
<span class="badge badge-{facet.configuration.itemClass}">{option.documentCount}</span>
</strong>
</a><br>
</f:for>
</div>
<div class="facet-option-list facet-type-options fluidfacet" data-facet-name="{facet.name}" data-facet-label="{facet.label}">
<f:for each="{facet.options}" as="option" iteration="iteration">
<a class="btn btn-outline-{facet.configuration.itemClass} mb-1 facet solr-ajaxified" href="{s:uri.facet.addFacetItem(facet: facet, facetItem: option)}">
<strong>
{option.label}
<span class="badge badge-{facet.configuration.itemClass}">{option.documentCount}</span>
</strong>
</a><br>
</f:for>
</div>
</div>
......
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
<f:section name="Document">
......@@ -39,12 +39,12 @@
</small>
</f:comment>
<h3>
<f:if condition="{document.supports7_boolS}">
<span class="badge badge-success"><strong>7 LTS</strong></span>
</f:if>
<f:if condition="{document.supports8_boolS}">
<span class="badge badge-success"><strong>8 LTS</strong></span>
</f:if>
<f:if condition="{document.supports7_boolS}">
<span class="badge badge-success"><strong>7 LTS</strong></span>
</f:if>
<f:if condition="{document.supports8_boolS}">
<span class="badge badge-success"><strong>8 LTS</strong></span>
</f:if>
</h3>
</div>
</div>
......@@ -55,8 +55,8 @@
<i class="fa fa-download"></i>
<strong>Download version {document.extensionVersion_stringS} as ZIP</strong>
</a>
</div>
</f:else>
</div>
</f:else>
</f:if>
</li>
</f:section>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
<f:section name="Facets">
<div id="tx-solr-faceting">
<f:if condition="{resultSet.facets.used -> f:count()}">
<div id="tx-solr-facets-in-use">
<h3><s:translate key="faceting_resultsNarrowedBy">Used facets</s:translate></h3>
<ul class="facets list-unstyled">
<f:for each="{resultSet.facets.used}" as="facet">
<f:for each="{facet.allFacetItems.selected}" as="item">
<li class="mb-1">
<a href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: item)}" class="btn btn-{facet.configuration.itemClass} facet remove-facet-option solr-ajaxified">
<strong><i class="fa fa-times"></i> {facet.configuration.prefix}{item.label}</strong>
</a>
</li>
</f:for>
</f:for>
<li class="facets-remove-all mt-3">
<a href="{s:uri.facet.removeAllFacets()}" class="btn btn-primary solr-ajaxified">
<strong><i class="fa fa-times"></i> <s:translate key="faceting_removeAllFilters">Remove all filters</s:translate></strong>
</a>
</li>
</ul>
</div>
</f:if>
<div id="tx-solr-faceting">
<f:if condition="{resultSet.facets.used -> f:count()}">
<div id="tx-solr-facets-in-use">
<h3><s:translate key="faceting_resultsNarrowedBy">Used facets</s:translate></h3>
<ul class="facets list-unstyled">
<f:for each="{resultSet.facets.used}" as="facet">
<f:for each="{facet.allFacetItems.selected}" as="item">
<li class="mb-1">
<a href="{s:uri.facet.removeFacetItem(facet: facet, facetItem: item)}" class="btn btn-{facet.configuration.itemClass} facet remove-facet-option solr-ajaxified">
<strong><i class="fa fa-times"></i> {facet.configuration.prefix}{item.label}</strong>
</a>
</li>
</f:for>
</f:for>
<li class="facets-remove-all mt-3">
<a href="{s:uri.facet.removeAllFacets()}" class="btn btn-primary solr-ajaxified">
<strong><i class="fa fa-times"></i> <s:translate key="faceting_removeAllFilters">Remove all filters</s:translate></strong>
</a>
</li>
</ul>
</div>
</f:if>
<s:facet.area.group groupName="main" facets="{resultSet.facets.available}">
<div class="facet-area-main">
<div class="solr-facets-available secondaryContentSection">
<div class="csc-header">
<h3 class="csc-firstHeader"><s:translate key="faceting_narrowSearch">Narrow Search</s:translate></h3>
</div>
<f:for each="{areaFacets}" as="facet">
<div class="card">
<f:render partial="Facets/{facet.partialName}" arguments="{resultSet:resultSet, facet:facet}"/>
</div>
</f:for>
</div>
</div>
</s:facet.area.group>
<s:facet.area.group groupName="main" facets="{resultSet.facets.available}">
<div class="facet-area-main">
<div class="solr-facets-available secondaryContentSection">
<div class="csc-header">
<h3 class="csc-firstHeader"><s:translate key="faceting_narrowSearch">Narrow Search</s:translate></h3>
</div>
<f:for each="{areaFacets}" as="facet">
<div class="card">
<f:render partial="Facets/{facet.partialName}" arguments="{resultSet:resultSet, facet:facet}"/>
</div>
</f:for>
</div>
</div>
</s:facet.area.group>
</div>
</div>
</f:section>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers">
<f:section name="Form">
<div class="tx-solr-search-form mt-5">
<div class="tx-solr-search-form mt-5">
<s:searchForm id="tx-solr-search-form-pi-results" class="" additionalFilters="{additionalFilters}">
<input type="hidden" name="L" value="{languageUid}" />
<input type="hidden" name="id" value="{pageUid}" />
<div class="input-group input-group-lg">
<input type="text" class="form-control" placeholder="Search for extensions, tags, author..." name="tx_solr[q]" value="{q}">
<span class="input-group-btn">
<button type="submit" class="btn btn-primary" type="button"><s:translate key="submit" default="Search" /></button>
</span>
</div>
</s:searchForm>
<s:searchForm id="tx-solr-search-form-pi-results" class="" additionalFilters="{additionalFilters}">
<input type="hidden" name="L" value="{languageUid}" />
<input type="hidden" name="id" value="{pageUid}" />
<div class="input-group input-group-lg">
<input type="text" class="form-control" placeholder="Search for extensions, tags, author..." name="tx_solr[q]" value="{q}">
<span class="input-group-btn">
<button type="submit" class="btn btn-primary" type="button"><s:translate key="submit" default="Search" /></button>
</span>
</div>
</s:searchForm>
</div>
</div>
</f:section>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers/">
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers/">
<f:layout name="Main" />
<f:section name="main">
<div class="container-fluid">
<div class="container-fluid">
<f:render partial="Search/Form" section="Form" arguments="{search:search, additionalFilters:additionalFilters, pluginNamespace: pluginNamespace, resultSet: resultSet}" />
<f:render partial="Search/Form" section="Form" arguments="{search:search, additionalFilters:additionalFilters, pluginNamespace: pluginNamespace, resultSet: resultSet}" />
<f:if condition="{resultSet.usedSearch.numberOfResults}">
<div class="mb-4">
<i class="result-found">
<s:translate key="results_found" arguments="{0:resultSet.usedSearch.numberOfResults, 1: resultSet.usedSearch.queryTime}">Found %d extensions in %d seconds</s:translate>
</i>
</div>
</f:if>
<f:if condition="{resultSet.usedSearch.numberOfResults}">
<div class="mb-4">
<i class="result-found">
<s:translate key="results_found" arguments="{0:resultSet.usedSearch.numberOfResults, 1: resultSet.usedSearch.queryTime}">Found %d extensions in %d seconds</s:translate>
</i>
</div>
</f:if>
<f:if condition="{resultSet.usedSearch.numberOfResults}">
<f:else>
<div class="alert alert-danger mt-3">
<s:translate key="no_results_nothing_found" arguments="{0: resultSet.usedQuery.queryString}">Nothing found for "%s".</s:translate>
</div>
</f:else>
<f:then>
<div class="row">
<div class="col-lg-3">
<f:if condition="{resultSet.usedSearchRequest.contextTypoScriptConfiguration.searchFaceting}">
<f:render partial="Result/Facets" section="Facets" arguments="{resultSet:resultSet}" />
</f:if>
</div>
<div class="col-lg-9">
<div id="tx-solr-search">
<f:if condition="{resultSet.isAutoCorrected}">
<span class="searched-for">
<s:translate key="no_results_nothing_found" arguments="{0: resultSet.initialQueryString}">Nothing found for "%s".</s:translate>
<s:translate key="no_results_search_for_original" arguments="{0: resultSet.correctedQueryString}">Search instead for "%s".</s:translate>
</span>
</f:if>
<f:if condition="{resultSet.usedSearch.numberOfResults}">
<f:else>
<div class="alert alert-danger mt-3">
<s:translate key="no_results_nothing_found" arguments="{0: resultSet.usedQuery.queryString}">Nothing found for "%s".</s:translate>
</div>
</f:else>
<f:then>
<div class="row">
<div class="col-lg-3">
<f:if condition="{resultSet.usedSearchRequest.contextTypoScriptConfiguration.searchFaceting}">
<f:render partial="Result/Facets" section="Facets" arguments="{resultSet:resultSet}" />
</f:if>
</div>
<div class="col-lg-9">
<div id="tx-solr-search">
<f:if condition="{resultSet.isAutoCorrected}">
<span class="searched-for">
<s:translate key="no_results_nothing_found" arguments="{0: resultSet.initialQueryString}">Nothing found for "%s".</s:translate>
<s:translate key="no_results_search_for_original" arguments="{0: resultSet.correctedQueryString}">Search instead for "%s".</s:translate>
</span>
</f:if>
<f:if condition="{resultSet.hasSpellCheckingSuggestions}">
<f:then>
<s:translate key="didYouMean">Did you mean</s:translate>
<f:for each="{resultSet.spellCheckingSuggestions}" as="suggestion">
<f:link.page additionalParams="{q:suggestion.suggestion}" noCacheHash="1">{suggestion.suggestion}</f:link.page>
</f:for>
?
</f:then>
</f:if>
<f:if condition="{resultSet.hasSpellCheckingSuggestions}">
<f:then>
<s:translate key="didYouMean">Did you mean</s:translate>
<f:for each="{resultSet.spellCheckingSuggestions}" as="suggestion">
<f:link.page additionalParams="{q:suggestion.suggestion}" noCacheHash="1">{suggestion.suggestion}</f:link.page>
</f:for>
?
</f:then>
</f:if>
<f:if condition="{hasSearched}">
<s:widget.resultPaginate resultSet="{resultSet}" configuration="{templatePath:'EXT:ter_layout/Resources/Private/Templates/Solr/ViewHelpers/Widget/ResultPaginate/Index.html'}">
<ol start="{pagination.displayRangeStart}" class="results-list list-unstyled">
<f:for each="{documents}" as="document" iteration="iterator">
<f:if condition="{iterator.isOdd}">
<div class="card-deck">
</f:if>
<f:render partial="Result/Document" section="Document" arguments="{resultSet:resultSet, document:document}" />
<f:if condition="{iterator.isEven} || {iterator.isLast}">
</div>
</f:if>
</f:for>
</ol>
</s:widget.resultPaginate>
</f:if>
</div>
</div>
</div>
</f:then>
</f:if>
</div>
<f:if condition="{hasSearched}">
<s:widget.resultPaginate resultSet="{resultSet}" configuration="{templatePath:'EXT:ter_layout/Resources/Private/Templates/Solr/ViewHelpers/Widget/ResultPaginate/Index.html'}">
<ol start="{pagination.displayRangeStart}" class="results-list list-unstyled">
<f:for each="{documents}" as="document" iteration="iterator">
<f:if condition="{iterator.isOdd}">
<div class="card-deck">
</f:if>
<f:render partial="Result/Document" section="Document" arguments="{resultSet:resultSet, document:document}" />
<f:if condition="{iterator.isEven} || {iterator.isLast}">
</div>
</f:if>
</f:for>
</ol>
</s:widget.resultPaginate>
</f:if>
</div>
</div>
</div>
</f:then>
</f:if>
</div>
</f:section>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en"
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers/"
data-namespace-typo3-fluid="true">
xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
xmlns:s="http://typo3.org/ns/ApacheSolrForTypo3/Solr/ViewHelpers/"
data-namespace-typo3-fluid="true">
<f:if condition="{configuration.insertAbove}">
<f:render section="paginator" arguments="{pagination: contentArguments.pagination, configuration:configuration, resultSet:resultSet}" />
<f:render section="paginator" arguments="{pagination: contentArguments.pagination, configuration:configuration, resultSet:resultSet}" />
</f:if>
<f:renderChildren arguments="{contentArguments}" />
<f:if condition="{configuration.insertBelow}">
<f:render section="paginator" arguments="{pagination: contentArguments.pagination, configuration:configuration, resultSet:resultSet}" />
<f:render section="paginator" arguments="{pagination: contentArguments.pagination, configuration:configuration, resultSet:resultSet}" />
</f:if>
<f:section name="paginator">
<f:if condition="{pagination.numberOfPages} > 1">
<nav aria-label="Pagination" class="tx-solr-pagination-page-browser">
<ul class="pagination justify-content-center">
<f:if condition="{pagination.previousPage}">
<li class="page-item previous">
<f:if condition="{pagination.previousPage} > 1">
<f:then>
<a href="{s:uri.paginate.resultPage(page: pagination.previousPage)}" class="page-link solr-ajaxified"><s:translate key="paginate_previous">&laquo;</s:translate></a>
</f:then>
<f:else>
<a href="{s:uri.paginate.resultPage()}" class="page-link solr-ajaxified"><s:translate key="paginate_previous">&laquo;</s:translate></a>
</f:else>
</f:if>
</li>
</f:if>
<f:if condition="{pagination.hasLessPages}">
<li class="page-item"><a class="page-link">....</a></li>
</f:if>
<f:for each="{pagination.pages}" as="page">
<f:if condition="{page.isCurrent}">
<f:then>
<li class="page-item active">
<a href="{s:uri.paginate.resultPage()}" class="page-link solr-ajaxified">{page.number}</a>
</li>
</f:then>
<f:else>
<li class="page-item">
<f:if condition="{page.number} > 1">
<f:then>
<a href="{s:uri.paginate.resultPage(page: page.number)}" class="page-link solr-ajaxified">{page.number}</a>
</f:then>
<f:else>
<a href="{s:uri.paginate.resultPage()}" class="page-link solr-ajaxified">{page.number}</a>
</f:else>
</f:if>
</li>
</f:else>
</f:if>
</f:for>
<f:if condition="{pagination.hasMorePages}">
<li class="page-item"><a class="page-link">....</a></li>
</f:if>
<f:if condition="{pagination.nextPage}">
<li class="page-item last next">
<a href="{s:uri.paginate.resultPage(page: pagination.nextPage)}" class="page-link solr-ajaxified"><s:translate key="paginate_next">&raquo;</s:translate></a>
</li>
</f:if>
</ul>
</nav>
</f:if>
<f:if condition="{pagination.numberOfPages} > 1">
<nav aria-label="Pagination" class="tx-solr-pagination-page-browser">
<ul class="pagination justify-content-center">
<f:if condition="{pagination.previousPage}">
<li class="page-item previous">
<f:if condition="{pagination.previousPage} > 1">
<f:then>
<a href="{s:uri.paginate.resultPage(page: pagination.previousPage)}" class="page-link solr-ajaxified"><s:translate key="paginate_previous">&laquo;</s:translate></a>
</f:then>
<f:else>
<a href="{s:uri.paginate.resultPage()}" class="page-link solr-ajaxified"><s:translate key="paginate_previous">&laquo;</s:translate></a>
</f:else>
</f:if>
</li>
</f:if>
<f:if condition="{pagination.hasLessPages}">
<li class="page-item"><a class="page-link">....</a></li>
</f:if>
<f:for each="{pagination.pages}" as="page">
<f:if condition="{page.isCurrent}">
<f:then>
<li class="page-item active">
<a href="{s:uri.paginate.resultPage()}" class="page-link solr-ajaxified">{page.number}</a>
</li>
</f:then>
<f:else>
<li class="page-item">
<f:if condition="{page.number} > 1">
<f:then>
<a href="{s:uri.paginate.resultPage(page: page.number)}" class="page-link solr-ajaxified">{page.number}</a>
</f:then>
<f:else>
<a href="{s:uri.paginate.resultPage()}" class="page-link solr-ajaxified">{page.number}</a>
</f:else>
</f:if>
</li>
</f:else>
</f:if>
</f:for>
<f:if condition="{pagination.hasMorePages}">
<li class="page-item"><a class="page-link">....</a></li>
</f:if>
<f:if condition="{pagination.nextPage}">
<li class="page-item last next">
<a href="{s:uri.paginate.resultPage(page: pagination.nextPage)}" class="page-link solr-ajaxified"><s:translate key="paginate_next">&raquo;</s:translate></a>
</li>
</f:if>
</ul>
</nav>
</f:if>
</f:section>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment