forked from strawberryboar/Meal-Assistant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meal-search.html
121 lines (116 loc) · 4.62 KB
/
meal-search.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.0/css/bulma.min.css">
<link rel="stylesheet" href="sources/styles.css">
<link href="https://fonts.googleapis.com/css2?family=Mulish:wght@300&family=Nanum+Gothic&family=Nunito:wght@300&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.devbridge-autocomplete/1.2.27/jquery.autocomplete.min.js"></script>
<title>Meal Assistant</title>
</head>
<body>
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="navbar-item" href="index.html">
<img id="IMGLogo" src="sources/icon.png" width="30" height="60">
<h1 class="title is-4" id="logo" >Meal Assistant</h1>
</a>
<a role="button" class="navbar-burger burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<br><br>Menu<br><br>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="index.html">
Home
</a>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Meals
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="meal-catalog.html">
Meal Catalog
</a>
<a class="navbar-item" href="meal-search.html">
Meal Search
</a>
<a class="navbar-item" href="saved-meals.html">
Saved Meals
</a>
<a class="navbar-item" href="meal-ingredients.html">
Meal Ingredients
</a>
<a class="navbar-item" href="meal-random.html">
Random Meal
</a>
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link">
Drinks
</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="drink-catalog.html">
Drink Catalog
</a>
<a class="navbar-item" href="drink-search.html">
Drink Search
</a>
<a class="navbar-item" href="saved-drinks.html">
Saved Drinks
</a>
<a class="navbar-item" href="drink-ingredients.html">
Drink Ingredients
</a>
<a class="navbar-item" href="drink-random.html">
Random Drink
</a>
</div>
</div>
</div>
</div>
</nav>
<div class="container searchCont">
<div id="SearchForm">
<p id="searchTitle">What are you looking for? Search by name or ingredient.</p>
Search By:
<select id="SearchSelect">
<option value="Name">Name</option>
<option value="MainIngredient">Main Ingredient</option>
</select><br><br>
<input type="text" id="MealSearchInput" placeholder="Search By Name">
<input type="text" id="MealIngredientSearchInput" placeholder="Search By Ingredient" class="hidden">
<button id="MealSearchBtn">Search</button><br><br>
<div id="MealErrorMsg"></div>
<div id="MealSearchresults"></div>
</div>
<div id="MealDetails" class="hidden">
<button class="ReturnMealResults">Return to search results</button><br><br>
<h1 id="MealTitle"></h1>
<img id="MealIMG">
<h2 id="MealArea"></h2>
<h2 id="MealCategory"></h2>
Ingredients:
<ul id="IngredientList"></ul>
<p id="MealInstructions"></p>
<ul id="MealMeasurements"></ul>
<p id="MealSource"></p>
<p id="MealVideo"></p>
<button id="SaveMealBtn" class="SaveMealBtn">Save Meal</button>
<button id="RemoveMealBtn" class="RemoveMealBtn">Remove Meal from Saved Meals</button>
</div>
</div>
<footer>
© <a href="https://github.com/strawberryboar">Athena Petrovich</a> | <a href="https://github.com/maynperalta">Maynard Peralta</a> | <a href="https://github.com/vmcgargill">Vincent McGargill</a>
</footer>
</body>
<script src="scripts/meal-scripts.js"></script>
<script src="scripts/meal-search.js"></script>
<script src="scripts/nav.js"></script>
</html>