-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dinner.html
270 lines (249 loc) · 10.6 KB
/
Dinner.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Dinner</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://fonts.googleapis.com/css?family=Lato" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link href="home page.css" rel="stylesheet" type="text/css">
<link href="stuck.css" rel="stylesheet" type="text/css">
<link href="dinner.css" rel="stylesheet" type="text/css">
<script src="home page.js"></script>
<script src="dinner.js"></script>
<script src="modalValidation.js"></script>
</head>
<body id="myPage" data-spy="scroll" data-target=".navbar" data-offset="60">
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="homepage.html"><img class="img-responsive" src="Images/logo.png"></img></a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-right">
<li><a href="aboutus.html">ABOUT</a></li>
<li><a href="Menu.html">MENU</a></li>
<li><a href="blog.html">FOOD BLOG</a></li>
<li><a href="careers.html">CAREERS</a></li>
<li><a href="contact.html">CONTACT</a></li>
<li><a href="#mySignUpModal" data-toggle="modal" data-target="#mySignUpModal"><span class="glyphicon glyphicon-user"></span> SIGN UP</a></li>
<li><a href="#myLoginModal" data-toggle="modal" data-target="#myLoginModal"><span class="glyphicon glyphicon-log-in"></span> LOGIN</a></li>
<li><a href="Add to Cart.html" ><span class="glyphicon glyphicon-shopping-cart" style="font-size:20px"></span></a></li>
</ul>
</div>
</div>
</nav>
<!-- Login Modal -->
<div id="myLoginModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Login</h4>
</div>
<div class="modal-body">
<form autocomplete="on" method="post" >
<div class="form-group">
<label for="Username">Email address<b class="txtred">*</b>:</label>
<input type="email" class="form-control" name="Username">
</div>
<div class="form-group">
<label for="Password">Password<b class="txtred">*</b>:</label>
<input type="password" class="form-control" name="Password">
</div>
<button name="Submit" type="submit" class="btn btn-default" id="loginButton">Login</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!-- Sign up Modal -->
<div id="mySignUpModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" id="closeButton">×</button>
<h4 class="modal-title">Sign up!</h4>
</div>
<div class="modal-body">
<form autocomplete="on" method="get">
<div class="form-group">
<label for="firstname">First Name<b class="txtred">*</b>:</label>
<input type="text" class="form-control" id="firstname">
</div>
<div class="form-group">
<label for="lastname">Last Name<b class="txtred">*</b>:</label>
<input type="text" class="form-control" id="lastname">
</div>
<div class="form-group">
<label for="regEmail">Email address<b class="txtred">*</b>:</label>
<input type="email" class="form-control" id="regEmail"> <br>
<span id="emailSpan" class="txtred"> </span>
</div>
<div class="form-group">
<label for="pass">Password<b class="txtred">*</b>:</label>
<input type="password" class="form-control" id="pass"> <br>
<span id="passSpan" class="txtred"> </span>
</div>
<div class="form-group">
<label for="confirmpass">Confirm Password<b class="txtred">*</b>:</label>
<input type="password" class="form-control" id="confirmpass"> <br>
<span id="confirmPassSpan" class="txtred"> </span>
</div>
<button type="submit" class="btn btn-default" id="registerUser">Sign up</button>
<span id="warning1" class="txtred"> </span>
<br><span id="registerSuccess" > </span>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" id="closeButton">Close</button>
</div>
</div>
</div>
</div>
<div class="container-fluid text-center">
<div class="row content">
<div class="col-sm-2 sidenav left-sidebar" style="background-color:#f9d5e5">
<h2> Dinner </h2>
<p><button id="1" class="imgbutton" onclick="imageClick(this);"><img src="Images/Dinner1.jpg" class="img img-responsive" style="margin:auto;"></button></p>
<p><button id="2" class="imgbutton" onclick="imageClick(this);"><img src="Images/Dinner2.jpg" class="img img-responsive" style="margin:auto;"></button></p>
<p><button id="3" class="imgbutton" onclick="imageClick(this);"><img src="Images/Dinner3.jpg" class="img img-responsive" style="margin:auto;"></button></p>
<p><button id="4" class="imgbutton" onclick="imageClick(this);"><img src="Images/Dinner4.jpg" class="img img-responsive" style="margin:auto;"></button></p>
<p><button id="5" class="imgbutton" onclick="imageClick(this);"><img src="Images/Dinner5.jpg" class="img img-responsive" style="margin:auto;"></button></p>
<p><button id="6" class="imgbutton" onclick="imageClick(this);"><img src="Images/Dinner6.jpg" class="img img-responsive" style="margin:auto;"></button></p>
<p><button id="7" class="imgbutton" onclick="imageClick(this);"><img src="Images/Dinner7.jpg" class="img img-responsive" style="margin:auto;"></button></p>
</div>
<div class="col-sm-8 text-left centerbar">
<div id="imgselected">
</div>
<h4 id="dinnerName"></h4>
<p id="dinnerDescription"></p>
<hr>
<ul id="cblist">
<li></li>
</ul>
</div>
<div class="col-sm-2 sidenav rightsidebar" style="background-color:#f9d5e5">
<div class="well">
<h2> Price </h2>
<input id="price" type="number" disabled></input>
<br>
<br>
<input id="checkout" type="submit" value="Add to cart"></input>
</div>
<h2> Calorie Chart </h2>
<div class="well table-responsive">
<table class="table">
<tbody>
<tr>
<td>Calories per serve(g)</td>
<td><input id="cal1" type="number" disabled></input></td>
</tr>
<tr>
<td>Energy per serve(J)</td>
<td><input id="cal2" type="number" disabled></input></td>
</tr>
<tr>
<td>Fat per serve(g)</td>
<td><input id="cal3" type="number" disabled></input></td>
</tr>
<tr>
<td>Carbs per serve(g)</td>
<td><input id="cal4" type="number" disabled></input></td>
</tr>
<tr>
<td>Proteins per serve(g)</td>
<td><input id="cal5" type="number" disabled></input></td>
</tr>
<tr>
<td>Sugar per serve(g)</td>
<td><input id="cal6" type="number" disabled></input></td>
</tr>
<tr>
<td>Sodium per serve(g)</td>
<td><input id="cal7" type="number" disabled></input></td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Container (Footer Section) -->
<div class="container-fluid" style ="background-color:#84a96c;color:black">
<div class="row ">
<div class="col-xs-6 col-sm-2 text-center">
<ul class="menu">
<li><a href="aboutus.html">About</a></li>
<li><a href="Menu.html">Menu</a></li>
<li><a href="blog.html">Food Blog</a></li>
<li><a href="health.html">Health</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</div>
<div class="col-xs-6 col-sm-2 text-center">
<ul class="menu" >
<li><a href="Terms.html">Terms and Conditions</a></li>
<li><a href="privacy.html">Privacy</a></li>
<li><a href="careers.html">Careers</a></li>
<li><a href="MyAccount.html">My Account</a></li>
<li><a href="#reviews">Reviews</a></li>
</ul>
</div>
<div class="col-xs-12 col-sm-4 text-center">
<p><b>Newsletter Sigup</b></p>
<p>Get notified each time we add our new recipe</p>
<form class="form-inline ">Sign up of News and offers
<br>
<input type="email" class="form-control" placeholder="Email Address">
<button type="button" class="btn"><i class="fa fa-paper-plane"></i></button>
</form>
</div>
<div class=" col-xs-12 col-sm-4 text-right contactFitfoodie" >
<p>Contact us and we'll get back to you within 24 hours.</p>
<p><span class="glyphicon glyphicon-map-marker"></span> Chicago, US</p>
<p><span class="glyphicon glyphicon-phone"></span><a href="tel:+00 1515151515">+00 1515151515</a></p>
<p><span class="glyphicon glyphicon-envelope"></span><a href="mailto:[email protected]"> [email protected] </a></p>
</div>
</div>
<br>
<div class="row ">
<div class="col-xs-12 col-sm-12 text-center">© 2016 FitFoodie. All rights reserved
</div>
</div>
<div class="socialDiv" >
<ul class="social">
<li><a href="https://twitter.com/fitfoodie" title="Twitter" >
<i class="fa fa-twitter-square fa-2x" ></i>
</a></li>
<li><a href="https://www.facebook.com/fitfoodie" title="Facebook" >
<i class="fa fa-facebook-square fa-2x" ></i>
</a></li>
<li><a href="https://www.instagram.com/fitfoodie" title="Instagram" >
<i class="fa fa-instagram fa-2x" ></i>
</a></li>
<li><a href="https://in.pinterest.com/fitfoodie" title="Pinterest" >
<i class="fa fa-pinterest-square fa-2x"></i>
</a></li>
<li><a href="https://www.snapchat.com/fitfoodie" title="Snapchat">
<i class="fa fa-snapchat-square fa-2x" ></i>
</a>
</li>
</ul>
</div>
</body>
</html>