meilisearch/Resources/Private/Partials/Result/RelevanceBar.html
2021-04-17 21:20:54 +02:00

19 lines
641 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/WapplerSystems/Meilisearch/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>