-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBooking.html
230 lines (165 loc) · 4.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body::after {
content: "";
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.2); /* This is a semi-transparent black background */
z-index: 0; /* This makes the pseudo-element appear on top of the video */
}
#bgvid {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1; /* This makes the video appear behind the content */
}
#content {
position: relative;
z-index: 1; /* This makes the content appear on top of the video */
}
header {
background-image: url('images/logo.jpg');
background-size: cover;
background-color: #333;
padding: 1rem;
display: flex;
justify-content: space-between;
align-items: center;
}
header .logo {
display: flex;
align-items: center;
}
header .logo img {
height: 3rem;
margin-right: 1rem;
border-radius: 10px;
}
header h1 {
color: #fff;
font-size: 1.5rem;
}
header nav {
display: flex;
align-items: center;
}
header nav ul {
list-style: none;
display: flex;
align-items: center;
}
header nav ul li {
margin-right: 1rem;
}
header nav ul li a {
color: #fff;
text-decoration: none;
}
form {
height: 600px;
width: 300px;
padding-top: 50px;
padding-left:550px; ;
}
label {
display: block;
margin-top: 10px;
font-size: xx-large;
color: black
}
input[type="number"],
input[type="date"],
input[type="time"] {
width: 100%;
padding: 5px;
margin-top: 5px;
}
button {
background-color: blue;
color: white;
border: none;
padding: 10px;
margin-top: 20px;
width: 100%;
}
</style>
</head>
<body>
<video autoplay loop muted id="bgvid">
<source src="images/route video.mp4" type="video/mp4">
</video>
<!-- the rest of your code... -->
<div id="content">
<header>
<div class="logo">
<img src="images/logo1.jpg" alt="Park PLAZA Logo">
<h1>PARK PLAZA</h1>
</div>
<nav>
<ul>
<li><a href="#">About</a></li>
<li><a href="login.html">Login</a></li>
<li><a href="signup.html">Sign Up</a></li>
</ul>
</nav>
</header>
<!-- <center><h2>Hourly Booking</h2></center> -->
<form class="form">
<label for="hours">number of hours:</label>
<input type="number" id="hours" name="hours" min="1" max="12" required />
<label for="time">Fix your time:</label>
<input type="time" id="time" name="time" required />
<label for="time">Start time:</label>
<input type="time" id="time" name="time" required />
<label for="time">End time:</label>
<input type="time" id="time" name="time" required />
<label for="date">Fix your date:</label>
<input type="date" id="date" name="date" required />
<label for="payment">Payment Method:</label>
<select name="paymentMethod" title="Payment Method">
<option value="upi">UPI ID</option>
<option value="debitCard">Debit Card</option>
<option value="creditCard">Credit Card</option>
<option value="phonePe">Phone PE</option>
<option value="gpay">Gpay</option>
</select>
<label for="location">Location:</label>
<input type="text" id="location" name="location" required />
<button type="submit" id="submitButton">Book</button>
</form>
</div>
<script>
document.getElementById('submitButton').addEventListener('click', function(event) {
event.preventDefault(); // prevent the form from submitting normally
// perform your actions here...
window.location.href = "Location.html";
});
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Booking Page</title>
<style>
/* Add some basic styling */
body {
font-family: Arial, sans-serif;
}
</style>
</head>
<body>
</body>
</html>