client/app/search/search.html
author ymh <ymh.work@gmail.com>
Mon, 08 Jun 2015 00:29:37 +0200
changeset 126 5ee558e98aff
parent 96 3542155549e4
child 197 8b87432acffc
permissions -rw-r--r--
Added tag V0.1-alpha.0 for changeset 46d7f17cff3d
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>
1
74bbdd739878 views, path, search...
cavaliet
parents:
diff changeset
     4
<h4 class="subtitle" ng-if="results.nhits>0">{{ results.nhits }} 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
1
74bbdd739878 views, path, search...
cavaliet
parents:
diff changeset
     6
<div ng-if="results.nhits>0">
96
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
     7
    <div class="row search-item" ng-repeat="h in results.hits"
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
     8
        ng-init="h.imgbig=false">
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
     9
        <div ng-class="{'col-md-5': h.imgbig, 'col-md-3': !h.imgbig}">
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    10
            <img ng-src="{{ h.metas_dict.images }}" ng-class="{'search-img-max': !h.imgbig}" ng-click="h.imgbig=!h.imgbig" />
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>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    14
                <strong>Nom&nbsp;:</strong> {{ h.metas_dict.name }}
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>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    17
                <strong>Description&nbsp;:</strong> {{ h.metas_dict.description }}
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    18
            </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    19
            <div ng-show="h.imgbig">
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    20
                <p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    21
                    <small><strong>Classification&nbsp;:</strong> {{ h.metas_dict.classification }}</small>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    22
                </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    23
                <p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    24
                    <small><strong>Propriétaire actuel&nbsp;:</strong> {{ h.metas_dict.currentcustody }}</small>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    25
                </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    26
                <p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    27
                    <small><strong>Ancien propriétaire&nbsp;:</strong> {{ h.metas_dict.formercustody }}</small>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    28
                </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    29
                <p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    30
                    <small><strong>Mesures&nbsp;:</strong> {{ h.metas_dict.measures }}</small>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    31
                </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    32
                <p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    33
                    <small><strong>Acteurs&nbsp;:</strong> {{ h.metas_dict.actors }}</small>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    34
                </p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    35
                <p>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    36
                    <small><strong>Lieux&nbsp;:</strong> {{ h.metas_dict.places }}</small>
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>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    42
            <a class="btn btn-default" ng-click="h.imgbig=!h.imgbig"><span class="glyphicon glyphicon-eye-open"></span></a>
3542155549e4 replace all the tab by spaces
rougeronj
parents: 54
diff changeset
    43
        </div>         
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>