Implements a search
This commit is contained in:
@@ -1,2 +1,23 @@
|
||||
<h1> Votre recherche de '{{ terms }}' n'a pas abouti</h1>
|
||||
<h3>C'est toujours pas implémenté, couillon</h3>
|
||||
<h3 class="text-center"> Votre recherche '{{terms}}' à donné {{response.total_hits}} résultats en {{inSecond(response.took)}} s</h3>
|
||||
|
||||
<div class="row" ng-repeat="h in allHits">
|
||||
<div class="col-xs-5 col-sm-3 album" >
|
||||
<album album-id="h.id" ratio="0.95"> </album>
|
||||
</div>
|
||||
<div class="col-xs-7 col-sm-9 search-result">
|
||||
<div class="search-score"> {{h.fields['ref']}} <span class="badge">Score: {{round4Dec(h.score)}} </span></div>
|
||||
<h4> {{h.fields['série']}} - {{h.fields['titre']}} </h4>
|
||||
<hr/>
|
||||
<ul class="hidden-xs">
|
||||
<li ng-repeat="(field,fragments) in h.fragments"><label>{{field}}</label>:
|
||||
<ul>
|
||||
<li ng-repeat="f in fragments" ng-bind-html="trustedFragment(f)"></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row text-center" in-view="$inview&&loadMore()" ng-if="scrollMore">
|
||||
Chargement ...
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user