-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
355 lines (331 loc) · 17.2 KB
/
index.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
<!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">
<title>Pizza 365 Index</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
<!-- Custom CSS and JS -->
<link rel="stylesheet" href="data/style.css">
<script src="data/script.js"></script>
<!-- Font Awesome 5-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css">
</head>
<body>
<!-- Khu vực thanh điều hướng -->
<div class="container-fluid">
<div class="row col-sm-12 font-weight-bold">
<nav class="navbar navbar-expand-lg navbar-light bg-light fixed-top">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavAltMarkup"
aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav nav-fill w-100 bg-warning">
<a class="nav-item nav-link active" href="#">Trang chủ <span
class="sr-only">(current)</span></a>
<a class="nav-item nav-link" href="#comboRegion">Combo</a>
<a class="nav-item nav-link" href="#pizzaTypeRegion">Loại Pizza</a>
<a class="nav-item nav-link" href="#sendOrderRegion">Gửi đơn hàng</a>
</div>
</div>
</nav>
</div>
</div>
<!-- Khu vực carousel slide -->
<div class="container">
<div class="col-sm-12 my-5">
<h1 class="text-warning text-uppercase">pizza 365</h1>
<em class="text-warning text-capitalize font-weight-bold">trully italian!</em>
</div>
<div id="pizza365-slide" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#pizza365-slide" data-slide-to="0" class="active"></li>
<li data-target="#pizza365-slide" data-slide-to="1"></li>
<li data-target="#pizza365-slide" data-slide-to="2"></li>
<li data-target="#pizza365-slide" data-slide-to="3"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="carousel-item active">
<img src="data/images/1.jpg" class="d-block w-100" alt="First slide">
</div>
<div class="carousel-item">
<img src="data/images/2.jpg" class="d-block w-100" alt="Second slide">
</div>
<div class="carousel-item">
<img src="data/images/3.jpg" class="d-block w-100" alt="Third slide">
</div>
<div class="carousel-item">
<img src="data/images/4.jpg" class="d-block w-100" alt="Fourth slide">
</div>
</div>
<a class="carousel-control-prev" href="#pizza365-slide" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#pizza365-slide" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
<!-- Khu vực giới thiệu -->
<div class="container mt-3">
<h1 class="text-warning text-center mt-5">Tại sao lại Pizza 365</h1>
<hr class="bg-warning hr-50">
<div class="card-group">
<div class="card border-warning">
<div class="card-body bg-lightgolden">
<h4 class="card-title">Đa dạng</h4>
<p class="card-text">Số lượng pizza đang dạng, có đầy đủ các loại pizza đang hot nhất hiện nay.</p>
</div>
</div>
<div class="card border-warning">
<div class="card-body bg-yellow">
<h4 class="card-title">Chất lượng</h4>
<p class="card-text">Nguyên liệu sạch 100% rõ nguồn gốc, quy trình chế biển đảm bảo vệ sinh an toàn
thực phẩm</p>
</div>
</div>
<div class="card border-warning">
<div class="card-body bg-lightsalmon">
<h4 class="card-title">Hương vị</h4>
<p class="card-text">Đảm bảo hương vị ngon, độc, lạ mà bạn chỉ có thể trải nghiệm từ Pizza 365</p>
</div>
</div>
<div class="card border-warning">
<div class="card-body bg-warning">
<h4 class="card-title">Dịch vụ</h4>
<p class="card-text">Nhân viên thân thiện, nhà hàng hiện đại. Dịch vụ giao hàng nhanh, chất lượng
tân tiến</p>
</div>
</div>
</div>
</div>
<!-- Khu vực kích cỡ combo pizza -->
<div class="container mt-5" id="comboRegion">
<h1 class="text-center text-warning mt-5">Chọn size Pizza</h1>
<hr class="bg-warning hr-50">
<p class="text-warning text-center">Chọn combo pizza phù hợp với bạn</p>
<div class="row form-group">
<div class="col-sm">
<div class="card border-warning mb-3 text-center">
<div class="card-header bg-warning border-warning">
<h2>S (small)</h2>
</div>
<div class="card-body">
<p class="card-text">Đường kính: <strong>20cm</strong></p>
<hr>
<p class="card-text">Sườn nướng: <strong>2</strong></p>
<hr>
<p class="card-text">Salad: <strong>200g</strong></p>
<hr>
<p class="card-text">Nước ngọt: <strong>2</strong></p>
<hr>
<h1 class="card-title">150.000</h1>
<p>VNĐ</p>
</div>
<div class="card-footer bg-light border-warning"><button class="btn btn-warning w-100"
id="btn-combo-s">Chọn</button>
</div>
</div>
</div>
<div class="col-sm">
<div class="card border-warning mb-3 text-center">
<div class="card-header bg-warning border-warning">
<h2>M (medium)</h2>
</div>
<div class="card-body">
<p class="card-text">Đường kính: <strong>25cm</strong></p>
<hr>
<p class="card-text">Sườn nướng: <strong>4</strong></p>
<hr>
<p class="card-text">Salad: <strong>300g</strong></p>
<hr>
<p class="card-text">Nước ngọt: <strong>3</strong></p>
<hr>
<h1 class="card-title">200.000</h1>
<p>VNĐ</p>
</div>
<div class="card-footer bg-light border-warning"><button class="btn btn-warning w-100"
id="btn-combo-m">Chọn</button>
</div>
</div>
</div>
<div class="col-sm">
<div class="card border-warning mb-3 text-center">
<div class="card-header bg-warning border-warning">
<h2>L (large)</h2>
</div>
<div class="card-body">
<p class="card-text">Đường kính: <strong>30cm</strong></p>
<hr>
<p class="card-text">Sườn nướng: <strong>8</strong></p>
<hr>
<p class="card-text">Salad: <strong>500g</strong></p>
<hr>
<p class="card-text">Nước ngọt: <strong>4</strong></p>
<hr>
<h1 class="card-title">250.000</h1>
<p>VNĐ</p>
</div>
<div class="card-footer bg-light border-warning"><button class="btn btn-warning w-100"
id="btn-combo-l">Chọn</button>
</div>
</div>
</div>
</div>
</div>
<!-- Khu vực chọn loại pizza -->
<div class="container mt-5" id="pizzaTypeRegion">
<h1 class="text-center text-warning">Chọn loại Pizza</h1>
<hr class="bg-warning hr-50">
<div class="row form-group">
<div class="col-sm-4">
<div class="card">
<img src="data/images/seafood.jpg" alt="ocean-mania" class="card-img-top">
<div class="card-body">
<h4 class="card-title text-uppercase">ocean mania</h4>
<p class="card-text text-uppercase">pizza hải sản xốt mayonnaise</p>
<p class="card-text text-capitalize">Xốt cà chua, phô mai mozzarella, tôm, mực, thanh cua, hành
tây.
</p>
<button class="btn btn-warning text-center w-100" id="btn-seafood">Chọn</button>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card">
<img src="data/images/hawaiian.jpg" alt="hawaiian" class="card-img-top">
<div class="card-body">
<h4 class="card-title text-uppercase">hawaiian</h4>
<p class="card-text text-uppercase">pizza dăm bông dứa kiểu hawaii</p>
<p class="card-text text-capitalize">Xốt cà chua, phô mai mozzarella, thịt dăm bông, thơm.
</p>
<button class="btn btn-warning text-center w-100" id="btn-hawaii">Chọn</button>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card">
<img src="data/images/bacon.jpg" alt="bacon" class=" card-img-top">
<div class="card-body">
<h4 class="card-title text-uppercase">cheesy chicken bacon</h4>
<p class="card-text text-uppercase">pizza gà phô mai thịt heo xông khói</p>
<p class="card-text text-capitalize">Xốt phô mai, thịt gà, thịt heo muối, phô mai mozzarella, cà
chua.
</p>
<button class="btn btn-warning text-center w-100" id="btn-bacon">Chọn</button>
</div>
</div>
</div>
</div>
</div>
<!-- Khu vực chọn loại đồ uống -->
<div class="container mt-5 form-group">
<h1 class="text-warning text-center">Chọn đồ uống</h1>
<hr class="bg-warning hr-30">
<select name="loaiDoUong" id="idLoaiDoUong" class="form-control">
<option value="0">Tất cả loại nước uống</option>
</select>
</div>
<!-- Khu vực gửi đơn hàng -->
<div class="container my-5" id="sendOrderRegion">
<h1 class="text-warning text-center">Gửi đơn hàng</h1>
<hr class="bg-warning hr-30">
<form class="form-group" id="formOrder">
<div class="row">
<label for="hoTen">Tên:</label>
<input type="text" name="hoTen" id="hoTen" class="form-control">
<label for="email">Email:</label>
<input type="text" name="email" id="email" class="form-control">
<label for="soDienThoai">Số điện thoại:</label>
<input type="text" name="soDienThoai" id="soDienThoai" class="form-control">
<label for="diaChi">Địa chỉ:</label>
<input type="text" name="diaChi" id="diaChi" class="form-control">
<label for="maGiamGia">Mã giảm giá:</label>
<input type="text" name="maGiamGia" id="maGiamGia" class="form-control">
<label for="loiNhan">Lời nhắn:</label>
<input type="text" name="loiNhan" id="loiNhan" class="form-control">
</div>
</form>
<button class="btn btn-warning w-100" id="btn-send-order">Gửi</button>
</div>
</body>
<!-- Khu vực footer -->
<footer class="card-footer bg-warning text-center">
<div class="container-fluid">
<div class="my-4">
<h5>Footer</h5>
<button class="btn btn-dark" id="btn-scroll-top"><i class="fas fa-arrow-up"></i> To the top</button>
</div>
<span><i class="fab fa-facebook"></i> <i class="fab fa-instagram" aria-hidden="true"></i> <i
class="fab fa-snapchat"></i> <i class="fab fa-pinterest"></i> <i class="fab fa-twitter"></i> <i
class="fab fa-linkedin"></i></span>
</div>
<span class="text-center font-weight-bold mt-2"><i class="far fa-copyright"></i> Powered by DEVCAMP</span>
</footer>
</html>
<!-- Modal thông tin đơn đặt hàng -->
<div class="modal fade" id="modalOrderInfo" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Thông tin đơn hàng</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<div class="container">
<div class="row form-group">
<label for="hoTenModalOrder">Họ và tên</label>
<input type="text" name="hoTenModalOrder" id="hoTenModalOrder" class="form-control" disabled>
<label for="soDienThoaiModalOrder">Số điện thoại</label>
<input type="text" name="soDienThoaiModalOrder" id="soDienThoaiModalOrder" class="form-control"
disabled>
<label for="diaChiModalOrder">Địa chỉ</label>
<input type="text" name="diaChiModalOrder" id="diaChiModalOrder" class="form-control" disabled>
<label for="loiNhanModalOrder">Lời nhắn</label>
<input type="text" name="loiNhanModalOrder" id="loiNhanModalOrder" class="form-control"
disabled>
<label for="maGiamGiaModalOrder">Mã giảm giá</label>
<input type="text" name="maGiamGiaModalOrder" id="maGiamGiaModalOrder" class="form-control"
disabled>
<label for="detailsModalOrder">Thông tin chi tiết</label>
<textarea name="detailsModalOrder" id="detailsModalOrder" class="form-control" rows="5"
disabled></textarea>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Quay
lại</button>
<button type="button" class="btn btn-warning" id="btn-modal-create-order">Tạo đơn</button>
</div>
</div>
</div>
</div>
<!-- Modal thông báo mã đơn hàng -->
<div class="modal fade" id="modalSuccess" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-xl" role="document">
<div class="modal-content">
<div class="modal-body bg-warning border-dark border-10">
<div class="container-fluid">
<h2>Cảm ơn bạn đã đặt hàng tại Pizza 365. Mã đơn hàng của bạn là:</h2>
<div class="row text-center">
<label for="modalOrderSuccess" class="col-form-label col-sm-4">Mã đơn hàng: </label>
<div class="col-sm-8">
<input type="text" name="modalOrderSuccess" id="modalOrderSuccess" class="form-control"
disabled>
</div>
</div>
</div>
</div>
</div>
</div>
</div>