-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathitemsearch.html
457 lines (422 loc) · 21.5 KB
/
itemsearch.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
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
<!DOCTYPE html>
<html>
<head>
<title>Item Search | rent.me</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="css/itemsearch.css">
<script src="https://kit.fontawesome.com/9eafc50441.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="grid">
<div class="box1">
<nav class="navbar navbar-expand-md navbar-light bg-light">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand mx-auto" href="home.html">rent.me</a>
<ul class="navbar-nav float-md-right login-button">
<li class="nav-item">
<a class="nav-link" id="loginButton" href="#">Log In</a>
</li>
</ul>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="profile.html">Profile</a>
</li>
<li class="nav-item">
<a class="nav-link" href="inbox.html">Messages</a>
</li>
<li class="nav-item">
<a class="nav-link" id="paymentInfoLink" href="#">Payment Info</a>
</li>
<li class="nav-item">
<a class="nav-link" id="postItemLink" href="#">Post an Item</a>
</li>
</ul>
</div>
</nav>
</div>
<div class="box2">
<div>
<h3 class="text-center">Search Results</h3>
</div>
<div id="search">
<form class="form-location">
<input type="text" class="text-center" placeholder="soccer ball">
</form>
<i class="fas fa-map-marker-alt"></i> 44 Montgomery St
<br>
<p>Use another location</p>
<iframe iframe width="425" height="350" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://www.google.com/maps/d/u/0/embed?mid=159bGHsWiWX-aHGjs0VaOhQUAPxNmeJor"></iframe>
</div>
</div>
<div class="box3">
<div class="d-flex result" id=#bernalheights>
<div class="photo">
<a href="itemdescription.html"><img src="img/soccerballsearch.jpg" alt="soccer"></a>
</div>
<div class="description bg-light">
<a href="itemdescription.html"><h4 class=font-weight-bold style="margin-bottom: .25rem;">Soccer Ball</h4></a>
<a href="itemdescription.html"><p> Bernal Heights, SF </p></a>
<a href="itemdescription.html"><h4 style="margin-bottom: 0; margin-top: .25rem;"> $1/day </h4></a>
</div>
</a>
</div>
<div class="d-flex result">
<div class="photo">
<img src="img/ball2.jpg" alt="soccer">
</div>
<div class="description bg-light">
<h4 class=font-weight-bold style="margin-bottom: .25rem;">Soccer Ball</h4>
<p> Cow Hollow, SF </p>
<h4 style="margin-bottom: 0; margin-top: .25rem;"> $5/day </h4>
</div>
</div>
<div class="d-flex result">
<div class="photo">
<img src="img/ball5.jpg" alt="soccer">
</div>
<div class="description bg-light">
<h4 class=font-weight-bold style="margin-bottom: .25rem;">Soccer Ball</h4>
<p> Chinatown, SF </p>
<h4 style="margin-bottom: 0; margin-top: .25rem;"> $1/day </h4>
</div>
</div>
<div class="d-flex result">
<div class="photo">
<img src="img/ball4.jpg" alt="soccer">
</div>
<div class="description bg-light">
<h4 class=font-weight-bold style="margin-bottom: .25rem;">Soccer Ball</h4>
<p> Haight-Ashbury, SF </p>
<h4 style="margin-bottom: 0; margin-top: .25rem;"> $2/day </h4>
</div>
</div>
</div>
<div class="box5 centering">
<p>Copyright 2019 rent.me. All Rights Reserved.</p>
</div>
</div>
<!-- Login Modal -->
<div class="modal fade" id="loginModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title text-center">Login to rent.me</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body" style="padding:40px 50px;">
<form role="form">
<div class="form-group">
<label for="usrname">Username</label>
<input type="text" class="form-control" id="usrname" placeholder="Enter email">
</div>
<div class="form-group">
<label for="psw">Password</label>
<input type="text" class="form-control" id="psw" placeholder="Enter password">
</div>
<div class="checkbox">
<label><input type="checkbox" value="">Keep me signed in</label>
</div>
<button type="submit" class="btn btn-success btn-block"><span class="glyphicon glyphicon-off"></span> Login</button>
</form>
</div>
<!-- Modal Footer -->
<div class="modal-footer">
<div class="mr-auto">
<p>Not a member? <a href="#">Sign Up</a></p>
<p>Forgot <a href="#">Password?</a></p>
</div>
<button type="submit" class="btn btn-danger btn-default" data-dismiss="modal"><span class="glyphicon glyphicon-remove"></span>Cancel</button>
</div>
</div>
</div>
</div>
<!-- Payment Modal -->
<div class="modal fade" id="paymentInfoModal" role="dialog">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title text-center">Payment Info</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<form accept-charset="UTF-8" action="/" role="form">
<div class="form-row">
<div class="col-sm-12 form-group required">
<label class="control-label" for="cardholder">Name on Card</label>
<input type="text" class="form-control" id="cardholder" placeholder="First Last">
</div>
</div>
<div class="form-row">
<div class="col-sm-12 form-group required">
<label class="control-label" for="cardnumber">Card Number</label>
<input autocomplete="off" type="text" class="form-control card-number no-border" id="cardnumber" size="20">
</div>
</div>
<div class="form-row">
<div class="col-4 mr-auto form-group cvc required">
<label class="control-label" for="CVV">CVV</label>
<input autocomplete="off" type="text" class="form-control card-cvc" id="CVV" placeholder="XXX" size="3">
</div>
<div class="col-4 ml-auto float-right form-group expiration required">
<label class="control-label" for="ExpMon">Exp Month</label>
<input type="text" class="form-control" id="ExpMon" placeholder="MM" size=2>
</div>
<div class="col-4 ml-auto float-right form-group expiration required">
<label class="control-label" for="ExpYear">Year</label>
<input type="text" class="form-control" placeholder="YYYY" id="ExpYear" size=4>
</div>
</div>
</form>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-success" data-dismiss="modal">Save</button>
</div>
</div>
</div>
</div>
<!-- Add Item Modal - Item Info -->
<div class="modal fade" id="postItemModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-center">Post an Item</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-6 mr-auto">
<label class="control-label" for="itemName">Item</label>
</div>
<div class="col-6 ml-auto">
<input type="text" class="form-control" placeholder="" id="itemName">
</div>
</div>
<div class="row mb-2">
<div class="col-6 mr-auto">
<label class="control-label" for="itemCondition">Condition</label>
</div>
<div class="col-6 ml-auto">
<select class="form-control input-small" id="itemCondition">
<option>Excellent</option>
<option>Good</option>
<option>Fair</option>
<option>Poor</option>
</select>
</div>
</div>
<div class="row mb-2">
<div class="col-6 mr-auto">
<label class="control-label" for="itemDeposit">Deposit</label>
</div>
<div class="col-6 ml-auto">
<input type="text" class="form-control" id="itemDeposit" placeholder="$">
</div>
</div>
<div class="row mb-2">
<div class="col-6 mr-auto">
<label class="control-label" for="itemPrice">Per Day</label>
</div>
<div class="col-6 ml-auto">
<input type="text" class="form-control" id="itemPrice" placeholder="$">
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#postItemModal2" data-dismiss="modal">Next</button>
</div>
</div>
</div>
</div>
<!-- Add Item Modal - Description -->
<div id="postItemModal2" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-center">Post an Item</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-8 mx-auto">
<p>Add a short description of the item.</p>
<p>Good descriptions get more rent requests!</p>
</div>
</div>
<div class="row mb-2">
<div class="col-8 mx-auto">
<textarea class="form-control" id="exampleFormControlTextarea1" rows="4"></textarea>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger mr-auto modal-close" data-toggle="modal" data-target="#postItemModal" data-dismiss="modal">Back</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#postItemModal3" data-dismiss="modal">Next</button>
</div>
</div>
</div>
</div>
<!-- Add Item Modal - Location -->
<div id="postItemModal3" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title text-center">Post an Item</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row mb-2">
<div class="form-group col-12 mx-auto text-center">
<label for="code">Where is the item located?</label>
</div>
</div>
<div class="row mb-2">
<div class="mx-auto">
<input type="text" name="form-control" id="itemLocation" placeholder="San Francisco">
</div>
</div>
<div class="row mb-2">
<div class="col-4 mx-auto">
<a href="#">Use my location</a>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger mr-auto modal-close" data-toggle="modal" data-target="#postItemModal2" data-dismiss="modal">Back</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#postItemModal4" data-dismiss="modal">Next</button>
</div>
</div>
</div>
</div>
<!-- Add Item Modal – Upload Image -->
<div id="postItemModal4" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header d-block">
<button type="button" class="close float-left" data-dismiss="modal">×</button>
<h4 class="modal-title text-center">Post an Item</h4>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-7 mx-auto">
<p>Upload an image of your item.</p>
</div>
</div>
<div class="row mb-2">
<div class="col-12 mx-auto">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroupFileAddon01">Upload</span>
</div>
<div class="custom-file">
<input type="file" class="custom-file-input" id="inputGroupFile01"
aria-describedby="inputGroupFileAddon01">
<label class="custom-file-label" for="inputGroupFile01">Choose file</label>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger mr-auto modal-close" data-toggle="modal" data-target="#postItemModal2" data-dismiss="modal">Back</button>
<button type="button" class="btn btn-primary" data-toggle="modal" data-target="#postItemSuccessModal" data-dismiss="modal">Post</button>
</div>
</div>
</div>
</div>
<!-- Add Item Modal – Success -->
<div id="postItemSuccessModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header text-center">
<div class="container-fluid">
<div class="row">
<div class="col-12 mx-auto">
<h2 class="modal-title">Success</h2>
</div>
</div>
</div>
</div>
<div class="modal-body">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-4 mx-auto">
<i class="fas fa-check fa-7x"></i>
</div>
</div>
<div class="row mb-2">
<div class="col-8 mx-auto text-center">
<p>Your item has been posted!</p>
</div>
</div>
<div class="row mb-2">
<div class="col-6 mx-auto">
<button type="button" class="btn btn-primary btn-block" data-toggle="" data-target="" data-dismiss="modal">View Post</button>
</div>
</div>
<div class="row mb-2">
<div class="col-6 mx-auto">
<button type="button" class="btn btn-primary btn-block" data-toggle="" data-target="" data-dismiss="modal">My Profile</button>
</div>
</div>
<div class="row mb-2">
<div class="col-6 mx-auto">
<button type="button" class="btn btn-primary btn-block" data-toggle="modal" data-target="#postItemModal" data-dismiss="modal">Post Another Item</button>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger mr-auto modal-close" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script>
$(document).ready(function(){
$("#loginButton").click(function(){
$("#loginModal").modal();
});
});
$(document).ready(function() {
$("#postItemLink").click(function() {
$("#postItemModal").modal();
});
});
$(document).ready(function() {
$("#paymentInfoLink").click(function() {
$("#paymentInfoModal").modal();
});
});
</script>
</body>
</html>