-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
153 lines (137 loc) · 6.13 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
<!DOCTYPE html>
<html>
<head>
<title>Clueless Chef</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- moment.js link -->
<script src="https://cdn.jsdelivr.net/momentjs/2.12.0/moment.min.js"></script>
<!-- firebase link -->
<script src="https://www.gstatic.com/firebasejs/3.7.4/firebase.js"></script>
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<link href="https://fonts.googleapis.com/css?family=Chivo|Fjalla+One|Poller+One|Reem+Kufi" rel="stylesheet">
</head>
<body>
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">><span class = "glyphicon glyphicon-grain"></span>CluelessChef</a>
</div>
<ul class="nav navbar-nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="indexUserProfile.html">My Profile</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li><a href="indexSignUpPage.html" id = "signUp"><span class="glyphicon glyphicon-user"></span > Sign Up</a></li>
<li><a href="#" id="btnLogin"> <span class= " glyphicon glyphicon-log-in"></span> Login </a></li>
<li> <a href ="#" id="userEmail" class="hide"></a></li>
<li><a href="#"><input type="email" placeholder="email" id="txtEmail"></a></li>
<li><a href="#"><input type="password" placeholder="password" id="txtPassword"></a></li>
<li><a href="#" id="btnLogOut" ><span class="glyphicon glyphicon-log-out" ></span> Log Out</a></li>
</ul>
</div>
</nav> <!-- end of navbar -->
<div class="container">
<div class = "row">
<div class = "col-md-8"></div>
<div class = "col-md-4">
<b><div class = "hide" id ="logInEmail"></div></b>
</div>
</div>
<div class = "jumbotron text-center">
<div>
<h1>Clueless Chef</h1>
<h2>Getting it cooking when you have no idea where to start</h2>
</div>
</div> <!-- end of jumbrotron -->
<div class = "row">
<div class = "col-md-6">
<div class="panel panel-default">
<div class="panel-body">
<h3>What are you working with?</h3>
<h5>Enter the ingredients you already have on hand</h5>
<form>
<input class="form-control" type="text" placeholder="add an ingredient" id = "newIngredientTxt" size="34">
</form>
<div>
<button class="btn btn-default" id = "addIngredient" type ="submit" value="submit"><span class = "glyphicon glyphicon-plus"></span> Add</button>
</div>
<div class="panel panel-default" id = "ingredientPanel">
<div class="panel-body" >
<div id = "ingredientList"></div>
</div>
</div>
<div id = "ingredientList"></div>
<div><p> Click here to search for recipes containing your ingedients: <button id="ingredientSearch" class="btn btn-default"><span class = "glyphicon glyphicon-search"></span> Search</button></p></div>
</div>
</div> <!-- end of panel -->
</div>
<div class = "col-md-6">
<div class="panel panel-default">
<div class="panel-body">
<h3>Missing an ingredient? Rather do takeout?</h3>
<h5>Search for your nearest grocery store or restaurant depending</h5>
<div class="form-group headerStyle">
<label for="zoom-to-area-text">Where are you starting from?</label>
<input type="text" class="form-control" id="zoom-to-area-text">
<button class="btn btn-default" type="button" id="zoom-to-area">Submit</button>
</div>
<div>
<label>What are you looking for?</label>
</div>
<div id="buttonSearch">
<button class="btn btn-default" type="button" id="grocery">Find Grocery Stores</button>
<button class="btn btn-default" type="button" id="restaurant">Find Restaurants</button>
</div>
<div class="form-group headerStyle">
<div>
<label>What is your search area?</label>
</div>
<span class="text">How far?</span>
<select id="max-duration">
<option value = "10">10 mins</option>
<option value = "15">15 mins</option>
<option value = "30">30 mins</option>
<option value = "60">60 mins</option>
</select>
<span class="text">How are you travelling?</span>
<select id="mode">
<option value = "DRIVING">Drive</option>
<option value = "WALKING">Walk</option>
<option value = "BICYCLING">Bike</option>
<option value = "TRANSIT">Public Transit</option>
</select>
<button class="btn btn-default" type="button" id="search-within-time">Go!</button>
<div id="errorMessage"></div>
</div>
</div>
</div><!-- end of panel -->
</div>
</div><!-- end of row -->
<div class ="row">
<div class = "col-md-6">
<div class="panel panel-default">
<h3>Here are your recipe options!</h3>
<div id="recipeList"></div>
</div> <!-- end of panel -->
</div>
<div class = "col-md-6">
<div class="panel panel-default">
<h3>Here's where you're going!</h3>
<div id="map"></div>
</div> <!-- end of panel -->
</div>
</div> <!-- end of row -->
<!-- </div> -->
<script src="assets/javascript/maps.js"></script>
<script type="text/javascript" src="assets/javascript/js.js"></script>
<script async defer
src="https://maps.googleapis.com/maps/api/js?libraries=places,drawing,geometry&key=AIzaSyDn6qPZ5ULJuRsaODxI6wtDQQPPT6AbPAo&v=3&callback=initMap">
</script>
</body>
</html>