-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdetail.html
298 lines (293 loc) · 16.6 KB
/
detail.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
<div class="container">
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li><a href="#">Listing</a></li>
<li class="active">Detail</li>
</ol>
<!--end breadcrumb-->
<div class="row">
<div class="col-md-9 col-sm-8">
<div class="quick-navigation" data-fixed-after-touch="">
<div class="wrapper">
<ul>
<li><a target="_self" href="#description" class="scroll">Description</a></li>
<li><a target="_self" href="#map" class="scroll">Map</a></li>
<li><a target="_self" href="#facilities" class="scroll">Facilities</a></li>
<li><a target="_self" href="#additional-information" class="scroll">Additional Information</a></li>
<li><a target="_self" href="#reviews" class="scroll">Reviews</a>(23)</li>
</ul>
</div>
</div>
<div class="main-content">
<div class="title box">
<div class="left">
<div class="vcenter item-image col-md-2">
<img class="thumbl" ng-src="{{donneesAnnonce.UTILISATEUR.PHOTO_PROFIL}}">
<strong>{{donneesAnnonce.UTILISATEUR.PRENOM}}</strong>
</div>
<div class="vcenter col-md-8">
<h1>{{donneesAnnonce.LIBELLE}} <span class="rating"><i class="fa fa-star"></i>{{donneesAnnonce.UTILISATEUR.NOTE}}</span></h1>
</div>
</div>
<div class="right">
<a href="#map" class="icon scroll"><i class="fa fa-map-marker"></i>See on the map</a>
</div>
</div>
<!--end title-->
<section id="gallery">
<div class="gallery-detail" ng-init="slides = donneesAnnonce.IMAGE_ANNONCE">
<ul rn-carousel rn-carousel-pause-on-hover="" rn-carousel-buffered="" rn-carousel-index="carouselIndex" class="box angular-carousel" style="background: white; height: 502px">
<li ng-repeat="image in donneesAnnonce.IMAGE_ANNONCE">
<div class="image-aspect-ratio">
<img ng-src="{{image.FILENAME}}">
</div>
</li>
<div rn-carousel-indicators slides="slides" rn-carousel-index="carouselIndex"></div>
</ul>
</div>
</section>
<h2>Description</h2>
<div class="row">
<div class="col-md-12">
<section id="description">
<p>{{donneesAnnonce.DESCRIPTION}}</p>
</section>
<section id="facilities">
<h2>Options</h2>
<ul class="bullets">
<li ng-class="{'bulletsok': donneesAnnonce.ASSISTER_PREPARATION == true, 'bulletsnotok': donneesAnnonce.ASSISTER_PREPARATION == false}">Vous propose d'assister à la préparation</li>
<li ng-class="{'bulletsok': donneesAnnonce.ACCEPTE_ENFANT == true, 'bulletsnotok': donneesAnnonce.ACCEPTE_ENFANT == false}">Accueille les enfants en bas age</li>
<li ng-class="{'bulletsok': donneesAnnonce.ACCEPTE_ANIMAUX == true, 'bulletsnotok': donneesAnnonce.ACCEPTE_ANIMAUX == false}">Accepte les animaux</li>
<li ng-class="{'bulletsok': donneesAnnonce.RACCOMPAGNE_INVITE == true, 'bulletsnotok': donneesAnnonce.RACCOMPAGNE_INVITE == false}">Peut vous raccompagner à la fin du repas</li>
</ul>
</section>
<section id="map">
<h2>Map</h2>
<div id="map-item" class="map height-300 box"></div>
<!--end map-->
</section>
</div>
<!--end col-md-12-->
</div>
<!--end row-->
<section id="additional-information">
<h2>Additional Information</h2>
<dl class="info">
<dt>Arrivée:</dt>
<dd>{{availableday[0].DATE_DEBUT |date:'hh:mm' }} {{availableday[0].DATE_FIN |date:'hh:mm' }} </dd>
<dt>Langues parlées:</dt>
<dd>
<span ng-repeat="langue in donneesAnnonce.UTILISATEUR.LANGUE">
{{langue.LIBELLE}} {{$last ? '' : ', '}}
</span>
</dd>
<span ng-hide="donneesAnnonce.SPECIALITE|JsonIsEmpty">
<dt>Spécialité:</dt>
<dd>
{{donneesAnnonce.SPECIALITE.LIBELLE}}
</dd>
</span>
<span ng-hide="donneesAnnonce.REGIMES|JsonIsEmpty">
<dt>Régime(s):</dt>
<dd>
<span ng-repeat="regime in donneesAnnonce.REGIMES">
{{regime.LIBELLE}} {{$last ? '' : ', '}}
</span>
</dd>
</span>
</dl>
<!--end info-->
</section>
</div>
<!--end main-content-->
</div>
<!--end col-md-9-->
<div class="col-md-3 col-sm-4">
<div class="sidebar">
<div class="box filter">
<h2>Réservation</h2>
<form kendo-validator="validator" name="publication.reservationForm" id="form-filter" class="labels-uppercase">
<div class="form-group">
<label>Date souhaitée</label>
<input kendo-date-picker validationMessage="Enter {0}"
k-options="SelectorOptions"
k-ng-model="dateReservation"
style="width: 100%;" required/>
<!-- <md-datepicker id="myDatePicker" datepicker-validation-fix md-hide-icons="calendar" md-open-on-focus md-placeholder="Selectionnez une date" md-min-date="minDate"
ng-model-options="{ timezone: '+0100' }" md-date-filter="onlySessionsPredicate"
ng-change="dateChanged(dateReservation)" ng-model="dateReservation" required></md-datepicker>-->
</div>
<!--end form-group-->
<div class="form-group">
<label for="form-filter-check-out">{{donneesAnnonce.MODECONSO.CODE == 'AEMPORTER'? "Quantité": "Nombre d'invités" }}</label>
<select class="form-control" name="quantiteInput" ng-model="nbPlacesAreserver" id="form-filter-check-out"
ng-init="nbPlacesAreserver = listQuantite[0]" ng-change="updatePrice()"
ng-options="quantite for quantite in listQuantite">
</select>
</div>
<!--end form-group-->
<div>
<table class="table">
<thead>
<tr>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
<tr class="price-item">
<th style="border-top: 0 !important;" scope="row">
<span>{{donneesAnnonce.PRIX}}€ x {{nbPlacesAreserver}} invité(s)</span><span aria-hidden="true"></span>
</th>
<td class="text-right price-item__price hide-border-top">
<div><span>{{donneesAnnonce.PRIX * nbPlacesAreserver}}€</span></div>
</td>
</tr>
<tr class="price-item" >
<th class="price-item__header" scope="row">
<span >Frais de service</span><span aria-hidden="true"> </span>
</th>
<td class="text-right price-item__price">
<div class=""><span>{{fraisDesService}}€</span></div>
</td>
</tr>
<tr>
<th class="price-item__header" scope="row"><span>Total</span></th>
<td class="price text-right"><span>{{totalPrice}}€</span></td>
</tr>
</tbody>
</table>
</div>
<!--end collapse-->
<div class="alert-danger" style="padding: 10px" ng-show="!isValid">
Vous avez déja une réservation pour cette date
<span ng-show="reservationForm.myDatePickerInput.$invalid.required">Tell us your email.</span>
<span ng-show="reservationForm.quantiteInput.$invalid.minQuantity">This is not a valid email.</span>
</div>
<div class="form-group center">
<button type="submit" ng-disabled="!isValid" ng-click="showPrompt($event)" class="btn btn-primary btn-rounded form-control">Réserver</button>
</div>
</form>
<!--end form-filter-->
</div>
<!--end filter-->
</div>
<!--end sidebar-->
</div>
<!--end col-md-3-->
</div>
<!--end row-->
<div class="row">
<div class="col-md-9 col-sm-8">
<section id="reviews">
<div class="title">
<h2 class="pull-left">Reviews</h2>
<a href="#write-a-review" class="btn btn-primary btn-rounded pull-right scroll">Write a Review</a>
</div>
<h3>Overall Score</h3>
<ul class="rating-score">
<li class="overall"><i class="fa fa-star"></i>{{donneesAnnonce.UTILISATEUR.NOTE}}</li>
</ul>
<div class="reviews">
<div ng-repeat="avis in avisUtilisateurs" class="review">
<div class="row">
<div class="col-md-3">
<aside class="name">{{avis.UTILISATEUR_EMETTEUR.NOM}} {{avis.UTILISATEUR_EMETTEUR.PRENOM}}</aside>
<aside class="date">10.03.2015 TODO</aside>
</div>
<!--end col-md-3-->
<div class="col-md-9">
<div class="comment">
<div class="comment-title">
<figure class="rating">{{avis.NOTE}}</figure>
<h4>Very Good Hotel</h4>
</div>
<!--end title-->
<p>{{avis.COMMENTAIRE}}.
</p>
</div>
<!--end comment-->
</div>
<!--end col-md-9-->
</div>
<!--end row-->
</div>
<!--end review-->
</div>
<!--end reviews-->
</section>
<section id="write-a-review">
<h2>Write a Review</h2>
<form class="labels-uppercase clearfix" id="form_reply_1">
<div class="alert alert-dark fade in center" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close" data-switch="#review-write">
<span aria-hidden="true">×</span>
</button>
<span class="sr-only">Error:</span>
<a href="#tab-sign-in" data-toggle="modal" data-target="#sign-in-register-modal">Please Sign in to write a review</a>
</div>
<div class="review write switch" id="review-write">
<aside class="name">John Doe</aside>
<div class="comment">
<div class="row">
<div class="col-md-8">
<div class="comment-title">
<h4>Review Your Stay</h4>
</div>
<!--end title-->
<div class="form-group">
<label for="form_reply_1-name">Title of your review<em>*</em></label>
<input type="text" class="form-control" id="form_reply_1-name" name="name" placeholder="Beautiful holiday!" required="">
</div>
<div class="form-group">
<label for="form_reply_1-message">Your Answer<em>*</em></label>
<textarea class="form-control" id="form_reply_1-message" rows="8" name="answer" required="" placeholder="Describe your stay"></textarea>
</div>
<!--end form-group-->
<div class="form-group pull-right">
<button type="submit" class="btn btn-primary btn-rounded">Send Review</button>
</div>
<!--end form-group-->
</div>
<!--end col-md-8-->
<div class="col-md-4">
<div class="comment-title">
<h4>Rating</h4>
</div>
<!--end title-->
<dl class="visitor-rating">
<dt>Cleanliness</dt>
<dd class="star-rating active" data-name="cleanliness"></dd>
<dt>Comfort</dt>
<dd class="star-rating active" data-name="comfort"></dd>
<dt>Location</dt>
<dd class="star-rating active" data-name="location"></dd>
<dt>Facilities</dt>
<dd class="star-rating active" data-name="facilities"></dd>
<dt>Staff</dt>
<dd class="star-rating active" data-name="staff"></dd>
<dt>Value for money</dt>
<dd class="star-rating active" data-name="value"></dd>
</dl>
</div>
<!--end col-md-4-->
</div>
<!--end row-->
</div>
<!--end comment-->
</div>
<!--end review-->
</form>
<!--end form-->
</section>
</div>
</div>
</div>
<script>
var _latitude = 48.47292127;
var _longitude = 4.28672791;
var element = "map-item";
var useAjax = true;
bigMap(_latitude,_longitude, element, useAjax);
</script>
<!--end container-->