-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
269 lines (247 loc) · 10.6 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/bootstrap.css">
<link href="css/jquery-ui.css" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.2/css/all.css" integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
<link rel="stylesheet" href="plugins/OwlCarousel2-2.3.4/dist/assets/owl.carousel.min.css">
<link rel="stylesheet" href="plugins/OwlCarousel2-2.3.4/dist/assets/owl.theme.default.min.css">
<title>Kiwi Getaway</title>
</head>
<body>
<nav class="navbar navbar-dark bg-primary justify-content-center l-fern">
<div class="navbar-brand mb-0"><h1>Kiwi Getaway</h1></div>
</nav>
<div id="searchBar" class="row">
<div class="col">
<div class="banner-search">
<div class="banner-search-overlay">
<div class="row">
<div class="col-lg-4 col-sm-12 justify-content-center">
<div class="form-group">
<div class=" text-dark bg-white border border-primary rounded">
<select class="form-control place" id="city">
<option>Destination</option>
<option class="auckland">Auckland</option>
<option class="wellington">Wellington</option>
<option class="queenstown">Queenstown</option>
</select>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-12 justify-content-center">
<div class="form-group">
<div class=" text-dark bg-white border border-primary rounded">
<select class="form-control accommodation" id="accommodation">
<option>Accommodation Type</option>
<option class="hotel">Hotel</option>
<option class="motel">Motel</option>
<option class="house">House</option>
<option class="hostel">Hostel</option>
</select>
</div>
</div>
</div>
<div class="col-lg-4 col-sm-12 justify-content-center">
<div class="form-group">
<div class=" text-dark bg-white border border-primary rounded">
<select class="form-control travellers" id="travellers">
<option value="travellers">No. of travellers</option>
<option value="1" class="trv1">1</option>
<option value="2" class="trv2">2</option>
<option value="3" class="trv3">3</option>
<option value="4" class="trv4">4</option>
</select>
</div>
</div>
</div>
</div>
<div class="row pt-1">
<div class="col mt-2 mb-2 justify-content-center">
<input type="text" placeholder=" Check in date" id="datePicker1">
</div>
<div class="col mt-2 mb-2 justify-content-center">
<input type="text" placeholder=" Check out date" id="datePicker2">
</div>
<div class="col-12 col-lg mb-2">
<input type="submit" name="submit" value="Search" id="search" class="btn btn-lg btn-primary text-white"></div>
</div>
</div>
</div>
</div>
</div>
<!-- RESULTS PAGE -->
<div id="resultsPage" class="mb-4">
<h3 class="text-center mt-4 mt-b">Search Results</h3>
<div id="searchResults">
</div>
<div id="placeDetails" class="row equal mb-5">
</div>
</div>
<!-- CHECKOUT PAGE -->
<div id="checkoutPage">
<div class="container">
<div class="row">
<div class="col-lg-6 col-sm-12">
<div class="mb-4 mt-4 pt-4 pb-4 pr-4 pl-4 border border-primary rounded">
<h3 class="text-primary">Booking Summary</h3>
<span id="cost"></span>
</div>
</div>
</div>
</div>
<div class="container">
<h3>Meal Option</h3>
<div id="mealOption" class="row equal">
<div class="form-check">
<input class="form-check-input" type="radio" name="breakfast" id="breakfast1" value="option1">
<label class="form-check-label" for="breakfast1">
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="breakfast" id="breakfast2" value="option2">
<label class="form-check-label" for="breakfast2">
</label>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-6 col-sm-12 col-md-12 mt-4">
<div id="checkoutForm">
<h3 class="mb-4">Make your booking</h3>
<form id="contactForm">
<h5 class="mb-2">Full Name:</h5>
<input type="text" class="col-lg-8 col-md-12 col-sm-12 border border-primary rounded my-2" placeholder="Enter Full Name" id="nameInput"/>
<div id="nameError" class="errors"></div>
<h5>Email:</h5>
<input type="email" class="col-lg-8 col-md-12 col-sm-12 border border-primary rounded my-2" placeholder="Enter Email" id="emailInput"/>
<div id="emailError" class="errors"></div>
<h5>Phone Number:</h5>
<input type="number" class="col-lg-8 col-md-12 col-sm-12 border border-primary rounded my-2" placeholder=" Enter Phone Number" id="phoneInput">
<div id="phoneError" class="errors"></div>
<div class="float-right mb-5" >
<input type="submit" id="bookingSubmit" name="submit" value="Confirm Booking" class="btn btn-primary text-white pt-2">
<span id="bookingValid"></span>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
<!-- BOOKING CONFIRMED PAGE -->
<div id="confirmedPage">
<div class="container">
<div>
<div class="mb-5 mt-5 pt-4 pb-4 col-12 col-sm-12 border border-primary rounded text-center">
<h3 class="text-primary">Booking Confirmed</h3>
<p>Thank you for booking your stay with us, we look forward to your visit.<br>You can pay for your room on arrival with eftpos or credit card.
</p><br>
<button type="button" id="home" class="btn btn-primary text-white ">Make Another Booking</button>
</div><br>
</div>
</div>
</div>
<!-- MAP -->
<div id="map"> </div>
<!-- SLIDESHOW -->
<div id="slideshow">
<div class="owl-carousel owl-theme">
<div class="item"><img src="css/images/aucklandcity.jpg" alt="Auckland City landscape"></div>
<div class="item"><img src="css/images/Skywalk-Auckland.jpg" alt="woman on Skywalk Auckland"></div>
<div class="item"><img src="css/images/wellingtoncity.jpg" alt="Wellngton City landscape"></div>
<div class="item"><img src="css/images/wellingtonhobbiton.jpg" alt="Hobbiton in Wellington"></div>
<div class="item"><img src="css/images/queenstown.jpg" alt="Queenstown landscape"></div>
<div class="item"><img src="css/images/queenstownski.jpg" alt="Skiing in Queenstown"></div>
</div>
</div>
<!-- POP UP PAGE -->
<div id="accommPopUp" class="l-overlay">
<div class="l-overlay-content">
<div class="row">
<div class="col-12 col-lg-12 pb-1">
<div class="close-banner">
</div>
<div class="owl-carousel owl-theme">
<div class="item">
<img src="#" id="photo1" alt="accommodation exterior">
</div>
<div class="item">
<img src="#" id="photo2" alt="accommodation room">
</div>
</div>
</div>
</div>
<div class="pt-2 px-4 pb-4">
<div class="row">
<div class="col-12 col-lg-8">
<h3 id="name" class="text-left">#</h3>
</div>
<div class="col-12 col-lg-4">
<img src="#" id="stars" class="img-fluid float-lg-right" alt="stars">
</div>
</div>
<div class="row">
<div class="col-12 col-lg-6 pt-4">
<p id="description"></p>
</div>
<div class="col-12 col-lg-6">
<h4>Location</h4>
<p id="location"></p>
<h4>Address</h4>
<p id="address"></p>
</div>
</div>
<div class="row">
<div class="col-12 col-lg-6">
<h4>Amenities</h4>
<p id="amenities"></p>
</div>
<div class="col-12 col-lg-6">
<h4>Nearby</h4>
<p>Walking distance to:</p>
<div class="container">
<div class="row">
<div class="col-sm-9 col-10 list-unstyled">
<ul id="place" class="list-unstyled">
</ul>
</div>
<div class="col-sm-3 col-2 list-unstyled">
<ul id="walk" class="list-unstyled">
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="row pt-5">
<div class="col-12 col-lg-6 text-sm-center text-lg-left">
<h3 id="price">NZD </h3>
</div>
<div class="col-12 col-lg-6 text-sm-center">
<div id="reserve"></div>
</div>
</div>
</div>
<div id="close">
<i class="fas fa-times fa-2x"></i>
</div>
</div>
</div>
<!-- FOOTER -->
<footer class="navbar bg-secondary justify-content-center">
<div class="navbar-brand text-white"><p>Supported by Tourism New Zealand</p></div>
</footer>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAW3aCgBDekNn0L4XBT0rElBJovAQaWx-M&libraries=places"></script>
<script src="js/jquery-3.4.1.min.js"> </script>
<script src="plugins/OwlCarousel2-2.3.4/dist/owl.carousel.min.js"></script>
<script src="js/jquery-ui.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity="sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin="anonymous"></script>
<script src="js/bootstrap.js"> </script>
<script src="js/script.js"></script>
</body>
</html>