-
Notifications
You must be signed in to change notification settings - Fork 0
/
booking.html
137 lines (132 loc) · 11.7 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
<!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">
<link rel="stylesheet" href="styles/booking_style.css">
<link rel="icon" type="image/png" href="images/Logo.png" />
<link rel="stylesheet" href="styles/loading.css">
<title>Booking</title>
</head>
<body>
<div class="loading-page" style="position: fixed;">
<h1>Loading
<div class="dots">
<span class="dot z"></span>
<span class="dot f"></span>
<span class="dot s"></span>
<span class="dot t">
<span class="dot l"></span>
</span>
</div>
</h1>
</div>
<img alt="background" style="position: fixed; z-index: -1;opacity: 0.3;height: 100%; width: 100%;" src="images/bg.jpg" class="bg">
<div id="header">
<div id="header-title">Book your class</div>
</div>
<div id="container">
<div class="timeslot">
<div class="choose-timing-text">Choose your timing</div>
<div style="color: red; text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.11);">Note: You can only choose time slots within two weeks</div>
<div class="timeslot-box">
<div class="time-slot-title"><span style="color: #348200;position: relative; top: 5px; left: 15px; font-size: 25px;">Available Time Slots</span></div>
<div class="slot-box">
<table class="time-slot-table">
<tr>
<th class="slotHead">Sunday<br>07-02</th>
<th class="slotHead">Monday<br>08-02</th>
<th class="slotHead">Tuesday<br>09-02</th>
<th class="slotHead">Wednesday<br>10-02</th>
<th class="slotHead">Thursday<br>11-02</th>
<th class="slotHead">Friday<br>12-02</th>
<th class="slotHead">Saturday<br>13-02</th>
</tr>
<tr>
<td class="td"><div style="border-left: none;" class="slots"></div></td>
<td class="td"><div class="slots"></div></td>
<td class="td"><div class="slots"></div></td>
<td class="td"><div class="slots"></div></td>
<td class="td"><div class="slots"></div></td>
<td class="td"><div class="slots"></div></td>
<td class="td"><div style="border-right: none;" class="slots"></div></td>
</tr>
</table>
</div>
</div>
<div style="display: flex; justify-content: space-between;">
<svg id="left-button" class="date-button"xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="59" height="65" viewBox="0 0 59 65">
<defs>
<filter id="Polygon_1" x="0" y="0" width="59" height="65" filterUnits="userSpaceOnUse">
<feOffset dx="5" dy="5" input="SourceAlpha"/>
<feGaussianBlur stdDeviation="3" result="blur"/>
<feFlood flood-opacity="0.161"/>
<feComposite operator="in" in2="blur"/>
<feComposite in="SourceGraphic"/>
</filter>
</defs>
<g transform="matrix(1, 0, 0, 1, 0, 0)" filter="url(#Polygon_1)">
<g id="Polygon_1-2" data-name="Polygon 1" transform="translate(4 51) rotate(-90)" fill="#fff">
<path d="M 41.82263946533203 39.5 L 5.177360057830811 39.5 C 4.397140026092529 39.5 4.009819984436035 38.9769287109375 3.879509925842285 38.75204086303711 C 3.749200105667114 38.52714920043945 3.487989902496338 37.93099975585938 3.875979900360107 37.25408935546875 L 22.19861030578613 5.286930561065674 C 22.58871078491211 4.606320381164551 23.23866081237793 4.532840251922607 23.5 4.532840251922607 C 23.76132965087891 4.532840251922607 24.41127967834473 4.606320381164551 24.8013801574707 5.286930561065674 L 43.12403106689453 37.25408935546875 C 43.51202011108398 37.93099212646484 43.25080871582031 38.52714157104492 43.12049865722656 38.75202941894531 C 42.99018859863281 38.9769287109375 42.60285949707031 39.5 41.82263946533203 39.5 Z" stroke="none"/>
<path d="M 23.49999046325684 6.032840728759766 L 23.49999046325684 6.032840728759766 C 23.49999046325684 6.032840728759766 23.49999046325684 6.032840728759766 23.49999046325684 6.032840728759766 L 5.177360534667969 38 L 41.82263946533203 38 L 23.49999046325684 6.032840728759766 M 23.49999809265137 3.032844543457031 C 24.51324081420898 3.032844543457031 25.52647972106934 3.535564422607422 26.10276985168457 4.541011810302734 L 44.42541122436523 36.50817108154297 C 45.57175064086914 38.50815200805664 44.12784957885742 41 41.82263946533203 41 L 5.177360534667969 41 C 2.872150421142578 41 1.428249359130859 38.50815200805664 2.574588775634766 36.50817108154297 L 20.89722061157227 4.541011810302734 C 21.47351455688477 3.535564422607422 22.48675727844238 3.032844543457031 23.49999809265137 3.032844543457031 Z" stroke="none" fill="#707070"/>
</g>
</g>
</svg>
<svg id="right-button" class="date-button" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="59" height="65" viewBox="0 0 59 65">
<defs>
<filter id="Polygon_2" x="0" y="0" width="59" height="65" filterUnits="userSpaceOnUse">
<feOffset dx="5" dy="5" input="SourceAlpha"/>
<feGaussianBlur stdDeviation="3" result="blur"/>
<feFlood flood-opacity="0.161"/>
<feComposite operator="in" in2="blur"/>
<feComposite in="SourceGraphic"/>
</filter>
</defs>
<g transform="matrix(1, 0, 0, 1, 0, 0)" filter="url(#Polygon_2)">
<g id="Polygon_2-2" data-name="Polygon 2" transform="translate(45 4) rotate(90)" fill="#fff">
<path d="M 41.82263946533203 39.5 L 5.177360057830811 39.5 C 4.397140026092529 39.5 4.009819984436035 38.9769287109375 3.879509925842285 38.75204086303711 C 3.749200105667114 38.52714920043945 3.487989902496338 37.93099975585938 3.875979900360107 37.25408935546875 L 22.19861030578613 5.286930561065674 C 22.58871078491211 4.606320381164551 23.23866081237793 4.532840251922607 23.5 4.532840251922607 C 23.76132965087891 4.532840251922607 24.41127967834473 4.606320381164551 24.8013801574707 5.286930561065674 L 43.12403106689453 37.25408935546875 C 43.51202011108398 37.93099212646484 43.25080871582031 38.52714157104492 43.12049865722656 38.75202941894531 C 42.99018859863281 38.9769287109375 42.60285949707031 39.5 41.82263946533203 39.5 Z" stroke="none"/>
<path d="M 23.49999046325684 6.032840728759766 L 23.49999046325684 6.032840728759766 C 23.49999046325684 6.032840728759766 23.49999046325684 6.032840728759766 23.49999046325684 6.032840728759766 L 5.177360534667969 38 L 41.82263946533203 38 L 23.49999046325684 6.032840728759766 M 23.49999809265137 3.032844543457031 C 24.51324081420898 3.032844543457031 25.52647972106934 3.535564422607422 26.10276985168457 4.541011810302734 L 44.42541122436523 36.50817108154297 C 45.57175064086914 38.50815200805664 44.12784957885742 41 41.82263946533203 41 L 5.177360534667969 41 C 2.872150421142578 41 1.428249359130859 38.50815200805664 2.574588775634766 36.50817108154297 L 20.89722061157227 4.541011810302734 C 21.47351455688477 3.535564422607422 22.48675727844238 3.032844543457031 23.49999809265137 3.032844543457031 Z" stroke="none" fill="#707070"/>
</g>
</g>
</svg>
</div>
</div>
<div class="bill-box" style="display: flex; align-items: center;">
<div>
<div class="choose-timing-text" style="text-align: center;">Chosen slots</div>
<div id="chosen-slots-box">
</div>
</div>
<div style="display: flex; align-items: center; flex-direction: column;">
<table style="width: 300px;">
<tr class="bill-text-left">
<td class="bill-text-left">Total chosen slots</th>
<td>:</td>
<td class="numbers" id="numbers">0</td>
</tr>
<tr>
<td class="bill-text-left"><b>Total amount(₱)</b></td>
<td>:</td>
<td class="numbers" id="amount"><b>₱ 0.00</b></td>
</tr>
</table>
<button id="pay-button" class="pay-button" type="button">Pay</button>
<div style="display: flex; align-items: center; margin-top: 15px; color: #22b47e;">
Powered by
<a href="https://www.paymongo.com/" target="_blank">
<svg xmlns="http://www.w3.org/2000/svg" height="20" id="Layer_1" data-name="Layer 1" viewBox="0 0 173.69 30">
<defs>
<style>.cls-1,.cls-2{fill:#22b47e;}.cls-1{fill-rule:evenodd;}</style>
</defs>
<path class="cls-1" d="M30,15A15,15,0,0,1,16.17,30,24.25,24.25,0,0,1,15,22.53V18.79a9.36,9.36,0,0,0,3.75,7.49,15,15,0,0,0,4.54-5C26.92,14.86,20.61,5.92,15,1.87c-5.61,4-11.93,13-8.3,19.43a15,15,0,0,0,7,6.37L13.32,30A15,15,0,1,1,30,15Z" transform="translate(0)"/>
<path class="cls-2" d="M41.24,15.22a7.36,7.36,0,1,1,7.34,7.37,5.73,5.73,0,0,1-4.51-2.06v7.54H41.24Zm7.34,4.65a4.55,4.55,0,0,0,4.57-4.65,4.57,4.57,0,1,0-9.14,0,4.58,4.58,0,0,0,4.57,4.66Zm16.16,2.71a7.37,7.37,0,1,1,7.34-7.4v7.18h-2.8V20.1a5.09,5.09,0,0,1-4.54,2.49Zm0-2.71a4.52,4.52,0,0,0,4.54-4.65,4.5,4.5,0,0,0-4.54-4.65,4.55,4.55,0,0,0-4.6,4.65,4.58,4.58,0,0,0,4.6,4.66Zm15.59,8.19a6.36,6.36,0,0,1-6.08-4.42h3.14a3.25,3.25,0,0,0,2.94,1.71A3.22,3.22,0,0,0,83.82,22v-.77a4.71,4.71,0,0,1-3.46,1.37c-3.65,0-6.28-2.2-6.28-7V8.08h2.8v7.51c0,2.91,1.26,4.28,3.48,4.28s3.49-1.34,3.49-4.11V8.08h2.79V21.64a6.17,6.17,0,0,1-6.28,6.43ZM104.44,7.85c3.57,0,6.2,2.2,6.2,7v7.51h-2.8V14.85c0-2.92-1.23-4.29-3.4-4.29s-3.4,1.37-3.4,4.29v7.51H98.25V14.85c0-2.92-1.23-4.29-3.4-4.29s-3.4,1.37-3.4,4.29v7.51h-2.8V14.85c0-4.8,2.63-7,6.2-7a5.13,5.13,0,0,1,4.79,2.66A5.14,5.14,0,0,1,104.44,7.85Zm15.14,0a7.37,7.37,0,1,1-7.37,7.37h0a7.35,7.35,0,0,1,7.33-7.37h0Zm0,2.71a4.56,4.56,0,0,0-4.6,4.66,4.57,4.57,0,1,0,9.14,0,4.52,4.52,0,0,0-4.55-4.66Zm21.47,11.8h-2.8V14.85c0-2.92-1.25-4.29-3.48-4.29s-3.49,1.37-3.49,4.29v7.51h-2.8V14.85c0-4.8,2.63-7,6.28-7s6.29,2.2,6.29,7ZM150,28.07a7.36,7.36,0,0,1-6.75-4.43h3.37A4.19,4.19,0,0,0,150,25.36c2.46,0,4.52-1.6,4.52-4V20.7A6.34,6.34,0,0,1,150,22.59a7.37,7.37,0,1,1,7.37-7.37h0V20.7a7.35,7.35,0,0,1-7.33,7.37Zm0-8.19a4.52,4.52,0,0,0,4.54-4.65A4.51,4.51,0,0,0,150,10.57a4.56,4.56,0,0,0-4.59,4.66A4.57,4.57,0,0,0,150,19.88Zm16.29-12a7.36,7.36,0,1,1-.05,0h.05Zm0,2.72a4.54,4.54,0,0,0-4.59,4.65,4.57,4.57,0,0,0,4.59,4.65,4.52,4.52,0,0,0,4.54-4.65,4.51,4.51,0,0,0-4.54-4.66Z" transform="translate(0)"/>
</svg>
</a>
</div>
</div>
</div>
</div>
<script type="module" src="scripts/booking.js"></script>
</body>
</html>