meilisearch/Resources/Private/Partials/Result/RelevanceBar.html
2021-04-17 00:26:33 +02:00

18 lines
637 B
HTML

<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">
<f:section name="RelevanceBar">
<div class="relevance hidden-xs">
<s:translate key="relevance" />:
<div class="progress" style="max-width: 100px; height: 5px;">
<div class="progress-bar" role="progressbar" aria-valuenow="{s:document.relevance(resultSet:resultSet, document:document)}" aria-valuemin="0" aria-valuemax="100" style="width: {s:document.relevance(resultSet:resultSet, document:document)}%;">
</div>
</div>
</div>
</f:section>
</html>