forked from Caleb-Mattson/Project-01
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
140 lines (123 loc) · 5.48 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta data about site -->
<title>UnBore Me!</title>
<link rel="icon" href="assets/images/unboremini.png">
<meta name="description" content="Search thousands of events in your area with UnBore ME!">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- CSS: Reset, Bootstrap and Foundation -->
<link rel="stylesheet" href="assets/reset.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css"
integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css"
integrity="sha256-GSio8qamaXapM8Fq9JYdGNTvk/dgs+cMLgPeevOYEx0= sha384-wAweiGTn38CY2DSwAaEffed6iMeflc0FMiuptanbN4J+ib+342gKGpvYRWubPd/+ sha512-QHEb6jOC8SaGTmYmGU19u2FhIfeG+t/hSacIWPpDzOp5yygnthL3JwnilM7LM1dOAbJv62R+/FICfsrKUqv4Gg=="
crossorigin="anonymous">
<!-- Google Font -->
<link href="https://fonts.googleapis.com/css?family=Bowlby+One+SC&display=swap" rel="stylesheet">
<!-- External Style Sheet-->
<link rel="stylesheet" href="assets/style.css">
</head>
<body>
<div id="fb-root"></div>
<script async defer crossorigin="anonymous"
src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v5.0&appId=136542964087660&autoLogAppEvents=1"></script>
<div class="jumbotron">
<img src="assets/images/unboreme.png" id="headerPic">
</div>
<div class="container">
<!-- User Input Section -->
<!-- Category-->
<div class="row">
<form class="col-md-12 text-center">
<h3 class="text-center font-weight-bold">Category</h3>
<select id="category">
<option value="">Select One</option>
<option value="Food">Food</option>
<option value="Music">Music</option>
<option value="Comedy">Comedy</option>
<option value="literature">Literature</option>
<option value="Art">Art</option>
<option value="Carnival">Carnival</option>
<option value="Cultural">Cultural</option>
<option value="Trade Show">Trade Show</option>
<option value="Sports">Sports</option>
</select>
</label>
<!-- City/State input-->
<div class="form-group">
<label for="state" class="col-md-12">
<h3 class="text-center font-weight-bold">Location</h3>
</label>
<input type="text" class="form-control text-center" id="state" placeholder="City, State">
</div>
<!-- Radius input -->
<form class="col-md-12 text-center">
<h3 class="text-center font-weight-bold">Search Radius</h3>
<select id="radius">
<option value="5">5 Miles</option>
<option value="10">10 Miles</option>
<option value="25">25 Miles</option>
<option value="50">50 Miles</option>
</select>
</label>
<!--Submit Button-->
<div class="col-md-12 text-center mt-4">
<button type="submit" id="submitSearch" class="btn btn-primary">Submit</button>
</div>
</form>
</div>
<!-- This is where the event cards will be appended -->
<div id="resultCard">
</div>
<!-- Modal for Map -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myModalLabel">Event Location</h4>
<button type="button" id="close" class="close" data-dismiss="modal" aria-label="Close"><span
aria-hidden="true">×</span></button>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-12 modal_body_content">
<p>Some contents...</p>
</div>
</div>
<div class="row">
<div class="col-md-12 modal_body_map">
<div class="location-map" id="location-map">
<div style="width: 600px; height: 400px;" id="map" class="col-md-12"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 modal_body_end">
<p>Else...</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Google Maps api-->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCoMvdbTu1ucaGM-qE6500rBOpuah5YQ_M"></script>
<!-- jquery -->
<script src="https://code.jquery.com/jquery-3.4.1.js" integrity="sha256-WpOohJOqMqqyKL9FccASB9O0KwACQJpFTUBLTYOVvVU="
crossorigin="anonymous"></script>
<!--bootstrap popper.js -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"
integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo"
crossorigin="anonymous"></script>
<!--bootstrap javascript plugins -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"
integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6"
crossorigin="anonymous"></script>
<!-- firebaselink -->
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.7.0/firebase-database.js"></script>
<script src="assets/app.js"></script>
</body>
</html>