client/app/search/search.html
author ymh <ymh.work@gmail.com>
Wed, 08 Jan 2020 17:49:53 +0100
changeset 205 147583c43f0d
parent 197 8b87432acffc
permissions -rw-r--r--
add poetry on sync
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
     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
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    11
        </div>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    12
        <div ng-class="{'col-md-5': h.imgbig, 'col-md-7': !h.imgbig}">
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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&nbsp;:</strong> {{ h.name }}
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    15
            </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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&nbsp;:</strong> {{ h.description }}
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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&nbsp;:</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&nbsp;:</strong> {{ h.date }}</small>
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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&nbsp;:</strong> {{ h.inventorynumber }}</small>
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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&nbsp;:</strong> {{ h.classification }}</small>
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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&nbsp;:</strong> {{ h.country }}</small>
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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&nbsp;:</strong> {{ h.tags }}</small>
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    37
                </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    38
            </div>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    39
        </div>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    40
        <div class="col-md-1">
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    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
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    44
    </div>
1
74bbdd739878 views, path, search...
cavaliet
parents:
diff changeset
    45
</div>