-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
339 lines (328 loc) · 19 KB
/
index.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
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Hotels</title>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="node_modules/handlebars/dist/handlebars.min.js"></script>
<link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.css" />
<link rel="stylesheet" href="node_modules/bootstrap-datepicker/dist/css/bootstrap-datepicker.css" />
<link rel="stylesheet" type="text/css" href="style/styleIcons.css">
<link rel="stylesheet" type="text/css" href="style/style.css">
<link rel="stylesheet" type="text/css" href="style/loginForm.css">
</head>
<body>
<div class="container-fluid">
<header>
<div class="headerUp">
<img id="logo" src="images/logo.png" alt="trivago logo">
<div class="dropdown">
<button class="btn btn-default dropdown-toggle myProfile" type="button" data-toggle="dropdown">Моят профил<span class="caret"></span></button>
<ul class="dropdown-menu">
<li id="login"><a href="#">Вход</a></li>
<li id="register"><a href="#">Регистрация</a></li>
</ul>
</div>
<div id="logged">
<img src="images/user_icon.png" alt="user"><span id="userShowName">
</div>
<div id="logged-in-dropdown-menu">
<ul>
<li id="favourites">Favourites</li>
<li id="logout">Logout</li>
</ul>
</div>
<!-- close .dropdown-->
<div class="form-group currency">
<select class="form-control currency" id="currency">
<option value="bgn" selected >BGN</option>
<option value="eur">EUR</option>
</select>
</div>
</div>
<!-- close .headerUp-->
<div class="headerDown">
<div class="row">
<h1 class="findBestHotel">Намерете идеалния хотел на най-добрата цена</h1>
<div class="col-sm-8">
<input type="text" class="form-control form-control1" placeholder="🔍 Search">
</div>
<!-- close .col-sm-8 -->
<div class="col-sm-4 ">
<button type="submit" class="btn btn-default searchHeader">🔍</button>
</div>
</div>
<div class="row">
<div class="buttonsHeader">
<div class="col-sm-3 ">
<div class="input-group date date1" data-provide="datepicker">
<input type="text" class="form-control firstDate" value="">
<div class="input-group-addon">
<span class="glyphicon glyphicon-th"></span>
</div>
</div>
</div>
<div class="col-sm-3 ">
<div class="input-group date date2" data-provide="datepicker">
<input type="text" class="form-control secondDate" value="">
<div class="input-group-addon">
<span class="glyphicon glyphicon-th"></span>
</div>
</div>
</div>
<div class="col-sm-3 ">
<div class="form-group">
<select class="form-control" id="sel1">
<option value="singleRoom">Единична стая</option>
<option value="doubleRoom" selected>Двойна стая</option>
<option value="familyRoom">Семейна стая</option>
<option value="multipleRooms">Апартамент</option>
</select>
</div>
</div>
</div>
</div>
<!-- close .buttonsHeader -->
</div>
<!-- close .headerDown -->
<div id="id01" class="modal">
<form class="modal-content animate">
<div class="imgcontainer">
<span class="close closeLog" title="Close Modal">×</span>
<img src="images/img_avatar2.png" alt="Avatar" class="avatar">
</div>
<div class="container">
<label><b>Потребител</b></label>
<input id="userValue" type="text" placeholder="Потребител" name="uname" required>
<label><b>Парола</b></label>
<input id="passwordValue" type="password" placeholder="Парола" name="psw" required>
<p id="infoSuccess"> </p>
<button id="logButton" type="button">Вход</button>
</div>
</form>
</div>
<!--close div #id01 -->
<div id="id02" class="modal">
<form class="modal-content animate">
<div class="imgcontainer">
<span class="close closeReg" title="Close Modal">×</span>
<img src="images/img_avatar2.png" alt="Avatar" class="avatar">
</div>
<div class="container">
<label><b>Потребител</b></label>
<input id="username" type="text" placeholder="Потребител" name="uname" required>
<label><b>Парола</b></label>
<input id="password" type="password" placeholder="Парола" name="psw" required>
<label><b>Е-мейл</b></label>
<input id="email" type="email" placeholder="Е-мейл" name="email" required>
<p id="failReg"> </p>
<button id="registerButton" type="button">Регистрация</button>
</div>
</form>
</div>
<!--close div #id02 -->
</header>
<div class="container containerMain">
<main>
<div class="row">
<div class="showFilters">
<button class="btn btn-default showFiltersBtn" type="button"> <span class="btnTextFilters">Покажи филтрите</span></button>
</div>
<section class="col-sm-3 sidenav">
<article class="mapArticle">
<div class="btnMap">
<button class="btn btn-default showMapBtn" type="button">Отиди към картата</button>
</div>
</article>
<article class="filterArticle">
<div class="buttons">
<button id="topFiltersBtn" type="button" class="btn btn-default">Топ филтри</button>
<button id="moreFiltersBtn" type="button" class="btn btn-default ">Още филтри</button>
</div>
<!-- close .btn-group -->
<div class="topFilters">
<div class="category">
<h3 class="filterHeading"> Категория </h3>
<button type="button" id="oneStar" title="1 Звезда" class="btn btn-default btnStars firstBtn">1<span class="star">✯</span></button>
<button type="button" id="twoStars" title="2 Звезди" class="btn btn-default btnStars">2<span class="star">✯</span></button>
<button type="button" id="threeStars" title="3 Звезди" class="btn btn-default btnStars">3<span class="star">✯</span></button>
<button type="button" id="fourStars" title="4 Звезди" class="btn btn-default btnStars">4<span class="star">✯</span></button>
<button type="button" id="fiveStars" title="5 Звезди" class="btn btn-default btnStars">5<span class="star">✯</span></button>
</div>
<!-- close .category -->
<div class="rating">
<h3 class="filterHeading"> Оценка </h3>
<button type="button" id="zero" class="btn btn-default ratingBtn firstBtn"><span class="btnText">0+</span></button>
<button type="button" id="twenty" class="btn btn-default ratingBtn"><span class="btnText">20+</span></button>
<button type="button" id="fourthy" class="btn btn-default ratingBtn"><span class="btnText">40+</span></button>
<button type="button" id="sixty" class="btn btn-default ratingBtn"><span class="btnText">60+</span></button>
<button type="button" id="eighty" class="btn btn-default ratingBtn"><span class="btnText">80+</span></button>
</div>
<!-- close .rating -->
<div class="price">
<h3 class="filterHeading">Цена</h3>
<p class="currentRange"> </p>
<p class="minRange">20лв </p>
<p class="maxRange">1000лв </p>
<input id="rangePrice" class="range" type="range" min="20" max="1000">
<!-- <input type="checkbox" id="available"> Покажи само наличните хотели <br>
<input type="checkbox" id="topOfferts"> Покажи Топ Оферти <br> -->
</div>
<!-- close .price -->
<div class="facilities">
<h3 class="filterHeading"> Топ удобства </h3>
<button type="button" id="spa" class="btn facilities btn-default firstBtn"title="Спа"></button>
<button type="button" id="beach" class="btn facilities btn-default "title="Плаж"></button>
<button type="button" id="wiFi" class="btn facilities btn-default "title="Безплатен Wi-fi"></button>
<button type="button" id="breakfast" class="btn facilities btn-default "title="Закуска"></button>
<button type="button" id="swimmingPool" class="btn facilities btn-default "title="Басейн"></button>
</div>
<!-- close .facilities -->
<div class="searchByName">
<h3 class="filterHeading">Търсене по име на хотел</h3>
<form class="navbar-form navbar-left" role="search">
<div class="formSearch">
<input type="text" id="searchByName" class="form-control" placeholder="Search">
<button id="searchByNameButton" type="button" class="btn btn-default">🔍</button>
</div>
</form>
</div>
<!-- close .searchByName -->
</div>
<div class="moreFilters">
<div class="hotelskiUslugi">
<h3 id="HOTELSKI_USLUGI" data-toggle="collapse" data-target="#demo1">Хотелски услуги</h3>
<ul id="demo1" class="collapse">
</ul>
</div>
<div class="tipNastanavqne">
<h3 id="TIP_NASTANQVANE" data-toggle="collapse" data-target="#demo2">Тип настаняване</h3>
<ul id="demo2" class="collapse">
</ul>
</div>
<div class="patuvashtiSDeca">
<h3 id="PATUVASHTI_S_DECA" data-toggle="collapse" data-target="#demo3">Пътуващи с деца</h3>
<ul id="demo3" class="collapse">
</ul>
</div>
<div class="wellnessSpa">
<h3 id="WELLNESS_SPA" data-toggle="collapse" data-target="#demo4">Уелнес/СПА</h3>
<ul id="demo4" class="collapse">
</ul>
</div>
<div class="numberOfRooms">
<h3 id="NUMBER_OF_ROOMS" data-toggle="collapse" data-target="#demo5">Брой стаи</h3>
<ul id="demo5" class="collapse">
</ul>
</div>
<div class="udobstvaVyvStaqta">
<h3 id="UDOBSTVA_VYV_STAQTA" data-toggle="collapse" data-target="#demo6">Удобства в стаята</h3>
<ul id="demo6" class="collapse">
</ul>
</div>
<div class="sportEquipment">
<h3 id="SPORT_EQUIPMENT" data-toggle="collapse" data-target="#demo7">Спортни съоръжения</h3>
<ul id="demo7" class="collapse">
</ul>
</div>
<div class="hotelProfile">
<h3 id="HOTEL_PROFILE" data-toggle="collapse" data-target="#demo8">Хотелски профил</h3>
<ul id="demo8" class="collapse">
</ul>
</div>
<div class="podhodqshtZa">
<h3 id="PODHODQSHT_ZA" data-toggle="collapse" data-target="#demo9">Подходящ за</h3>
<ul id="demo9" class="collapse">
</ul>
</div>
<div class="dostypnost">
<h3 id="DOSTYPNOST" data-toggle="collapse" data-target="#demo10">Достъпност</h3>
<ul id="demo10" class="collapse">
</ul>
</div>
</div>
<!-- close .topFilters -->
<div class="deleteFilters">
<button type="button" class="btn btn-default deleteFiltersBtn">Премахни всички филтри</button>
</div>
</article>
</section>
<!-- close .sidenav -->
<div class="col-sm-9 center">
<div class="showDate row">
<div class="col-sm-6">
<p>Настаняване : <span class="firstDateSpan"></span></p>
</div>
<div class="col-sm-6">
<p>Напускане : <span class="secondDateSpan"></span></p>
</div>
</div>
<div id="hotelsContainer">
</div>
<div id="mapGoogle">
<div id="googleMap" style="width:100%;height:500px;"></div>
</div>
</div>
<!-- close .center -->
</div>
<!-- close .row -->
</main>
</div>
<!-- close .container -->
<footer>
<section class="footerUp">
<h4> Желаете да получавате ексклузивни оферти? Абонирайте се за нашия бюлетин!</h4>
<div class="centered">
<input type="text" name="email" value="" placeholder="И-мейл адрес">
<button type="button" class="btn btn-default">Абонирай се</button>
</div>
<hr>
</section>
<section class="footerMiddle">
<p> <strong>trivago N.V.</strong>, Bennigsen-Platz 1, 40474 Дюселдорф, Германия </p>
<div class="text-center center-block">
<br />
<a href="https://www.facebook.com/trivago"><i id="social-fb" class="fa fa-facebook-square fa-3x social"></i></a>
<a href="https://twitter.com/trivago"><i id="social-tw" class="fa fa-twitter-square fa-3x social"></i></a>
<a href="https://plus.google.com/+trivago"><i id="social-gp" class="fa fa-google-plus-square fa-3x social"></i></a>
<a href="mailto:[email protected]"><i id="social-em" class="fa fa-envelope-square fa-3x social"></i></a>
</div>
</section>
<section class="row footerDown">
<div class="left col-sm-4">
<p><a href="#">Компания</a></p>
<p><a href="#">Кариера</a></p>
<p><a href="#">Свободни позиции</a></p>
<p><a href="#">Пресцентър</a></p>
<p><a href="#">Помощен център</a></p>
<p><a href="#">Investor Relations</a></p>
</div>
<div class="middle col-sm-4">
<p><a href="#">Моб. приложения - търсене в движение</a></p>
<p><a href="#">trivago Hotel Manager - за хотелиери</a></p>
</div>
<div class="right col-sm-4">
<p><a href="#">Условия за ползване</a></p>
<p><a href="#">Правна информация</a></p>
<p><a href="#">Защита на данните</a></p>
<p><a href="#">Карта на сайта</a></p>
<p><a href="#">Политика за "бисквитките"</a></p>
</div>
</section>
<section class="lastSection">
<h1>trivago</h1>
<p>Авторски права 2017 trivago | Всички права запазени.</p>
</section>
</footer>
</div>
<!-- close .container-fluid -->
<script src="scripts/hotelsService.js"></script>
<script src="scripts/hotelsController.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAo_OaKZZsy_aNPB5ljFE2uGTydvW3mUcw&callback=myMap"></script>
</body>
</html>