| author | ymh <ymh.work@gmail.com> |
| Wed, 08 Jan 2020 17:49:53 +0100 | |
| changeset 205 | 147583c43f0d |
| parent 197 | 8b87432acffc |
| permissions | -rw-r--r-- |
|
47
dd750778535c
udate add fonction from a research and add a modal to select the book we want to add the slide
rougeronj
parents:
12
diff
changeset
|
1 |
<h1> |
| 96 | 2 |
Recherche <span ng-if="q !='' "> : {{ q }}</span> |
|
47
dd750778535c
udate add fonction from a research and add a modal to select the book we want to add the slide
rougeronj
parents:
12
diff
changeset
|
3 |
</h1> |
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
4 |
<h4 class="subtitle" ng-if="results.count>0">{{ results.count }} résultat(s)</h4> |
|
47
dd750778535c
udate add fonction from a research and add a modal to select the book we want to add the slide
rougeronj
parents:
12
diff
changeset
|
5 |
|
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
6 |
<div ng-if="results.count>0"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
7 |
<div class="row search-item" ng-repeat="h in results.collect" |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
8 |
ng-init="h.imgbig=false; h.seemore=false"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
9 |
<div ng-class="{'col-md-5': h.imgbig, 'col-md-3': !h.imgbig, 'img-wrap': true }"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
10 |
<img ng-src="{{ h.images[0] || 'img/no_img.jpg' }}" ng-class="{'search-img-max': (h.images[0] && !h.imgbig), 'no-img': !h.images[0]}" ng-click="h.imgbig=(h.images[0] && !h.imgbig)" /> |
| 96 | 11 |
</div> |
12 |
<div ng-class="{'col-md-5': h.imgbig, 'col-md-7': !h.imgbig}"> |
|
13 |
<p> |
|
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
14 |
<strong>Nom :</strong> {{ h.name }} |
| 96 | 15 |
</p> |
16 |
<p> |
|
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
17 |
<strong>Description :</strong> {{ h.description }} |
| 96 | 18 |
</p> |
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
19 |
<p ng-if="h.url"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
20 |
<strong>Url :</strong> <a href="{{ h.url }}" target="_blank">{{ h.url }}</a> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
21 |
</p> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
22 |
<div ng-show="h.seemore"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
23 |
<p ng-if="h.date"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
24 |
<small><strong>Date :</strong> {{ h.date }}</small> |
| 96 | 25 |
</p> |
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
26 |
<p ng-if="h.inventorynumber"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
27 |
<small><strong>Numéro d'inventaire :</strong> {{ h.inventorynumber }}</small> |
| 96 | 28 |
</p> |
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
29 |
<p ng-if="h.classification"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
30 |
<small><strong>Classification :</strong> {{ h.classification }}</small> |
| 96 | 31 |
</p> |
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
32 |
<p ng-if="h.country"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
33 |
<small><strong>Pays :</strong> {{ h.country }}</small> |
| 96 | 34 |
</p> |
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
35 |
<p ng-if="h.tags.length>0"> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
36 |
<small><strong>Mots Clefs :</strong> {{ h.tags }}</small> |
| 96 | 37 |
</p> |
38 |
</div> |
|
39 |
</div> |
|
40 |
<div class="col-md-1"> |
|
41 |
<a class="btn btn-default" ng-click="toggleModal($index)"><span class="glyphicon glyphicon-plus"></span></a> |
|
|
197
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
42 |
<a class="btn btn-default" ng-click="h.imgbig=(h.images[0] && !h.imgbig); h.seemore=!h.seemore"><span class="glyphicon glyphicon-eye-open"></span></a> |
|
8b87432acffc
Update search to match the new response from exalead
nowmad@23.1.168.192.in-addr.arpa
parents:
96
diff
changeset
|
43 |
</div> |
| 96 | 44 |
</div> |
| 1 | 45 |
</div> |