-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
83 lines (83 loc) · 3.72 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
<!DOCTYPE html>
<html>
<head>
<title>Recipe Finder</title>
<link rel="stylesheet" type="text/css" href="semantic/Semantic-UI-CSS/semantic.css">
<link rel="stylesheet" href="styles/style.css">
</head>
<body id="body">
<div class="ui header">
<h2 class="title_header">Recipe Finder</h2>
</div>
<div class="container">
<div id="allergies-container">
<form id="allergy-recipe-form">
<div class=check-container>
<div class="ui toggle checkbox">
<input type="checkbox" class="allergy-checkbox" name="allergy" value="dairy">
<label style="padding-right: .5em;">Milk</label>
</div>
<div class="ui toggle checkbox">
<input type="checkbox" class="allergy-checkbox" name="allergy" value="peanuts">
<label style="padding-right: .5em;">Peanuts</label>
</div>
<div class="ui toggle checkbox">
<input type="checkbox" class="allergy-checkbox" name="allergy" value="treenuts">
<label style="padding-right: .5em;">Treenuts</label>
</div>
<div class="ui toggle checkbox">
<input type="checkbox" class="allergy-checkbox" name="allergy" value="soy">
<label style="padding-right: .5em;">Soy</label>
</div>
<div class="ui toggle checkbox">
<input type="checkbox" class="allergy-checkbox" name="allergy" value="gluten">
<label style="padding-right: .5em;">Gluten</label>
</div>
<div class="ui toggle checkbox">
<input type="checkbox" class="allergy-checkbox" name="allergy" value="fish">
<label style="padding-right: .5em;">Fish</label>
</div>
<div class="ui toggle checkbox">
<input type="checkbox" class="allergy-checkbox" name="allergy" value="shellfish">
<label style="padding-right: .5em;">Shellfish</label>
</div>
</div>
<br />
<br />
<div class="ui fluid action center aligned input" style="padding-right: 40em; padding-left: 40em;">
<input type="text" name="allergy" id="allergy-name">
<label class="ui red left pointing label">Enter additional allergies here!</label>
</div>
<br />
<label for="recipe-name"></label>
<div class="ui fluid action center aligned input" style="padding-right: 30em; padding-left: 30em;">
<input type="text" id="recipe-name" name="recipe" placeholder="Find Recipe For...">
<button class="red ui button">Find Recipe</button>
</div>
</form>
</div>
<br />
<br>
<div class="card_padding">
<div id="card container" class="ui grid">
</div>
</div>
<div class="ui disabled dimmer" id="recipe-loader">
<div class="ui indeterminate text loader">Preparing Recipes</div>
</div>
<br />
<div id="button container" style="padding-right: 30em; padding-left: 30em;"></div>
<script
src="https://code.jquery.com/jquery-3.1.1.min.js"
integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8="
crossorigin="anonymous"></script>
<script src="src/components/allergy.js" charset="utf-8"></script>
<script src="semantic/Semantic-UI-CSS/semantic.min.js"></script>
<script src="semantic/Semantic-UI-CSS/semantic.js" charset="utf-8"></script>
<script src="src/adapters/recipesAdapter.js" charset="utf-8"></script>
<script src="src/components/recipe.js" charset="utf-8"></script>
<script src="src/components/recipes_list.js" charset="utf-8"></script>
<script src="src/components/app.js" charset="utf-8"></script>
<script type="text/javascript" src="src/index.js"></script>
</body>
</html>