client/app/search/search.html
author rougeronj
Tue, 31 Mar 2015 15:27:26 +0200
changeset 50 c641b33f910f
parent 47 dd750778535c
child 54 ccb586464a6f
permissions -rw-r--r--
remove the initial migration to prepare custom user implementation
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>
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
     2
	Recherche <span ng-if="q !='' "> : {{ q }}</span>
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">
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
     7
	<div class="row search-item" ng-repeat="h in results.hits"
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
     8
		ng-init="h.imgbig=false">
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
     9
		<div ng-class="{'col-md-5': h.imgbig, 'col-md-3': !h.imgbig}">
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
    10
			<img ng-src="{{ h.metas_dict.images }}" ng-class="{'search-img-max': !h.imgbig}" ng-click="h.imgbig=!h.imgbig" />
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
    11
		</div>
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
    12
		<div ng-class="{'col-md-5': h.imgbig, 'col-md-7': !h.imgbig}">
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
    13
			<p>
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
    14
				<strong>Nom&nbsp;:</strong> {{ h.metas_dict.name }}
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
    15
			</p>
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
    16
			<p>
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
    17
				<strong>Description&nbsp;:</strong> {{ h.metas_dict.description }}
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
    18
			</p>
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
    19
			<div ng-show="h.imgbig">
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
    20
				<p>
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
    21
					<small><strong>Classification&nbsp;:</strong> {{ h.metas_dict.classification }}</small>
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
    22
				</p>
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
    23
				<p>
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
    24
					<small><strong>Propriétaire actuel&nbsp;:</strong> {{ h.metas_dict.currentcustody }}</small>
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
    25
				</p>
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
    26
				<p>
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
    27
					<small><strong>Ancien propriétaire&nbsp;:</strong> {{ h.metas_dict.formercustody }}</small>
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
    28
				</p>
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
    29
				<p>
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
    30
					<small><strong>Mesures&nbsp;:</strong> {{ h.metas_dict.measures }}</small>
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
    31
				</p>
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
    32
				<p>
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
    33
					<small><strong>Acteurs&nbsp;:</strong> {{ h.metas_dict.actors }}</small>
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
    34
				</p>
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
    35
				<p>
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
    36
					<small><strong>Lieux&nbsp;:</strong> {{ h.metas_dict.places }}</small>
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
    37
				</p>
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
    38
			</div>
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
    39
		</div>
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
    40
		<div class="col-md-1">
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
    41
			<a popover-placement="right" popover-trigger="click" class="btn btn-default" ng-click="toggleModal($index)"><span class="glyphicon glyphicon-plus"></span></a>
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
    42
			<a class="btn btn-default" ng-click="h.imgbig=!h.imgbig"><span class="glyphicon glyphicon-eye-open"></span></a>
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
    43
		</div> 		
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
    44
	</div>
1
74bbdd739878 views, path, search...
cavaliet
parents:
diff changeset
    45
</div>