-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
333 lines (327 loc) · 16.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" type="image/png" href="img/logo.png">
<title>CaloCal - Shopping the Healthy Way</title>
<!-- Slick Slider -->
<link rel="stylesheet" type="text/css" href="vendor/slick/slick.min.css"/>
<link rel="stylesheet" type="text/css" href="vendor/slick/slick-theme.min.css"/>
<!-- Icofont Icon-->
<link href="vendor/icons/icofont.min.css" rel="stylesheet" type="text/css">
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
<!-- Sidebar CSS -->
<link href="vendor/sidebar/demo.css" rel="stylesheet">
</head>
<body class="fixed-bottom-padding">
<!-- home page -->
<div class="osahan-home-page">
<div class="border-bottom p-3">
<div class="title d-flex align-items-center"> <a href="home.html" class="text-decoration-none text-dark d-flex align-items-center"> <img src="img/logo.png" width="100" height="40" class="osahan-logo mr-2"> </a>
<p class="ml-auto m-0"> <a href="notification.html" class="text-decoration-none bg-white p-1 rounded shadow-sm d-flex align-items-center"> <i class="text-dark icofont-notification"></i> <span class="badge badge-danger p-1 ml-1 small">3</span> </a> </p>
<a class="toggle ml-3" href="#"><i class="icofont-navigation-menu"></i></a> </div>
<div class="row"> <a href="search.html" class="text-decoration-none column cleft">
<div class="input-group mt-3 rounded shadow-sm overflow-hidden bg-white">
<div class="input-group-prepend">
<button class="border-0 btn btn-outline-secondary text-success bg-white"><i class="icofont-search"></i></button>
</div>
<input type="text" class="shadow-none border-0 form-control pl-0" placeholder="Search for Grocery.." aria-label="" aria-describedby="basic-addon1">
</div>
</a> <a href="#" class="text-decoration-none column cright">
<div class="input-group mt-3 rounded shadow-sm overflow-hidden bg-white">
<div class="input-group-prepend">
<button class="border-0 btn btn-outline-secondary text-success bg-white" onclick="openSelect('#imgupload')"><i class="icofont-qr-code"></i></button>
<input type="file" id="imgupload" style="display:none"/>
</div>
<!-- Modal -->
<div class="modal fade" id="brscan" tabindex="-1" role="dialog" aria-labelledby="groceryname" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="grocerynametitle">Product Details</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="table-responsive-sm">
<table>
<tbody>
<tr>
<th scope="row">Product Name:</th>
<td class="font-weight-bold">Chilli</td>
</tr>
<tr>
<th scope="row">Calories:</th>
<td class="font-weight-bold">28 Cal /100 kg</td>
</tr>
<tr>
<th scope="row">Product Image</th>
<td><img src="img/listing/chilli.jpg" class="img-fluid item-img w-100 mb-3"></td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary" id="addi">Add to List</button>
</div>
</div>
</div>
</div>
</div>
</a> </div>
<!-- body -->
<div class="osahan-body">
<!-- categories -->
<div class="p-3 osahan-categories">
<h6 class="mb-2">What are you looking for?</h6>
<div class="row m-0">
<div class="col pl-0 pr-1 py-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/1.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Vegetables</p>
</a> </div>
</div>
<div class="col p-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/2.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Fruits</p>
</a> </div>
</div>
<div class="col p-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/3.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Meat</p>
</a> </div>
</div>
<div class="col pr-0 pl-1 py-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/4.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Seafood</p>
</a> </div>
</div>
</div>
<div class="row m-0">
<div class="col pl-0 pr-1 py-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/5.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Milk & Egg</p>
</a> </div>
</div>
<div class="col p-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/6.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Bread</p>
</a> </div>
</div>
<div class="col p-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/7.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Frozen</p>
</a> </div>
</div>
<div class="col pr-0 pl-1 py-1">
<div class="bg-white shadow-sm rounded text-center px-2 py-3 c-it"> <a href="listing.html"> <img src="img/categorie/8.svg" class="img-fluid px-2">
<p class="m-0 pt-2 text-muted text-center">Organic</p>
</a> </div>
</div>
</div>
</div>
<!-- Promos -->
<!--div class="py-3 bg-white osahan-promos shadow-sm">
<div class="d-flex align-items-center px-3 mb-2">
<h6 class="m-0">Promos for you</h6>
<a href="promos.html" class="ml-auto text-success">See more</a>
</div>
<div class="promo-slider">
<div class="osahan-slider-item m-2">
<a href="promo_details.html"><img src="img/promo1.jpg" class="img-fluid mx-auto rounded" alt="Responsive image"></a>
</div>
<div class="osahan-slider-item m-2">
<a href="promo_details.html"><img src="img/promo2.jpg" class="img-fluid mx-auto rounded" alt="Responsive image"></a>
</div>
<div class="osahan-slider-item m-2">
<a href="promo_details.html"><img src="img/promo3.jpg" class="img-fluid mx-auto rounded" alt="Responsive image"></a>
</div>
</div>
</div-->
<!-- Pick's Today -->
<div class="title d-flex align-items-center mb-3 mt-3 px-3">
<h6 class="m-0">Pick's Today</h6>
<a class="ml-auto text-success" href="picks_today.html">See more</a> </div>
<!-- pick today -->
<div class="pick_today px-3">
<div class="row">
<div class="col-6 pr-2">
<div class="list-card bg-white h-100 rounded overflow-hidden position-relative shadow-sm">
<div class="list-card-image"> <a href="chilli_product_details.html" class="text-dark">
<div class="p-3"> <img src="img/listing/chilli.jpg" class="img-fluid item-img w-100 mb-3">
<h6>Chilli</h6>
<div class="d-flex align-items-center">
<h6 class="price m-0 text-success">28 Cal /100 kg</h6>
<a href="cart.html" class="btn btn-success btn-sm ml-auto">+</a> </div>
</div>
</a> </div>
</div>
</div>
<div class="col-6 pl-2">
<div class="list-card bg-white h-100 rounded overflow-hidden position-relative shadow-sm">
<div class="list-card-image"> <a href="onion_product_details.html" class="text-dark">
<div class="p-3"> <img src="img/listing/onion.jpg" class="img-fluid item-img w-100 mb-3">
<h6>Onion</h6>
<div class="d-flex align-items-center">
<h6 class="price m-0 text-success">28 Cal /100 kg</h6>
<a href="cart.html" class="btn btn-success btn-sm ml-auto">+</a> </div>
</div>
</a> </div>
</div>
</div>
</div>
<div class="row pt-3">
<div class="col-6 pr-2">
<div class="list-card bg-white h-100 rounded overflow-hidden position-relative shadow-sm">
<div class="list-card-image"> <a href="tomato_product_details.html" class="text-dark">
<div class="p-3"> <img src="img/listing/tomato.jpg" class="img-fluid item-img w-100 mb-3">
<h6>Tomato</h6>
<div class="d-flex align-items-center">
<h6 class="price m-0 text-success">16 Cal /100 kg</h6>
<a href="cart.html" class="btn btn-success btn-sm ml-auto">+</a> </div>
</div>
</a> </div>
</div>
</div>
<div class="col-6 pl-2">
<div class="list-card bg-white h-100 rounded overflow-hidden position-relative shadow-sm">
<div class="list-card-image"> <a href="cabbage_product_details.html" class="text-dark">
<div class="p-3"> <img src="img/listing/cabbage.jpg" class="img-fluid item-img w-100 mb-3">
<h6>Cabbage</h6>
<div class="d-flex align-items-center">
<h6 class="price m-0 text-success">21 Cal /100 kg</h6>
<a href="cart.html" class="btn btn-success btn-sm ml-auto">+</a> </div>
</div>
</a> </div>
</div>
</div>
</div>
<div class="row pt-3">
<div class="col-6 pr-2">
<div class="list-card bg-white h-100 rounded overflow-hidden position-relative shadow-sm">
<div class="list-card-image"> <a href="cabbage_product_details.html" class="text-dark">
<div class="p-3"> <img src="img/listing/cauliflower.jpg" class="img-fluid item-img w-100 mb-3">
<h6>Cauliflower</h6>
<div class="d-flex align-items-center">
<h6 class="price m-0 text-success">28 Cal /100 kg</h6>
<a href="cart.html" class="btn btn-success btn-sm ml-auto">+</a> </div>
</div>
</a> </div>
</div>
</div>
<div class="col-6 pl-2">
<div class="list-card bg-white h-100 rounded overflow-hidden position-relative shadow-sm">
<div class="list-card-image"> <a href="carrot_product_details.html" class="text-dark">
<div class="p-3"> <img src="img/listing/carrot.jpg" class="img-fluid item-img w-100 mb-3">
<h6>Carrot</h6>
<div class="d-flex align-items-center">
<h6 class="price m-0 text-success">28 Cal /100 kg</h6>
<a href="cart.html" class="btn btn-success btn-sm ml-auto">+</a> </div>
</div>
</a> </div>
</div>
</div>
</div>
</div>
<!-- Most sales -->
<div class="title d-flex align-items-center p-3">
<h6 class="m-0">Recommend Diet</h6>
<a class="ml-auto text-success icofont-ui-calendar" href="recommeded_diet.html">Today, 05:30 AM</a> </div>
<!-- Breakfast-->
<div class="osahan-notifications bg-white"> <a href="recommeded_diet.html" class="text-decoration-none text-dark">
<div class="notifiction p-4 border-bottom">
<div class="d-flex align-items-center mb-3">
<p class="bg-success text-white py-1 px-2 mb-0 rounded font-weight-bold">Breakfast</p>
<p class=" ml-auto font-weight-bold mb-0"> 144 Cal</p>
</div>
<div class="d-flex">
<p class="text-dark font-weight-bold">Strawberries - Raw<br>
<span class="small text-muted">1 Cup, halves</span> </p>
<p class="text-muted m-0 ml-auto">49 Cal</p>
</div>
<div class="d-flex">
<p class="text-dark font-weight-bold">1 Scrambled Egg White<br>
<span class="small text-muted">1 Egg White</span> </p>
<p class="text-muted m-0 ml-auto">17 Cal</p>
</div>
<div class="d-flex">
<p class="text-dark font-weight-bold">Bread - Whole Wheat Toasted<br>
<span class="small text-muted">1 oz</span> </p>
<p class="text-muted m-0 ml-auto">78 Cal</p>
</div>
</div>
</a> </div>
</div>
</div>
</div>
<!-- Footer -->
<div class="osahan-menu-fotter fixed-bottom bg-white text-center border-top">
<div class="row m-0"> <a href="home.html" class="text-dark small col font-weight-bold text-decoration-none p-2 selected">
<p class="h5 m-0"><i class="text-success icofont-home"></i></p>
Home </a> <a href="list.html" class="text-muted col small text-decoration-none p-2">
<p class="h5 m-0"><i class="icofont-sub-listing"></i></p>
My List </a> <a href="history.html" class="text-muted col small text-decoration-none p-2">
<p class="h5 m-0"><i class="icofont-ui-calendar"></i></p>
Histroy </a> <a href="my_account.html" class="text-muted small col text-decoration-none p-2">
<p class="h5 m-0"><i class="icofont-user"></i></p>
Profile </a> </div>
</div>
<nav id="main-nav">
<ul class="second-nav">
<li><a href="home.html" class="font-weight-bold selected"><i class="icofont-ui-home mr-2" ></i> Home</a></li>
<li><a href="notification.html"><i class="icofont-notification mr-2"></i> Notification</a></li>
<li><a href="list.html"><i class="icofont-sub-listing mr-2"></i> My List</a></li>
<li><a href="history.html"><i class="icofont-ui-calendar mr-2"></i> History</a></li>
<li><a href="health_tips.html"><i class="icofont-light-bulb mr-2"></i> Health Tips</a></li>
<li><a href="my_account.html"><i class="icofont-ui-user mr-2"></i> My Account</a></li>
<li> <a href="#"><i class="icofont-sub-listing mr-2"></i> Settings</a>
<ul>
<li><a href="review.html">Rate this App</a></li>
<li><a href="terms&conditions.html">Terms & Conditions</a></li>
<li><a href="privacy.html">Privacy</a></li>
<li> <a href="help_support.html">Help Support</a></li>
</ul>
</li>
</ul>
<ul class="bottom-nav">
<li class="email"> <a class="text-success" href="home.html">
<p class="h5 m-0"><i class="icofont-home text-success"></i></p>
Home </a> </li>
<li class="github"> <a href="list.html">
<p class="h5 m-0"><i class="icofont-sub-listing"></i></p>
My List </a> </li>
<li class="ko-fi"> <a href="help_ticket.html">
<p class="h5 m-0"><i class="icofont-headphone"></i></p>
Help </a> </li>
</ul>
</nav>
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<!-- slick Slider JS-->
<script type="text/javascript" src="vendor/slick/slick.min.js"></script>
<!-- Sidebar JS-->
<script type="text/javascript" src="vendor/sidebar/hc-offcanvas-nav.js"></script>
<!-- Custom scripts for all pages-->
<script src="js/osahan.js"></script>
<script type="text/javascript">
function openSelect(file)
{
$(file).trigger('click');
setTimeout(function(){ $('#brscan').modal('show'); }, 3000);
}
</script>
<script>
let but = document.querySelector('#addi');
but.addEventListener('click', (e)=>{
location.href = 'cart.html';
});
</script>
</body>
</html>