-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
188 lines (185 loc) · 7.91 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
<!DOCTYPE html>
<html>
<head>
<title>Cake Factory</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Montserrat&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.2/css/all.min.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/style.css">
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top">
<div class="container">
<a class="navbar-brand" href="#">
<img src="logo.png" alt="logo" style="height: 100px;">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
<li class="nav-item m-2">
<a class="nav-link" href="about.html">About Us</a>
</li>
<li class="nav-item m-2">
<a class="nav-link" href="#" data-toggle="modal" data-target="#orderModal">Order Now</a>
</li>
</ul>
</div>
</div>
</nav>
<header>
<div id="carouselExampleIndicators" class="carousel slide carousel-fade" data-ride="carousel">
<!-- <ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol> -->
<div class="carousel-inner" role="listbox">
<div class="carousel-item active" style="background-image: url('assets/cake1.jpg')">
<div class="carousel-caption">
<h2 class="display-4">Juicy</h2>
<p class="lead">Our cake is full with juiciness.</p>
</div>
</div>
<div class="carousel-item" style="background-image: url('assets/cake2.jpg')">
<div class="carousel-caption">
<h2 class="display-4">Chocolaty</h2>
<p class="lead">Cake without chocolate is a waste.</p>
</div>
</div>
<div class="carousel-item" style="background-image: url('assets/cake3.jpg')">
<div class="carousel-caption">
<h2 class="display-4">Tasty</h2>
<p class="lead">Sweetness is the real truth of tastiness.</p>
</div>
</div>
</div>
<!-- <a class="carousel-control-prev" href="#carouselExampleIndicators" 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="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a> -->
</div>
</header>
<div class="modal fade" id="orderModal">
<div class="modal-dialog modal-xl modal-dialog-centered">
<div class="modal-content">
<form action="order.php" method="POST">
<div class="modal-header">
<h4 class="modal-title">Make your order</h4>
</div>
<div class="modal-body">
<h5>Choose cake:</h5>
<br>
<div class="row justify-content-center">
<div class="col-2">
<h5 class="text-center">Cake 1</h5>
<label class="radio-img">
<input type="radio" name="cost" value="300" required >
<img src="assets/cake4.jpg" class="img-fluid">
</label>
<h6 class="text-center mt-2"><i class="fas fa-rupee-sign"></i> 300 (per kg)</h6>
</div>
<div class="col-2">
<h5 class="text-center">Cake 2</h5>
<label class="radio-img">
<input type="radio" name="cost" value="400" required >
<img src="assets/cake5.jpg" class="img-fluid">
</label>
<h6 class="text-center mt-2"><i class="fas fa-rupee-sign"></i> 400 (per kg)</h6>
</div>
<div class="col-2">
<h5 class="text-center">Cake 3</h5>
<label class="radio-img">
<input type="radio" name="cost" value="500" required >
<img src="assets/cake6.jpg" class="img-fluid">
</label>
<h6 class="text-center mt-2"><i class="fas fa-rupee-sign"></i> 500 (per kg)</h6>
</div>
<div class="col-2">
<h5 class="text-center">Cake 4</h5>
<label class="radio-img">
<input type="radio" name="cost" value="600" required >
<img src="assets/cake7.jpg" class="img-fluid">
</label>
<h6 class="text-center mt-2"><i class="fas fa-rupee-sign"></i> 600 (per kg)</h6>
</div>
<div class="col-2">
<h5 class="text-center">Cake 5</h5>
<label class="radio-img">
<input type="radio" name="cost" value="700" required >
<img src="assets/cake8.jpg" class="img-fluid">
</label>
<h6 class="text-center mt-2"><i class="fas fa-rupee-sign"></i> 700 (per kg)</h6>
</div>
</div>
<br>
<h5>Select weight:</h5>
<br>
<div class="row justify-content-center">
<div class="col-2">
<label class="radio-img">
<input type="radio" name="weight" value="0.5" required >
<div class="rounded-circle bg-dark text-white p-5">
<h6 class="text-center mt-2">0.5 Kg</h6>
</div>
</label>
</div>
<div class="col-2">
<label class="radio-img">
<input type="radio" name="weight" value="1" required >
<div class="rounded-circle bg-dark text-white p-5">
<h6 class="text-center mt-2">1 Kg</h6>
</div>
</label>
</div>
<div class="col-2">
<label class="radio-img">
<input type="radio" name="weight" value="2" required >
<div class="rounded-circle bg-dark text-white p-5">
<h6 class="text-center mt-2">2 Kg</h6>
</div>
</label>
</div>
<div class="col-2">
<label class="radio-img">
<input type="radio" name="weight" value="3" required >
<div class="rounded-circle bg-dark text-white p-5">
<h6 class="text-center mt-2">3 Kg</h6>
</div>
</label>
</div>
<div class="col-2">
<label class="radio-img">
<input type="radio" name="weight" value="5" required >
<div class="rounded-circle bg-dark text-white p-5">
<h6 class="text-center mt-2">5 Kg</h6>
</div>
</label>
</div>
</div>
</div>
<div class="modal-footer">
<h5 class="mr-auto">Total Amount: <i class="fas fa-rupee-sign"></i> <input type="number" name="total" id="total" class="border-0"></h5>
<button type="submit" class="btn btn-success" disabled>Place Order</button>
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
</div>
</form>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.bundle.min.js"></script>
<script src="assets/main.js"></script>
</body>
</html>