-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbooking.html
357 lines (345 loc) · 18.9 KB
/
booking.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
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description"
content="Book one of our special events or a group tour. Maybe you want to join one of our social clubs or apply for internship or to volunteer. If you do this is the page you are looking for">
<script>
(function (d) {
var config = {
kitId: 'rvx8jyl',
scriptTimeout: 3000,
async: true
},
h = d.documentElement, t = setTimeout(function () { h.className = h.className.replace(/\bwf-loading\b/g, "") + " wf-inactive"; }, config.scriptTimeout), tk = d.createElement("script"), f = false, s = d.getElementsByTagName("script")[0], a; h.className += " wf-loading"; tk.src = 'https://use.typekit.net/' + config.kitId + '.js'; tk.async = true; tk.onload = tk.onreadystatechange = function () { a = this.readyState; if (f || a && a != "complete" && a != "loaded") return; f = true; clearTimeout(t); try { Typekit.load(config) } catch (e) { } }; s.parentNode.insertBefore(tk, s)
})(document);
</script>
<link rel="stylesheet" href="https://use.typekit.net/wsq8tcu.css">
<link href="styles/global.css" rel="stylesheet">
<link href="styles/booking.css" rel="stylesheet">
<link href="styles/variables.css" rel="stylesheet">
<script src="https://kit.fontawesome.com/591f5bf3d7.js" crossorigin="anonymous"></script>
<title>Community Science Museum | Booking and application</title>
</head>
<body>
<header>
<nav>
<a href="index.html" class="logo-container">
<div>
<img src="images/Logo.png" alt="the community science museum logo" class="logo">
</div>
<p class="motto">"Explore together"</p>
</a>
<div class="nav-icon-container">
<div class="search-button-container">
<i class="fas fa-search activate-search-menu"></i></label>
</div>
<div>
<label for="dropdown-menu" class="hamburger-menu"><i class="fas fa-bars"></i></label>
<input type="checkbox" id="dropdown-menu">
<section class="site-navigation">
<div class="site-navigation-border">
<a href="about.html">
<p class="site-navigation-text">About us</p>
</a>
</div>
<div class="site-navigation-border">
<a href="events.html">
<p class="site-navigation-text">Events</p>
</a>
</div>
<div class="site-navigation-border">
<a href="explore.html">
<p class="site-navigation-text">Explore</p>
</a>
</div>
<div class="site-navigation-border">
<a href="exhibits.html">
<p class="site-navigation-text">Exhibits</p>
</a>
</div>
<div class="site-navigation-border">
<a href="involved.html">
<p class="site-navigation-text">Get involved</p>
</a>
</div>
<div class="site-navigation-border">
<a href="visit.html">
<p class="site-navigation-text">Visit us</p>
</a>
</div>
<div class="site-navigation-border current-container">
<a href="booking.html">
<p class="booking-text-span site-navigation-text current">
<span>Booking and</span>
<span>application</span>
</p>
</a>
</div>
</section>
</div>
</div>
</nav>
</header>
<main>
<section class="welcome-section">
<div class="section-image-container">
<img src="images/michal-matlon-0fcNFNZ6sBY-unsplash-scaled.jpg"
alt="An exhibit pf large balls placed around the troom and hanging from the ceiling"
class="section-image">
</div>
</section>
<section class="standard-section light-green-container">
<div class="section-subcontainer">
<h1>Booking and Application</h1>
<div id="special-event-success-message"></div>
<div id="booking-success-message"></div>
<div id="join-club-success-message"></div>
<div id="involved-success-message"></div>
<div>
<h2>Special events</h2>
<form id="special-event-form" action="" method="POST">
<div class="booking-container">
<div class="booking-subcontainer">
<label for="name">Name</label>
<input id="name" type="name" placeholder="Name.." name="name" alt="name"
class="searchbar booking-large">
<p id="special-event-name-errorMessage" class="errorMessage">Please enter a your name
</p>
</div>
<div class="booking-subcontainer">
<label for="email">Email</label>
<input id="email" type="email" placeholder="Email.." name="email" alt="email"
class="searchbar booking-large">
<p id="special-event-email-errorMessage" class="errorMessage">Please enter a valid Email
</p>
</div>
</div>
<p>Number of persons</p>
<div class="side-by-side-container">
<div class="booking-subcontainer person-container">
<label for="adults">Adults</label>
<input id="adults" type="number" placeholder="0" name="adults" alt="adults"
class="searchbar booking-small">
</div>
<div class="booking-subcontainer person-container">
<label for="children">Children</label>
<input id="children" type="number" placeholder="0" name="children" alt="children"
class="searchbar booking-small">
</div>
</div>
<p id="special-event-persons-errorMessage" class="errorMessage">Please select how many
people the booking is for
</p>
<div class="booking-events-container">
<div>
<h3>Visiting Professor of Aeronatutics</h3>
<input type="checkbox" name="date" value="24.05" id="date-1"><label for="date-1"
class="dates date-1">24.05</label>
<input type="checkbox" name="date" value="26.05" id="date-2"><label for="date-2"
class="dates date-2">26.05</label>
<input type="checkbox" name="date" value="28.05" id="date-3"><label for="date-3"
class="dates date-3">28.05</label>
</div>
<div>
<h3 class="info-heading">Night in the Museum</h3>
<input type="checkbox" name="date" value="29.05" id="date-4"><label for="date-4"
class="dates date-4">29.05</label>
<input type="checkbox" name="date" value="05.06" id="date-5"><label for="date-5"
class="dates date-5">05.06</label>
<input type="checkbox" name="date" value="12.06" id="date-6"><label for="date-6"
class="dates date-6">12.06</label>
</div>
</div>
<p id="special-event-date-errorMessage" class="errorMessage">Please select a date for one or
more events
</p>
<div class="right-button-container booking-events-button">
<button class="button" id="special-event-btn">Book now</button>
</div>
</form>
</div>
<div>
<h2>Groups</h2>
<form id="booking-form" action="group_tour.php" method="POST">
<div class="booking-container">
<div class="booking-subcontainer">
<label for="name2">Name</label>
<input id="name2" type="name" placeholder="Name.." name="name" alt="name"
class="searchbar booking-large">
<p id="booking-name-errorMessage" class="errorMessage">Please enter a your name
</p>
</div>
<div class="booking-subcontainer">
<label for="email2">Email</label>
<input id="email2" type="email" placeholder="Email.." name="email" alt="email"
class="searchbar booking-large">
<p id="booking-email-errorMessage" class="errorMessage">Please enter a your Email
</p>
</div>
</div>
<p>Number of persons</p>
<div class="side-by-side-container">
<div class="booking-subcontainer person-container">
<label for="adults2">Adults</label>
<input id="adults2" type="number" placeholder="0" name="adults" alt="adults"
class="searchbar booking-small">
</div>
<div class="booking-subcontainer person-container">
<label for="children2">Children</label>
<input id="children2" type="number" placeholder="0" name="children" alt="children"
class="searchbar booking-small">
</div>
<p id="booking-persons-errorMessage" class="errorMessage">Please select how many
people the booking is for
</p>
</div>
<p>Select a date</p>
<div class="booking-subcontainer">
<label for="calender">Calender</label>
<input id="calender" type="date" name="calender" alt="calender"
class="searchbar booking-large">
<p id="booking-date-errorMessage" class="errorMessage">Please select a date for your group
visit
</p>
</div>
<div class="right-button-container">
<button class="button" id="booking-btn">Book now</button>
</div>
</form>
</div>
<div>
<h2>Join our clubs</h2>
<form id="joing-club-form" action="club.php" method="POST">
<div class="booking-container">
<div class="booking-subcontainer">
<label for="name3">Name</label>
<input id="name3" type="name" placeholder="Name.." name="name" alt="name"
class="searchbar booking-large">
<p id="join-club-name-errorMessage" class="errorMessage">Please enter a your name
</p>
</div>
<div class="booking-subcontainer">
<label for="email3">Email</label>
<input id="email3" type="email" placeholder="Email.." name="email" alt="email"
class="searchbar booking-large">
<p id="join-club-email-errorMessage" class="errorMessage">Please enter a valid Email
</p>
</div>
</div>
<p>I want to join the:</p>
<div class="join-apply-container">
<input type="checkbox" name="club" value="young star club" id="young-star-club"><label
for="young-star-club" class="join-apply-checkbox young-star-club">Young Star
Club</label>
<input type="checkbox" name="club" value="holiday club" id="holiday-club"><label
for="holiday-club" class="join-apply-checkbox holiday-club">Holiday Club</label>
</div>
<p id="join-club-select-errorMessage" class="errorMessage">Please choose one or more
clubs to join
</p>
<div class="right-button-container booking-events-button">
<button class="button" id="join-btn">Join now</button>
</div>
</form>
</div>
<div>
<h2>Get involved</h2>
<form id="involved-form" action="involved.php" method="POST">
<div class="booking-container">
<div class="booking-subcontainer">
<label for="name4">Name</label>
<input id="name4" type="name" placeholder="Name.." name="name" alt="name"
class="searchbar booking-large">
<p id="involved-name-errorMessage" class="errorMessage">Please enter a your name
</p>
</div>
<div class="booking-subcontainer">
<label for="email4">Email</label>
<input id="email4" type="email" placeholder="Email.." name="email" alt="email"
class="searchbar booking-large">
<p id="involved-email-errorMessage" class="errorMessage">Please enter a valid Email
</p>
</div>
</div>
<p>I want to:</p>
<div class="join-apply-container">
<input type="checkbox" name="involved" value="volunteer" id="volunteer"><label
for="volunteer" class="join-apply-checkbox volunteer">Volunteer</label>
<input type="checkbox" name="involved" value="internship" id="internship"><label
for="internship" class="join-apply-checkbox internship">Internship</label>
</div>
<p id="involved-select-errorMessage" class="errorMessage">Please choose what you want to
apply for
</p>
<div class="right-button-container booking-events-button">
<button class="button" id="involved-btn">Apply now</button>
</div>
</form>
</div>
</section>
<section class="standard-section home-button-section">
<div class="right-button-container">
<a href="index.html"><button class="button home-button">Home</button></a>
</div>
</section>
</main>
<footer>
<div class="footer-container">
<section class="hours-section">
<div>
<p class="footer-heading">Opening Hours:</p>
</div>
<div>
<p class="hours-text">
Mon: Closed
</p>
<p class="hours-text">
Tue: 10:00 – 16:00
</p>
<p class="hours-text">
Wed: 10:00 – 16:00
</p>
<p class="hours-text">
Thu: 10:00 – 16:00
</p>
<p class="hours-text">
Fri: 10:00 – 19:00
</p>
<p class="hours-text">
Sat: 9:00 – 16:00
</p>
<p class="hours-text">
Sun: 9:00 – 13:00
</p>
</div>
</section>
<section class="address-section">
<div>
<p class="footer-heading">Address and Contact</p>
</div>
<div class="address-info">
<i class="fas fa-map-pin" alt="map pin"></i>
<p class="address-text">Folke Bernadottes vei 40, 5147 Fyllingsdalen.</p>
</div>
<div class="address-info">
<i class="fas fa-envelope" alt="envelope"></i>
<a href="">
<p class="address-text">[email protected]</p>
</a>
</div>
<div class="address-info">
<i class="fas fa-phone-alt" alt="telephone"></i>
<a href="">
<p class="address-text">(+47) 999 99 999</p>
</a>
</div>
</section>
</div>
</footer>
<script src="js/script.js"></script>
<script src="js/booking.js"></script>
</body>
</html>