-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
234 lines (194 loc) · 8.19 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Front End Pizza Toppings with Bootstrap</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 rel="stylesheet" href="main.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="https://maps.google.com/maps/api/js?key=AIzaSyCapooPJ_53fiV0pdUma4Y12RJ5yT7n6rk"></script>
<script src="pizza.js"></script>
</head>
<body>
<div class="jumbotron text-center">
<h1 class="header">My Pizza Toppings</h1>
<br>
<h5>Build Your Perfect Pizza!</h5>
</div>
<div class="container">
<div class="row">
<img src="http://itspizzatime.ca/wp-content/uploads/2015/09/4791207-9790062099-Pizza1.jpg" class="center-block" alt="picture of a pizza" style="width:width;height:200px;">
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-4" id="toppinglist">
<h3>Pizza Options</h3>
<p>These are the toppings you have to select from: </p>
<div class="container">
<!-- Trigger the modal with a button -->
<div class="btn-group-vertical" role="group" aria-label="...">
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Pineapple</button>
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal2">Pepperoni</button>
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal3">Mushrooms</button>
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal4">Olives</button>
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal5">Peppers</button>
</div>
<!-- <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal">Pineapple</button> -->
<!-- Modal -->
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Pineapple $1.00</h4>
</div>
<div class="modal-body">
<img src="http://image.made-in-china.com/2f0j00oYDEIFgGVawz/Canned-Pineapple-Chunk.jpg" alt="pineapple" style="width:200px;height:200px;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<!-- Trigger the modal with a button -->
<!-- <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal2">Pepperoni</button> -->
<div class="container">
<!-- Modal -->
<div class="modal fade" id="myModal2" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Pepperoni $2.00</h4>
</div>
<div class="modal-body">
<img src="http://goldenagecheese.com/blog/wp-content/uploads/2015/05/Turkey-Pepperoni1.jpg" alt="pepperoni" style="width:200px;height:200px;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<!-- Trigger the modal with a button -->
<!-- <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal3">Mushrooms</button> -->
<div class="container">
<!-- Modal -->
<div class="modal fade" id="myModal3" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Mushrooms $2.00</h4>
</div>
<div class="modal-body">
<img src="http://assets.eatingwell.com/sites/default/files/imagecache/310_square/mushrooms.jpg" alt="pepperoni" style="width:200px;height:200px;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<!-- Trigger the modal with a button -->
<!-- <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal4">Olives</button> -->
<div class="container">
<!-- Modal -->
<div class="modal fade" id="myModal4" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Olives $1.00</h4>
</div>
<div class="modal-body">
<img src="http://kingrichiespizza.com/wp-content/uploads/2014/05/Black-Olives.jpg" alt="Olives" style="width:200px;height:200px;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<!-- Trigger the modal with a button -->
<!-- <button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#myModal5">Peppers</button> -->
<div class="container">
<!-- Modal -->
<div class="modal fade" id="myModal5" role="dialog">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Peppers $2.00</h4>
</div>
<div class="modal-body">
<img src="http://www.edenbrothers.com/store/media/_GroupPages/Peppers-Sweet.jpg" alt="peppers" style="width:200px;height:200px;">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-4">
<h3>What Toppings Would You Like? Select from the left</h3>
<p>Enter your toppings from the list to the left separated with a comma.</p>
<p>(Example: pineapple, peppers )</p>
<input class="form-control" type="text" id="choice" value="">
<p>Click the Place Order button to display your choice of toppings and how much they will cost</p>
<button type="button" class="btn btn-success" id="prepare" onclick="myFunction()">Prepare Order </button>
</div>
<div class="col-sm-4">
<h3>Your order is as follows:</h3>
<p id="userinput"></p>
<p id="ordertotal"></p>
<!-- Submit Button with Popup -->
Click on Place Order to confirm your selection
<br>
<button button type="button" class="btn btn-success" id="submit" onclick="orderPlaced()">Place Order</button>
</div>
<div>
</div>
</div>
</div>
<div class="container">
<h3 class="well well-lg center-block"> Locate Us </h3>
<img src="pizza1.png" class="center-block" alt="picture of a pizza" style="width:100px;height:100px;">
<div class="row">
<div class="col-sm-4";>
<h3><span class="glyphicon glyphicon-earphone" aria-hidden="true"></span> Contact Us</h3>
<p>Hours of Operation:</p>
<p>Mon to Thurs: 10am-10pm</p>
<p>Friday to Saturday: 10am-12pm</p>
<p>Sundays: 11am-9pm</p>
<p>Call Us at 555-555-5555</p>
</div>
<div class="col-sm-8">
<div>
<h3><span class="glyphicon glyphicon-map-marker" aria-hidden="true"></span> Our Locations</h3>
<!-- Map goes here -->
<div id="map" style="width: 300px; height: 300px;"></div>
</div>
</div>
</div>
</div>
</body>
</html>