first commit
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<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:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="Form">
|
||||
|
||||
<div class="tx-solr-search-form">
|
||||
<s:searchForm id="tx-solr-search-form-pi-results" additionalFilters="{additionalFilters}" suggestHeader="{s:translate(key:'suggest_header',default:'Top Results')}">
|
||||
<div class="tx-meilisearch-search-form">
|
||||
<s:searchForm id="tx-meilisearch-search-form-pi-results" additionalFilters="{additionalFilters}" suggestHeader="{s:translate(key:'suggest_header',default:'Top Results')}">
|
||||
<div class="input-group">
|
||||
<f:for each="{existingParameters}" key="name" as="value">
|
||||
<f:form.hidden name="{pluginNamespace}{name}" value="{value}" />
|
||||
@@ -16,9 +16,9 @@
|
||||
<input type="hidden" name="id" value="{pageUid}" />
|
||||
</f:if>
|
||||
|
||||
<input type="text" class="tx-solr-q js-solr-q tx-solr-suggest tx-solr-suggest-focus form-control" name="{pluginNamespace}[q]" value="{q}" />
|
||||
<input type="text" class="tx-meilisearch-q js-meilisearch-q tx-meilisearch-suggest tx-meilisearch-suggest-focus form-control" name="{pluginNamespace}[q]" value="{q}" />
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default tx-solr-submit" type="submit">
|
||||
<button class="btn btn-default tx-meilisearch-submit" type="submit">
|
||||
<span class=" glyphicon glyphicon-search"></span>
|
||||
<span>
|
||||
<s:translate key="submit">Search</s:translate>
|
||||
@@ -29,4 +29,4 @@
|
||||
</s:searchForm>
|
||||
</div>
|
||||
|
||||
</f:section>
|
||||
</f:section>
|
||||
|
@@ -1,12 +1,12 @@
|
||||
<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:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="FrequentlySearched">
|
||||
|
||||
<s:widget.frequentlySearched>
|
||||
<f:if condition="{frequentSearches}">
|
||||
<div id="tx-solr-frequent-searches" class="secondaryContentSection panel">
|
||||
<div id="tx-meilisearch-frequent-searches" class="secondaryContentSection panel">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
<span class="glyphicon glyphicon-fire"></span>
|
||||
@@ -18,7 +18,7 @@
|
||||
<ul>
|
||||
<f:for each="{frequentSearches}" as="searchedForInfo">
|
||||
<li class="{searchedForInfo.class}">
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedForInfo.q)}" class="solr-ajaxified">{searchedForInfo.q}</a>
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedForInfo.q)}" class="meilisearch-ajaxified">{searchedForInfo.q}</a>
|
||||
</li>
|
||||
</f:for>
|
||||
</ul>
|
||||
@@ -31,4 +31,4 @@
|
||||
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
@@ -1,13 +1,13 @@
|
||||
<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:s="http://typo3.org/ns/WapplerSystems/Meilisearch/ViewHelpers">
|
||||
|
||||
<f:section name="LastSearches">
|
||||
|
||||
<s:widget.lastSearches>
|
||||
<f:if condition="{lastSearches}">
|
||||
|
||||
<div id="tx-solr-lastsearches" class="secondaryContentSection panel">
|
||||
<div id="tx-meilisearch-lastsearches" class="secondaryContentSection panel">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">
|
||||
<span class="glyphicon glyphicon-time"></span>
|
||||
@@ -20,7 +20,7 @@
|
||||
<div class="panel-body">
|
||||
<f:for each="{lastSearches}" as="searchedFor">
|
||||
<li class="list-group-item">
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedFor)}" class="solr-ajaxified">{searchedFor}</a>
|
||||
<a href="{s:uri.search.startNewSearch(queryString: searchedFor)}" class="meilisearch-ajaxified">{searchedFor}</a>
|
||||
</li>
|
||||
</f:for>
|
||||
</div>
|
||||
@@ -32,4 +32,4 @@
|
||||
|
||||
</f:section>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user