-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
666 lines (640 loc) · 33.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
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
<!DOCTYPE html>
<html lang="en">
<head>
<title>Smart Refrigerator</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Dependencies -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
<!-- Our style sheet -->
<link rel="stylesheet" href="styles.css">
</head>
<body>
<!-- Navbar -->
<ul class="nav sticky-top nav-pills justify-content-center" role="tablist">
<li class="nav-item">
<a class="nav-link active" data-toggle="pill" href="#home"><div class="lg-scrn">Home</div><div class="sm-scrn"><i class="fas fa-home"></i></div></a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#ingredients"><div class="lg-scrn">Inventory</div><div class="sm-scrn"><i class="fas fa-seedling"></i></div></a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#recipes"><div class="lg-scrn">Recipes</div><div class="sm-scrn"><i class="fas fa-utensils"></i></div></a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="pill" href="#settings"><div class="lg-scrn">Settings</div><div class="sm-scrn"><i class="fas fa-cog"></i></div></a>
</li>
<li id="cart-tab" class="nav-item">
<a class="nav-link" data-toggle="pill" href="#cart"><div class="lg-scrn">Cart</div><div class="sm-scrn"><i class="fas fa-shopping-cart"></i></div></a>
</li>
</ul>
<div class="container">
<!-- Tab panes -->
<div class="tab-content">
<!-- Home tab content -->
<div id="home" class="container tab-pane active"><br>
<div class="row justify-content-around">
<div id="date-time" class="col-md-12">
<h1 style="color: white; text-shadow: 3px 3px 6px black">Welcome back, <span id="userName">Dory</span>!</h1>
<h1 class="big-text" style="text-shadow: 3px 3px 6px black" id="temp">70℉</h1>
<h1 class="big-text" style="text-shadow: 3px 3px 6px black" id="time"></h1>
<h4 id="date" style="font-size: 2rem; color: white; text-shadow: 3px 3px 6px black "></h4>
</div>
<!-- Quick recipes -->
<div id="quick-recipes" class="col-md-5">
<h2>Quick Recipes <a style="color: grey" href="#" data-trigger="focus" data-toggle="popover" data-placement="bottom" title="Quick Recipes" data-content="Recipes where you have all the ingredients in your inventory"><i style="font-size: 1rem" class="fas fa-question-circle"></i></a></h2>
<div class="col-md-12">
<ul class="list">
<table id="quick-table" class="table table-hover table-responsive w-100 d-block d-md-table">
<tbody>
<tr class="makeable" onclick="document.getElementById('pbj').style.display='block'"><td>PB&J Sandwich</td></tr>
<tr class="makeable"><td>3 Envelope Chicken Roast</td></tr>
<!-- <tr class="almostMakeable" onclick="document.getElementById('hamburger').style.display='block'"><td>Hamburger</td></tr>
<tr class="almostMakeable" onclick="document.getElementById('scamp').style.display='block'"><td>Shrimp Scampi</td></tr>
<tr class="almostMakeable"><td>8 Hour Beef Stew</td></tr>
<tr class="notMakeable"><td>Cheesy Baked Ravioli</td></tr>
<tr class="notMakeable"><td>Chicken Satay Wraps</td></tr>
<tr class="notMakeable"><td>Spicy Chicken Soup</td></tr>
<tr class="notMakeable"><td>Stir Fried Chicken and Asparagus</td></tr> -->
</tbody>
</table>
</ul>
</div>
</div>
<!-- Notifications -->
<div id="notifications" class="col-md-5">
<h2>Notifications</h2>
<div class="col-md-12">
<ul class="list">
<table class="table table-hover table-responsive w-100 d-block d-md-table">
<tbody>
<tr><td>Milk expires in (3) days.<i class="fas fa-trash" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Try Making our new recipe: <span class="recipe"><i>'Quick Chicken Piccata'.</i></span> You have all the
ingredients! <i class="fas fa-trash" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
</tbody>
</table>
</ul>
</div>
</div>
<!-- Notes -->
<div id="notes" class="col-md-12">
<h2 style="padding-top: 1rem">Notes</h2>
<div class="col text-center">
<button style="width: 30%; " onclick="addNote()" type="button" class="btn btn-secondary">Add Note</button>
</div>
<div class="col-md-12">
<ul id="notesList" class="list-group">
<li class="list-group-item">Take out the trash -Mom<i class="fas fa-trash" style="float: right" onclick="removeNotif(this.parentElement)"></i></li>
<li class="list-group-item">Ian coming home late - 11/19<i class="fas fa-trash" style="float: right" onclick="removeNotif(this.parentElement)"></i></li>
</ul>
</div>
</div>
</div>
</div>
<!-- Ingredients tab content -->
<div id="ingredients" class="container tab-pane fade"><br>
<div class="row justify-content-center">
<div class="col-md-8">
<button type="button" id="addIngredient" data-toggle="modal" data-target="#exampleModal">ADD ITEM</button>
</div>
</div>
<br>
<div id="food-groups">
<div class="row justify-content-center">
<div id="all-btn" style="background-color: #15c177" onclick="displayIngredients(this)" class="col-sm-3 col-md-2 img-icon container justify-content-center align-items-center d-flex">
<h1 style="text-shadow: 3px 3px 4px black; color: white">ALL</h1>
</div>
<div id="dairy-btn" onclick="displayIngredients(this)" class="col-sm-3 col-md-2 img-icon container justify-content-center align-items-center d-flex">
<h1 class="ingredientCategory">DAIRY</h1>
<img class="img-icon" src="images/dairy.png">
</div>
<div class="col-sm-3 col-md-2 img-icon container justify-content-center align-items-center d-flex">
<h1 class="ingredientCategory">MEATS</h1>
<img class="img-icon" src="images/meats.png">
</div>
<div class="col-sm-3 col-md-2 img-icon img-icon container justify-content-center align-items-center d-flex">
<h1 class="ingredientCategory">FRUITS</h1>
<img class="img-icon" src="images/fruits.png">
</div>
</div>
<div class="row justify-content-center">
<div class="col-sm-3 col-md-2 img-icon container justify-content-center align-items-center d-flex">
<h1 class="ingredientCategory">VEGGIES</h1>
<img class="img-icon" src="images/vegetables.png">
</div>
<div class="col-sm-3 col-md-2 img-icon container justify-content-center align-items-center d-flex">
<h1 class="ingredientCategory">GRAINS</h1>
<img class="img-icon" src="images/grains.png">
</div>
<div class="col-sm-3 col-md-2 img-icon container justify-content-center align-items-center d-flex">
<h1 class="ingredientCategory">DRINKS</h1>
<img class="img-icon" src="images/beverages.png">
</div>
<div class="col-sm-3 col-md-2 img-icon container justify-content-center align-items-center d-flex">
<h1 class="ingredientCategory">SNACKS</h1>
<img class="img-icon" src="images/snacks.png">
</div>
</div>
</div>
<div id="dairyList" class="container">
<button type="button" id="backIngredients" onclick="backToIngredients()" class="btn btn-secondary">Back</button>
</br></br>
<h2>Dairy</h2>
<!--Ingredients list (filtered by food group)-->
<table id="dairyTable" class="table table-hover table-responsive w-100 d-block d-md-table">
<thead>
<tr>
<th>Ingredient</th>
<th>Expiration Date</th>
<th class="table-header">Remove</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lactose-free milk</td>
<td>04-22-2019</td>
<td class="removeIngredient" id="0" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Cheese</td>
<td>09-19-1999</td>
<td class="removeIngredient" id="1" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Yogurt</td>
<td>12-24-1221</td>
<td class="removeIngredient" id="2" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
</tbody>
</table>
</div>
<div id="ingredientsList" class="container">
<button type="button" id="backIngredients" onclick="backToIngredients()" class="btn btn-secondary">Back</button>
</br></br>
<h2>All Ingredients</h2>
<!--Ingredients list (filtered by food group)-->
<table id="ingredientsTable" class="table table-hover table-responsive w-100 d-block d-md-table">
<thead>
<tr>
<th>Ingredient</th>
<th>Expiration Date</th>
<th class="table-header">Remove</th>
</tr>
</thead>
<tbody>
<tr>
<td>Bread</td>
<td>04-21-2019</td>
<td class="removeIngredient" id="0" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Peanut Butter</td>
<td>10-20-2020</td>
<td class="removeIngredient" id="1" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Grape Jelly</td>
<td>08-12-2021</td>
<td class="removeIngredient" id="2" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Lactose-free milk</td>
<td>04-22-2019</td>
<td class="removeIngredient" id="3" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Cheese</td>
<td>09-19-1999</td>
<td class="removeIngredient" id="4" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Yogurt</td>
<td>12-24-1221</td>
<td class="removeIngredient" id="5" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Sausage links</td>
<td>02-24-1421</td>
<td class="removeIngredient" id="6" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Avacados</td>
<td>11-22-2021</td>
<td class="removeIngredient" id="7" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Pasta</td>
<td>02-06-2301</td>
<td class="removeIngredient" id="8" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Clementines</td>
<td>05-27-1921</td>
<td class="removeIngredient" id="9" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>BBQ chips</td>
<td>11-10-2019</td>
<td class="removeIngredient" id="10" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Coca Cola</td>
<td>08-22-2012</td>
<td class="removeIngredient" id="11" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Lettuce</td>
<td>08-22-2022</td>
<td class="removeIngredient" id="12" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Hamburger bun</td>
<td>10-23-1222</td>
<td class="removeIngredient" id="13" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Beef patty</td>
<td>05-05-1322</td>
<td class="removeIngredient" id="14" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Garlic cloves</td>
<td>02-15-1982</td>
<td class="removeIngredient" id="15" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Butter</td>
<td>10-24-2231</td>
<td class="removeIngredient" id="15" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Olive oil</td>
<td>08-21-2241</td>
<td class="removeIngredient" id="16" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Lemon juice</td>
<td>12-01-1231</td>
<td class="removeIngredient" id="17" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Pepper</td>
<td>10-24-2231</td>
<td class="removeIngredient" id="18" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Dried oregano</td>
<td>10-24-2231</td>
<td class="removeIngredient" id="19" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Parmesan cheese</td>
<td>06-20-2231</td>
<td class="removeIngredient" id="20" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Dried bread crumbs</td>
<td>11-24-2231</td>
<td class="removeIngredient" id="21" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Parsley</td>
<td>02-20-4231</td>
<td class="removeIngredient" id="22" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
<tr>
<td>Angel hair pasta</td>
<td>12-26-1261</td>
<td class="removeIngredient" id="23" onclick="removeIngredient(this)"><i class="fas fa-trash"></i></td>
</tr>
</tbody>
</table>
</div>
<div class="modal fade" id="exampleModal" data-backdrop="false" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
</div>
<div class="modal-body">
<label><b>Ingredient</b></label> <span id="validIngredient"></span>
<input name="name" placeholder="food" type="text"><br>
<label><b>Food Group</b></label>
<select>
<option>Dairy</option>
<option>Meats</option>
<option>Fruits</option>
<option>Vegetables</option>
<option>Grains</option>
<option>Beverages</option>
<option>Snacks</option>
</select><br>
<label><b>Expiration Date</b></label> <span id="validDate"></span>
<input type="date" name="expr_date"><br>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancel</button>
<button onclick="addIngredient()" id="validAdd" type="button" class="btn btn-success" data-dismiss="modal">Add Ingredient</button>
</div>
</div>
</div>
</div>
</div>
<!-- Recipes tab content -->
<div id="recipes" class="container tab-pane fade"><br>
<button type="button" id="backRecipes" onclick="backToRecipes()" class="btn btn-secondary">Back</button>
<div class="row justify-content-around">
<div id="recipe-options" class="col-md-12">
<div class="row justify-content-center">
<!-- Favorite Recipes -->
<div id="fav-recipes" onclick="displayRecipes(this)" class="col-sm-3 recipeList-icon container justify-content-center align-items-center d-flex">
<h2 class="ingredientCategory">FAVORITE RECIPES</h2>
<img class="recipeList-icon" src="images/pin.png">
</div>
<!-- All Recipes -->
<div id="all-recipes" onclick="displayRecipes(this)" class="col-sm-3 recipeList-icon container justify-content-center align-items-center d-flex">
<h2 class="ingredientCategory">ALL RECIPES</h2>
<img class="recipeList-icon" src="images/book.png">
</div>
</div>
</div>
<!-- Remaining recipes -->
<div id="allRecipesList" class="col-md-12">
<h2 style="padding-top: 1rem">All Recipes <a style="color: grey" href="#" data-trigger="focus" data-toggle="popover" data-placement="bottom" title="Recipe Colors" data-content="Green: makeable, Yellow: almost makeable, Red: not makeable"><i style="font-size: 1rem" class="fas fa-question-circle"></i></a></h2>
<div class="col-md-12">
<ul class="list">
<table id="allRecipesTable" class="table table-hover table-responsive w-100 d-block d-md-table">
<tbody>
<tr name="pbj" class="makeable" onclick="document.getElementById('pbj').style.display='block'"><td><i class="fas fa-star"></i> PB&J Sandwich</td></tr>
<tr class="almostMakeable"><td><i class="far fa-star"></i> 3 Envelope Chicken Roast</td></tr>
<tr class="almostMakeable"><td><i class="far fa-star"></i> 8 Hour Beef Stew</td></tr>
<tr class="almostMakeable"><td><i class="far fa-star"></i> BBQ Rib</td></tr>
<tr name="hamburger" class="almostMakeable"onclick="document.getElementById('hamburger').style.display='block'"><td><i class="fas fa-star"></i> Hamburger</td></tr>
<tr class="almostMakeable"onclick="document.getElementById('scamp').style.display='block'"><td><i class="far fa-star"></i> Shrimp Scampi</td></tr>
<tr class="notMakeable"><td><i class="far fa-star"></i> Cheesy Baked Ravioli</td></tr>
<tr class="notMakeable"><td><i class="far fa-star"></i> Chicken Satay Wraps</td></tr>
<tr class="notMakeable"><td><i class="fas fa-star"></i> Eggplant Lasagna</td></tr>
<tr class="notMakeable"><td><i class="fas fa-star"></i> Grilled Salmon</td></tr>
<tr class="notMakeable"><td><i class="far fa-star"></i> Kicky Steak Strips with Rice</td></tr>
</table>
</ul>
</div>
</div>
<!-- Favorite recipes -->
<div id="favRecipesList" class="col-md-12">
<h2 style="padding-top: 1rem">Favorite Recipes</h2>
<div class="col-md-12">
<ul class="list">
<table class="table table-hover table-responsive w-100 d-block d-md-table">
<tbody>
<tr class="makeable" onclick="document.getElementById('pbj').style.display='block'"><td>PB&J Sandwich</td></tr>
<tr name="hamburger" class="almostMakeable"onclick="document.getElementById('hamburger').style.display='block'"><td>Hamburger</td></tr>
<tr class="notMakeable"><td>Eggplant Lasagna</td></tr>
<tr class="notMakeable"><td>Grilled Salmon</td></tr>
</table>
</ul>
</div>
</div>
</div>
</div>
<!-- PB&J Sample Recipe Page -->
<div id="pbj" class="modal">
<form class="modal-content animate">
<div class="imgcontainer">
<span onclick="document.getElementById('pbj').style.display='none'" class="close" title="Close Modal">×</span>
</div>
<div class="home-content3 bgimg-pbj">
<div style="overflow-y: hidden" class="container transbox">
<h1>PB&J Sandwich <i class="fas fa-star"></i></h1>
<hr>
<h3 style="text-align: left">Ingredients:</h3>
<br>
<ul>
<li><span class="makeable" onclick="addToCart(this)">Bread <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">Peanut Butter <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">Grape Jelly <i class="fas fa-shopping-cart"></i></span></li>
</ul>
<br>
<div class="below">
<h3 style="text-align: left">Cooking Instructions:</h3>
<br>
<ul style="list-style-type:none;">
<li><div class="mr-3 nav-img number"style="float:left;">1</div>
<span>Take out 2 slices of bread.</span>
</li>
<br>
<li><div class="mr-3 nav-img number"style="float:left;">2</div>
<span>Using a butterknife, evenly spread the peanut butter on one slice.</span>
</li>
<br>
<li><div class="mr-3 nav-img number"style="float:left;">3</div>
<span>On the other slice, repeat the same action for jelly.</span>
</li>
<br>
<li><div class="mr-3 nav-img number"style="float:left;">4</div>
<span>Close the two slices of bread together and enjoy your sandwich!</span>
</li>
<br>
</ul>
<br>
<br>
</div>
</div>
</div>
</form>
</div>
<!--scampi recipe -->
<div id="scamp" class="modal">
<form class="modal-content animate">
<div class="imgcontainer">
<span onclick="document.getElementById('scamp').style.display='none'" class="close" title="Close Modal">×</span>
</div>
<div class="home-content3 bgimg-scampi">
<div style="overflow-y: hidden" class="container transbox">
<h1>Shrimp Scampi <span id="scampiFav"><i class="far fa-star"></span></i></h1>
<hr>
<h3 style="text-align: left">Ingredients:</h3>
<br>
<div style="margin-top:-10px;">
<ul style="float:left">
<li><span class="makeable" onclick="addToCart(this)">3 to 4 garlic cloves, minced <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">1/4 cup butter, cubed <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">1/4 cup olive oil <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="notMakeable" onclick="addToCart(this)">1 pound uncooked medium shrimp <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">1/4 cup lemon juice <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">1/2 teaspoon pepper <i class="fas fa-shopping-cart"></i></span></li>
</ul>
<ul style="float:right; margin-right:30px;">
<li><span class="makeable" onclick="addToCart(this)">1/4 teaspoon dried oregano <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">1/2 cup grated Parmesan cheese <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">1/4 cup dry bread crumbs <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">1/4 cup minced fresh parsley <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">Angel hair pasta <i class="fas fa-shopping-cart"></i></span></li>
</ul>
</div>
<br>
<div class="below">
<h3 style="text-align: left">Cooking Instructions:</h3>
<br>
<ul style="list-style-type:none;">
<li><div class="mr-3 nav-img number"style="float:left;">1</div>
<span>In a 10-in. skillet, saute garlic in butter and
oil until fragrant. Add the shrimp, lemon juice, pepper and oregano; stir until shrimp turn pink.</span>
</li>
<br>
<li><div class="mr-3 nav-img number"style="float:left;">2</div>
<span>Broil 6 in. from the heat for 2-3 minutes or until
topping is golden brown. Constantly stir as to prevent sticking. </span>
</li>
<br>
<li><div class="mr-3 nav-img number"style="float:left;">3</div>
<span>Serve with pasta. Sprinkle remaining grated Parmesan
cheese, bread crumbs, and parsley.</span>
</li>
<br>
</ul>
<br>
<br>
</div>
</div>
</div>
</form>
</div>
<!-- Hamburger Sample Recipe Page -->
<div id="hamburger" class="modal">
<form class="modal-content animate">
<div class="imgcontainer">
<span onclick="document.getElementById('hamburger').style.display='none'" class="close" title="Close Modal">×</span>
</div>
<div class="home-content3 bgimg-hamburger">
<div style="overflow-y: hidden" class="container transbox">
<h1>Hamburger <i class="fas fa-star"></i></h1>
<hr>
<h3 style="text-align: left">Ingredients:</h3>
<br>
<ul>
<li><span class="makeable" onclick="addToCart(this)">Hamburger bun <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">Beef patty <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">Lettuce <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="notMakeable" onclick="addToCart(this)">Tomato <i class="fas fa-shopping-cart"></i></span></li>
<li><span class="makeable" onclick="addToCart(this)">Cheese <i class="fas fa-shopping-cart"></i></span></li>
</ul>
<br>
<div class="below">
<h3 style="text-align: left">Cooking Instructions:</h3>
<br>
<ul style="list-style-type:none;">
<li><div class="mr-3 nav-img number"style="float:left;">1</div>
<span>Cook the patty.</span>
</li>
<br>
<li><div class="mr-3 nav-img number" style="float:left;">2</div>
<span>Wash the lettuce and tomatoes.</span>
</li>
<br>
<li><div class="mr-3 nav-img number"style="float:left;">3</div>
<span>Place the patty on the bun, then the cheese.</span>
</li>
<br>
<li><div class="mr-3 nav-img number"style="float:left;">4</div>
<span>Add the lettuce and tomatoes on top, followed by the bun.</span>
</li>
<br>
</ul>
<br>
<br>
</div>
</div>
</div>
</form>
</div>
<!-- Settings tab content -->
<div id="settings" class="container tab-pane fade"><br>
<h1>Settings</h1>
<hr>
<div class="container">
<div class="row justify-content-center">
<div class="slider-container">
<h4>Temperature</h4>
<input id="tempInput" class="slider" type="range" min="32" max="40" value="50">
<p><span id="tempOutput"></span> ℉</p>
</div>
</div>
<p class="settingsHelp">Adjust the temperature of the fridge remotely</p>
<hr>
<div class="row justify-content-center">
<h4>Economy Mode</h4>
<div class="switches">
<label class="switch">
<input class="switch-input" type="checkbox" />
<span class="switch-label" data-on="ON" data-off="OFF"></span><span class="switch-handle"></span>
</label>
</div>
</div>
<p class="settingsHelp">Turning Economy Mode On turns off the refrigerator heaters to cut energy costs</p>
<hr>
<div class="row justify-content-center">
<h4>Freezer Lock</h4>
<div class="switches">
<label class="switch">
<input class="switch-input" type="checkbox" />
<span class="switch-label" data-on="ON" data-off="OFF"></span><span class="switch-handle"></span>
</label>
</div>
</div>
<p class="settingsHelp">Parental lock, preventing access to the freezer</p>
<hr>
<div class="row justify-content-center">
<h4>User name</h4>
</div>
<div class="row justify-content-center">
<form onsubmit="changeUserName(); return false">
<input type="text" style="width: auto" id="newUserName" placeholder="Dory" value="Dory">
</form>
</div>
<div style="text-align: center">
<span id="nameChangeNotif"></span>
</div>
</div>
</div>
<!-- Cart tab content -->
<div id="cart" class="container tab-pane fade"><br>
<div class="row justify-content-around">
<div id="cartList" class="col-md-12">
<div class="col-md-12">
<ul class="list">
<table id="shoppingList" class="table table-hover table-responsive w-100 d-block d-md-table">
<thead>
<tr>
<th><h1>Shopping Cart</h1></th>
</tr>
</thead>
<tbody>
<tr><td>Romaine lettuce <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Tomatoes <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Whole wheat bread <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Eggs <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Roasted ham <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>A college degree <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Peanut butter <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Cereal <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Milk <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Orange juice <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Croissants <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>Waffle mix <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
<tr><td>A will to live <i class="fas fa-window-close" style="float: right" onclick="removeNotif(this.parentElement)"></i></td></tr>
</tbody>
</table>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
<script src="index.js"></script>
</html>