client/app/search/search.html
changeset 1 74bbdd739878
child 2 36ccc573af9a
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/client/app/search/search.html	Thu Oct 02 13:24:57 2014 +0200
@@ -0,0 +1,17 @@
+<h1>Recherche <span ng-if="q !='' "> : {{ q }}</span></h1>
+<h4 class="subtitle" ng-if="results.nhits>0">{{ results.nhits }} résultat(s)</h4>
+<div ng-if="results.nhits>0">
+  <div class="row item" ng-repeat="h in results.hits">
+      <img class="col-md-3" src="{{ h.url }}"/>
+      <div class="col-md-8">
+	      <p><strong>Nom&nbsp;:</strong> {{ h.metas|meta:"name" }}</p>
+	      <p><strong>Description&nbsp;:</strong> {{ h.metas|meta:"description" }}</p>
+	      <p><small><strong>Classification&nbsp;:</strong> {{ h.metas|meta:"classification" }}</small></p>
+	      <p><small><strong>Current Custody&nbsp;:</strong> {{ h.metas|meta:"currentcustody" }}</small></p>
+	      <p><small><strong>Former Custody&nbsp;:</strong> {{ h.metas|meta:"formercustody" }}</small></p>
+          <p><small><strong>Mesures&nbsp;:</strong> {{ h.metas|meta:"measures" }}</small></p>
+	      <p><small><strong>Acteurs&nbsp;:</strong> {{ h.metas|meta:"actors" }}</small></p>
+	      <p><small><strong>Lieux&nbsp;:</strong> {{ h.metas|meta:"places" }}</small></p>
+      </div>
+  </div>
+</div>