-
Notifications
You must be signed in to change notification settings - Fork 0
/
booking.html
321 lines (320 loc) · 16.2 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
<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">
<link rel="stylesheet" type="text/css" href="assets/css/nav_white.css">
<link rel="stylesheet" href="assets/css/booking.css">
<link rel="stylesheet" href="assets/css/splide-core.min.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins">
<title>Booking</title>
</head>
<body>
<!-- header section start -->
<header>
<div class="header_main">
<a href="index.html" class="header_logo">
<img class="light_logo" src="assets/images/logo.png">
<img class="dark_logo" src="assets/images/dark_logo.png">
</a>
<div class="header_items">
<div class="navbar_wrapper">
<a class="navbar_prog" href="our_programs.html">
Our Programs
</a>
<div class="navbar_hover">
<div class="navbar_desk">
<div class="nav_left"></div>
<div class="nav_right">
<a class="nav_1" href="lower_back_program.html"><p>Lower Back Program</p></a>
<a class="nav_2">
<p >Neck Program</p>
<span>Coming Soon</span>
</a>
<a class="nav_3">
<p>Hips Program</p>
<span>Coming Soon</span>
</a>
</div>
</div>
</div>
</div>
<a href="about.html">About</a>
<a href="contact_us.html">Contact Us</a>
</div>
<div class="header_icons">
<div class="icons icon_show">
<img src="assets/images/header1.svg">
<a href="#">
<img src="assets/images/cart.svg">
</a>
<img src="assets/images/contact.svg">
</div>
<div class="icons_hover">
<a href="landing.html"><img src="assets/images/header2.svg"></a>
<a href="#" class="icon_cart">
<img src="assets/images/cart1.svg">
<span>1</span>
</a>
<a ><img src="assets/images/contact1.svg"></a>
</div>
</div>
<div class="hamburger">
<img class="hamburger_btn" src="assets/images/hamburger_1.svg">
<div class="nav_mob">
<div class="mob_up">
<div><a href="index.html"><img src="assets/images/dark_logo.png"></a></div>
<div class="close"><img src="assets/images/close.svg"></div>
</div>
<div class="mob_down">
<div class="">
<div class="nav_our nav_pro">
<a href="our_programs.html">Our programs</a>
<div class="arrow_down"><img src="assets/images/arrow_up.svg"></div>
<div class="arrow_up"><img src="assets/images/arrow.svg"></div>
</div>
<div class="nav_our_detail">
<a class="nav_pro lower_back" href="lower_back_program.html">Lower Back Program</a>
<div class="nav_pro">
<a>Neck Program</a>
<span>Coming Soon</span>
</div>
<div class="nav_pro">
<a>Hips Program</a>
<span>Coming Soon</span>
</div>
</div>
</div>
<a class="nav_pro" href="about.html">About</a>
<a class="nav_pro" href="contact_us.html">Contact Us</a>
</div>
</div>
</div>
</div>
</header>
<main>
<div id="booking" class="tabcontent" style="display: block;">
<h4 class="h-1">Booking</h4>
<div class="stepper-wrapper">
<div class="stepper-item item-active">
<div class="step-counter">1</div>
<div class="step-name">Booking</div>
</div>
<div class="stepper-item">
<div class="step-counter">2</div>
<div class="step-name">Confirmation</div>
</div>
<div class="stepper-item">
<div class="step-counter">3</div>
<div class="step-name">Congrats</div>
</div>
</div>
<div class="container-1">
<div class="flex-1">
<div>
<div><p>November 2021</p></div>
<div><img src="assets/images/calendar-1.png" alt="" /></div>
</div>
</div>
<div class="splide calender-grid">
<div class="splide__arrows prev next">
<button id="prev" class="splide__arrow splide__arrow--prev"><img src="assets/images/arrow-right.png" alt="" /></button>
<button id="next" class="splide__arrow splide__arrow--next"><img src="assets/images/arrow-right.png" alt="" /></button>
</div>
<div class="splide__track">
<div id="content" class="splide__list">
<div class="splide__slide"><div class="date active"><p>tue</p><p>14</p></div></div>
<div class="splide__slide"><div class="date"><p>wed</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>thu</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>fri</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sat</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sun</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>mon</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>tue</p><p>14</p></div></div>
<div class="splide__slide"><div class="date"><p>wed</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>thu</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>fri</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sat</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sun</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>mon</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>tue</p><p>14</p></div></div>
<div class="splide__slide"><div class="date"><p>wed</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>thu</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>fri</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sat</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sun</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>mon</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>tue</p><p>14</p></div></div>
<div class="splide__slide"><div class="date"><p>wed</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>thu</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>fri</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sat</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sun</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>mon</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>tue</p><p>14</p></div></div>
<div class="splide__slide"><div class="date"><p>wed</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>thu</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>fri</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sat</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>sun</p><p>15</p></div></div>
<div class="splide__slide"><div class="date"><p>mon</p><p>15</p></div></div>
</div>
</div>
</div>
<p class="para-1">Tuesday 14 December</p>
<div class="flex-2">
<div><p>Morning</p></div>
<div>
<div class="box morning active">09:05</div>
<div class="box morning">10:45</div>
</div>
</div>
<div class="flex-2">
<div><p>Afternoon</p></div>
<div>
<div class="box afternoon">14:05</div>
<div class="box afternoon">14:30</div>
<div class="box afternoon">15:20</div>
</div>
</div>
<div class="flex-3">
<div><p class="para-1">Your consultation will take approximately 30 minutes</p></div>
<div><button class="tablinks" onclick="openTabs(event, 'confirmation')">Book time slot</button></div>
</div>
</div>
</div>
<div id="confirmation" class="tabcontent">
<h4 class="h-1">Cart</h4>
<div class="stepper-wrapper">
<div class="stepper-item item-completed">
<div class="step-counter">1</div>
<div class="step-name">Booking</div>
</div>
<div class="stepper-item item-active">
<div class="step-counter">2</div>
<div class="step-name">Confirmation</div>
</div>
<div class="stepper-item">
<div class="step-counter">3</div>
<div class="step-name">Congrats</div>
</div>
</div>
<div class="container-1">
<div class="flex-4">
<div><p>Virtual Consultation Details</p></div>
</div>
<div class="flex-5">
<div>
<img src="assets/images/icon-6.png" alt="" />
<p>23 October, 10:30</p>
</div>
<div>
<img src="assets/images/icon-7.png" alt="" />
<p>Dr Jane Doe</p>
</div>
<div>
<img src="assets/images/icon-5.png" alt="" />
<p>Lower Back</p>
</div>
</div>
<div class="flex-3">
<div><button class="tablinks" onclick="openTabs(event, 'booking')">Reschedule</button></div>
<div><button class="tablinks" onclick="openTabs(event, 'congrats')">Continue</button></div>
</div>
</div>
</div>
<div id="congrats" class="tabcontent">
<h4 class="h-1">Cart</h4>
<div class="stepper-wrapper">
<div class="stepper-item item-completed">
<div class="step-counter">1</div>
<div class="step-name">Booking</div>
</div>
<div class="stepper-item item-completed">
<div class="step-counter">2</div>
<div class="step-name">Confirmation</div>
</div>
<div class="stepper-item item-active">
<div class="step-counter">3</div>
<div class="step-name">Congrats</div>
</div>
</div>
<p class="para-2 text-center">Congratulations! You’ve just booked a consultation with our experts.</p>
<div class="flex-7">
<div><a href = "journey.html"><button>Go to Dashboard</button></a></div>
</div>
</div>
</main>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="assets/javascript/script_white.js"></script>
<script src="assets/javascript/splide.min.js"></script>
<script>
function openTabs(evt, cityName) {
var i, tabcontent;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
document.getElementById(cityName).style.display = "block";
}
</script>
<script>
var mornings = document.getElementsByClassName("morning");
var afternoons = document.getElementsByClassName("afternoon");
var dates = document.getElementsByClassName("date");
var content = document.getElementById("content");
for (var i = 0; i < mornings.length; i++) {
mornings[i].addEventListener("click", function() {
for (var j = 0; j < mornings.length; j++) {
mornings[j].classList.remove("active");
}
this.classList.toggle("active");
});
}
for (var i = 0; i < afternoons.length; i++) {
afternoons[i].addEventListener("click", function() {
for (var j = 0; j < afternoons.length; j++) {
afternoons[j].classList.remove("active");
}
this.classList.toggle("active");
});
}
for (var i = 0; i < dates.length; i++) {
dates[i].addEventListener("click", function() {
for (var j = 0; j < dates.length; j++) {
dates[j].classList.remove("active");
}
this.classList.toggle("active");
});
}
/* calendar start */
const days = ["sun", "mon", "tue", "wed", "thu", "fri", "sat"];
const today = new Date();
for (var i = 0; i < content.children.length; i++) {
let day = new Date();
let date = new Date();
day.setDate(today.getDate() + i);
date.setDate(today.getDate() + i);
dates[i].getElementsByTagName("P")[0].innerHTML = days[day.getDay()];
dates[i].getElementsByTagName("P")[1].innerHTML = date.getDate();
}
document.addEventListener( 'DOMContentLoaded', function() {
var splide = new Splide( '.splide', {
width: '75%',
perPage: 7,
pagination: false,
breakpoints: {
768: {
perPage: 4,
},
320: {
perPage: 1,
},
},
});
splide.mount();
});
/* calendar end */
</script>
</body>
</html>