-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdetails.html
272 lines (248 loc) · 10.7 KB
/
details.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
271
272
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Details</title>
<link rel="stylesheet" type="text/css" href="./css/layout.css" />
<link rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<!-- Nav Bar -->
<div class="nav-bar" style="text-align:left">
<a href="./index.html"><b>Oasis</b></a>
<a id="favorites" href="#">Favorites</a>
<a id="profile" style="none" href="./profile.html">Profile</a>
<!-- The Log-in Modal and button -->
<button id="loginbtn"
onclick="document.getElementById('login').style.display='block'"
class="loginbtn"><b>Log in</b></button>
<div id="login" class="modal">
<!-- The actual content of the log in -->
<div class="modal-content">
<div class="container">
<span onclick="document.getElementById('login').style.display='none'"
class="close"
title="Close Modal">×</span>
<h1>Welcome Back!</h1>
<hr>
<b>Email</b> <b style="color:red">*</b><input id="logEmail" class="input" type="text" placeholder="Enter Email" name="email" required>
<br />
<b>Password </b> <b style="color:red">*</b>
<input id="logPassword" class="input" type="password" placeholder="Enter Password" name="psw" required>
<div class="clearfix">
<button id="btnLogIn" type="submit" class="agreebtn">Login</button>
<button type="button"
onclick="document.getElementById('login').style.display='none'"
class="cancelbtn">Cancel</button>
</div>
</div>
</div>
</div>
<!-- The sign-up modal and button -->
<button id="signupbtn"
onclick="document.getElementById('signup').style.display='block'"
class="signupbtn"><b>Sign Up</b></button>
<div id="signup" class="modal">
<span onclick="document.getElementById('signup').style.display='none'"
class="close"
title="Close Modal">×</span>
<!-- The actual content -->
<div class="modal-content">
<div class="container">
<h1>Join Oasis</h1>
<h5>Let's get started!</h5>
<hr>
<b>Email</b>
<input id="signEmail" class="input" type="text" placeholder="Enter Email" name="email" required>
<br />
<b>Password</b>
<input id="signPassword" class="input" type="password" placeholder="Enter Password" name="psw" required>
<br />
<b>Repeat Password</b>
<input class="input" type="password" placeholder="Repeat Password" name="psw-repeat" required>
<div class="clearfix">
<button id="btnSignUp" type="submit" class="agreebtn">Sign Up</button>
<button type="button"
onclick="document.getElementById('signup').style.display='none'"
class="cancelbtn">Cancel</button>
</div>
</div>
</div>
</div>
<!-- The logout button -->
<button id="btnLogOut"
style="display:none"
class="logoutbtn">Log Out</button>
</div>
<script id="details-template" type="text/x-handlebars-template">
<div style="display:inherit">
<div class="event" style="width:40%">
<img class="event-image" src="./images/{{image}}.jpg" />
<div class="info">
<h3>{{name}}</h3>
<div style="display:flex">
<div>
<p>
${{price}} /hr
<br />
{{location}}
</p>
</div>
<div id="reviews-stars">
<span id="0" class="fa fa-star"></span>
<span id="1" class="fa fa-star"></span>
<span id="2"class="fa fa-star"></span>
<span id="3"class="fa fa-star"></span>
<span id="4"class="fa fa-star"></span>
<br/>
<button onclick="document.getElementById('reviews').style.display='block'"style="margin-left: 33px;">Reviews</button>
</div>
</div>
</div>
</div>
<div class="event-info">
<span>
Enjoy {{name}} in the beautiful {{location}}
<br />
{{description}}
<br />
Max Capacity - {{capacity}}
<br />
<hr>
<br />
Please contact leaser with any questions!
<br />
{{contemail}}
{{contnumber}}
</span>
</div>
</div>
</script>
<div style="margin: 2% 15%">
<div id="details" style="display:flex">
</div>
<div id="moreDetails" style="text-align:center">
<div id="reviews" class="modal">
<span onclick="document.getElementById('reviews').style.display='none'" class="close" title="Close Modal">×</span>
<div class="modal-content">
<div class="container">
<h1>Reviews</h1>
<span id="0-modal" class="fa fa-star"></span>
<span id="1-modal" class="fa fa-star"></span>
<span id="2-modal"class="fa fa-star"></span>
<span id="3-modal"class="fa fa-star"></span>
<span id="4-modal"class="fa fa-star"></span>
<h3>Really hard to find some place to sit</h3>
<div id="myReview" style="display:none">
<span id="0-review" class="fa fa-star"></span>
<span id="1-review" class="fa fa-star"></span>
<span id="2-review"class="fa fa-star"></span>
<span id="3-review"class="fa fa-star"></span>
<span id="4-review"class="fa fa-star"></span>
<h3 id="myReviewh3"></h3>
</div>
<br />
How many stars?
<input id="reviewStars" type="number" placeholder="5" max="5" min= "0" value="0" line-height:/>
<br />
<br/>
<input id="reviewText" placeholder="Your Review here"type="text" style="width: 300px;height: 50px;" value=""/>
<br />
<br/>
<button onclick="submitted()">Submit a review</button>
</div>
</div>
</div>
<div id="catering-modal" class="modal">
<span onclick="document.getElementById('catering-modal').style.display='none'" class="close" title="Close Modal">×</span>
<div class="modal-content">
<div class="container">
<h1>Catering</h1>
<h3 id="cateringPrice">$200</h3>
<p>
Enjoy delicious catering from the following restaurants Oasis has teamed up with!
<br />
Chick Fil A <br />
Contact chickfila@gmail.com or (702)(263)(2737) for more information
</p>
<button id="catering" onclick="added(this.id)">Add to cart</button>
</div>
</div>
</div>
<div id="transportation-modal" class="modal">
<span onclick="document.getElementById('transportation-modal').style.display='none'" class="close" title="Close Modal">×</span>
<div class="modal-content">
<div class="container">
<h1>Transportation</h1>
<h3 id="transportationPrice">$250</h3>
<p>
Treat you guests and yourself with transportation services! <br />
Mario’s Party Limo & Tours → $250 per limo <br />
Contact jimhalbert@yahoo.com or (627)(238)(2731) for more information
</p>
<button id="transportation" onclick="added(this.id)">Add to cart</button>
</div>
</div>
</div>
<div id="entertainment-modal" class="modal">
<span onclick="document.getElementById('entertainment-modal').style.display='none'" class="close" title="Close Modal">×</span>
<div class="modal-content">
<div class="container">
<h1>Entertainment</h1>
<h3 id="entertainmentPrice">$500</h3>
<p>
Save yourself the hassle of searching for entertainment services by hiring our favorite performers, comedians, and more!
<br />
Art Tatum (performer, jazz) <br />
Contact: arttatum@gmail.com for more information
</p>
<button id="entertainment" onclick="added(this.id)">Add to cart</button>
</div>
</div>
</div>
<div id="planner-modal" class="modal">
<span onclick="document.getElementById('planner-modal').style.display='none'" class="close" title="Close Modal">×</span>
<div class="modal-content">
<div class="container">
<h1>Planner</h1>
<h3 id="plannerPrice">$100</h3>
<p>
Save yourself the stress of your planning your event by hiring one of Oasis’s own event planners!
<br />
Amanda Hawk Event Planning and Co. → $100 per event <br />
Contact: amandahawk@yahoo.com for more information
</p>
<button id="planner" onclick="added(this.id)">Add to cart</button>
</div>
</div>
</div>
<div id="service-holder" class="service"style="line-height: 2;">
<h3 style="margin-left: -30%; margin-top: 40px;">Add these additional services to your events. Click for more details</h3>
<div id="service-column1"style="margin-left: -65%;">
<button id="cateringBtn" onclick="document.getElementById('catering-modal').style.display='block'"style="margin-left: -30%;">Catering</button>
<br />
<button id="transportationBtn" onclick="document.getElementById('transportation-modal').style.display='block'">Transportation</button>
</div>
<div id="service-column2" >
<button id="entertainmentBtn" onclick="document.getElementById('entertainment-modal').style.display='block'">Entertainment</button>
<br />
<button id="plannerBtn" onclick="document.getElementById('planner-modal').style.display='block'">Event Planner</button>
</div>
<br/>
<br/>
<div id="return-buttons">
<button id="checkout" onclick="window.location.href='checkout.html'" style="background-color: #009688;color:white ;border-radius: 10px;"><b>Proceed to checkout</b></button>
<br/>
<button onclick="goBack()"style="background-color: rgba(153, 153, 153, 0.2);border-radius: 10px; width: 97% ;">Go back</button>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery.js"></script>
<script src="js/details.js"></script>
<script src="js/buttons.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/handlebars-v4.0.11.js"></script>
</body>
</html>