-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBooked.html
More file actions
269 lines (233 loc) · 6.39 KB
/
Booked.html
File metadata and controls
269 lines (233 loc) · 6.39 KB
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">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Booked Rooms</title>
<link rel="stylesheet" href="style.css">
<style>
#booking-form {
background: white;
padding: 30px;
border-radius: 10px;
max-width: 600px;
margin: 20px auto;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.form-group {
margin-bottom: 20px;
display: flex;
flex-direction: column;
}
.form-group label {
font-weight: 600;
margin-bottom: 8px;
color: #333;
}
.form-group input,
.form-group select {
padding: 12px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 14px;
font-family: inherit;
}
.form-group input:focus,
.form-group select:focus {
outline: none;
border-color: #1c367e;
box-shadow: 0 0 5px rgba(28, 54, 126, 0.3);
}
.form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
}
#bookBtn {
padding: 12px 30px;
background: linear-gradient(135deg, #76f6ff, #1c367e);
color: white;
border: none;
border-radius: 5px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
}
#bookBtn:hover {
transform: scale(1.05);
box-shadow: 0 5px 15px rgba(28, 54, 126, 0.3);
}
#bookBtn:disabled {
opacity: 0.5;
cursor: not-allowed;
}
#booked-rooms {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}
.booked-card {
background: white;
border-radius: 8px;
padding: 20px;
box-shadow: 0 2px 8px rgba(0,0,0,0.1);
border-left: 5px solid #76f6ff;
}
.booked-card h3 {
color: #1c367e;
margin-bottom: 15px;
}
.booking-info {
margin: 10px 0;
color: #666;
}
.booking-info strong {
color: #333;
}
.cancel-booking {
padding: 8px 15px;
background: #ff4444;
color: white;
border: none;
border-radius: 5px;
cursor: pointer;
margin-top: 15px;
transition: 0.3s;
}
.cancel-booking:hover {
background: #cc0000;
}
.empty-message {
text-align: center;
padding: 40px 20px;
color: #999;
font-size: 18px;
}
.success-message {
background: #4caf50;
color: white;
padding: 15px;
border-radius: 5px;
margin: 20px;
text-align: center;
}
body.dark-mode #booking-form,
body.dark-mode .booked-card {
background-color: #1e1e1e;
color: #ddd;
}
body.dark-mode .form-group label {
color: #e0e0e0;
}
body.dark-mode .form-group input,
body.dark-mode .form-group select {
background-color: #2a2a2a;
color: #e0e0e0;
border-color: #444;
}
body.dark-mode .booking-info {
color: #bbb;
}
body.dark-mode .booking-info strong {
color: #e0e0e0;
}
@media (max-width: 768px) {
.form-row {
grid-template-columns: 1fr;
}
#booking-form {
padding: 20px;
margin: 20px 10px;
}
.booked-card {
padding: 15px;
}
}
</style>
</head>
<body>
<header>
<div id="Logo-Div">
<img id="Logo" src="images/itStep.jpg" alt="itstep">
</div>
<nav>
<button id="burgerBtn">☰</button>
<ul id="Nav-Bar">
<li><a href="index.html">Home</a></li>
<li><a href="Rooms.html">Rooms</a></li>
<li><a href="Hotels.html">Hotels</a></li>
<li><a href="Booked.html">Booked Rooms</a></li>
<li style="display: flex; align-items: center; gap: 8px;">
<img src="images/terryadavis.jpg"
alt="tarry davis"
style="width: 50px; height: 50px; border-radius: 50%; object-fit: cover;">
<a href="ai.html">სტაჟიორი თედო</a>
</li>
<li id="auth-link-container"></li>
</ul>
</nav>
<button id="darkModeBtn">🌙 Dark Mode</button>
</header>
<!-- Main Content -->
<main>
<!-- Booking Form -->
<div id="booking-form">
<h2>ოთახის დაჯავშნა</h2>
<div class="form-group">
<label for="roomSelect">აირჩიეთ ოთახი *</label>
<select id="roomSelect" required>
<option value="">-- აირჩიეთ ოთახი --</option>
</select>
</div>
<div class="form-row">
<div class="form-group">
<label for="checkInDate">შესვლის თარიღი *</label>
<input type="date" id="checkInDate" required>
</div>
<div class="form-group">
<label for="checkOutDate">გასვლის თარიღი *</label>
<input type="date" id="checkOutDate" required>
</div>
</div>
<div class="form-row">
<div class="form-group">
<label for="clientName">კლიენტის სახელი *</label>
<input type="text" id="clientName" placeholder="სახელი" required>
</div>
<div class="form-group">
<label for="clientPhone">ტელეფონის ნომერი *</label>
<input type="tel" id="clientPhone" placeholder="+995 XXX XXX XXX" required>
</div>
</div>
<div class="form-group">
<label for="clientEmail">ელ-ფოსტა</label>
<input type="email" id="clientEmail" placeholder="example@mail.com">
</div>
<button id="bookBtn">დაჯავშნა</button>
</div>
<!-- Booked Rooms Section -->
<section>
<h2 style="text-align: center; margin-top: 40px; margin-bottom: 30px;">დაჯავშნული ოთახები</h2>
<div id="booked-rooms"></div>
</section>
</main>
<!-- Footer -->
<footer>
<div id="footer-content">
<p>© 2026 Luxury Hotels. All rights reserved.</p>
<ul id="footer-links">
<li><a href="index.html">Home</a></li>
<li><a href="Rooms.html">Rooms</a></li>
<li><a href="Hotels.html">Hotels</a></li>
<li><a href="Booked.html">Booked Rooms</a></li>
</ul>
</div>
</footer>
<script src="auth.js"></script>
<script src="booked.js"></script>
</body>
</html>