-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
162 lines (151 loc) · 6.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- favicon -->
<link rel="icon" type="image/png" href="assets/images/foodle-icon.ico" />
<!-- Bootstrap CSS -->
<link href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Muli:400,800&display=swap" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Foodle CSS -->
<link rel="stylesheet" href="assets/css/style.css">
<title>Foodle</title>
</head>
<body onload="randomRecipe()">
<!-- Navbar -->
<nav class="navbar navbar-expand-lg navbar-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="favorites.html">Favorites</a>
</li>
<li>
<button class="btn btn-primary btn-shopping-list" id="list">Make a shopping list</button></li>
</ul>
</div>
</nav>
<!-- contianer for search parameters and results-->
<div class="container">
<!-- row for the jumbotron -->
<div class="row text-center">
<!-- jumbotron -->
<div class="jumbotron col-12 text-center">
<img src="assets/images/foodle-logo.svg" style="width: 300px;">
<h3>AN ONLINE RECIPE RESOURCE</h3>
</div>
</div>
<!-- row for the search parameters and results -->
<div class="row">
<div class="main-content col-12">
<div class="search-parameters">
<button type="button" class="btn btn-primary" id="random-button">Pick Random Recipe</button>
<div class="card search-parameters-card">
<h2>Filters</h2>
<h5>Search</h5>
<div class="input-group mb-3">
<input type="text" class="form-control" value="Noodles" aria-label="Username"
aria-describedby="basic-addon1" id="search-box">
</div>
<h5>Diet Type</h5>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="gluten-free-toggle" name="dietType"
value="glutenFree">
<label class="custom-control-label" for="gluten-free-toggle">
Gluten-Free</label>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="ketogenic-toggle" name="dietType"
value="ketogenic">
<label class="custom-control-label" for="ketogenic-toggle">
Ketogenic</label>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="vegetarian-toggle" name="dietType"
value="vegetarian">
<label class="custom-control-label" for="vegetarian-toggle">Vegetarian</label>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="vegan-toggle" name="dietType"
value="vegan">
<label class="custom-control-label" for="vegan-toggle">
Vegan</label>
</div>
<div class="custom-control custom-switch">
<input type="checkbox" class="custom-control-input" id="paleo-toggle" name="dietType"
value="paleo">
<label class="custom-control-label" for="paleo-toggle">
Paleo</label>
</div>
<h5>Ingredients</h5>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Ingredient 1" aria-label="Username"
aria-describedby="basic-addon1" id="ingredient-input">
</div>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Ingredient 2" aria-label="Username"
aria-describedby="basic-addon1" id="ingredient2-input">
</div>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Ingredient 3" aria-label="Username"
aria-describedby="basic-addon1" id="ingredient3-input">
</div>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Ingredient 4" aria-label="Username"
aria-describedby="basic-addon1" id="ingredient4-input">
</div>
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Ingredient 5" aria-label="Username"
aria-describedby="basic-addon1" id="ingredient5-input">
</div>
<button type="button" class="btn btn-primary" id="search-button">Search</button>
</div>
</div>
<div class="col-8 search-results" id="recipeCards">
<div>
</div>
</div>
</div>
</div>
</div>
<footer class="text-center">
<a class="navbar-brand" href="index.html">
<img src="assets/images/foodle-logo.svg" height="50" class="d-inline-block align-top" alt="Foodle Logo">
</a> </footer>
</div>
<!-- JS, Popper.js, and jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.js"
integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.14.0/js/mdb.min.js"></script>
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/bafee80b27.js" crossorigin="anonymous"></script>
<!-- Bootstrap tooltips -->
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>
<!-- Firebase Core JavaScript Link -->
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-app.js"></script>
<!-- Specific Firebase products we want (Database) -->
<script src="https://www.gstatic.com/firebasejs/6.0.4/firebase-database.js"></script>
<script async="true" src="https://cdn.whisk.com/sdk/shopping-list.js" type="text/javascript"></script>
<script src="assets/javascript/script.js"></script>
</body>
</html>