-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathevent-map.html
173 lines (165 loc) · 8.65 KB
/
event-map.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
<!DOCTYPE html>
<!--Custom CSS/JS/PHP files used here: 'index.css', 'event-map.js'-->
<html>
<head>
<title>Parking Vu</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="css/index.css">
<link rel="stylesheet" href="css/event-map.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<meta name="google-signin-scope" content="profile email">
<meta name="google-signin-client_id" content="512485883540-4bq08gsc34i10p4blggc4660k4o8vqvd.apps.googleusercontent.com">
<script src="https://apis.google.com/js/platform.js" async defer></script>
</head>
<body>
<!-- Navigation Menu -->
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-primary">
<a class="navbar-brand" href="./index.html">Parking Vu</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggler" aria-controls="navbarToggler"
aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarToggler">
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" href="./index.html">Home</a>
</li>
<li class="nav-item active">
<a class="nav-link" href="./event-map.html">Events</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./driver-access.html">Driver Access</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./creation-page.html">New Lot/Event</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./owner-attendant-lot-access.html">Worker Access</a>
</li>
<!--<li class="nav-item">
<a class="nav-link" href="./login-page.html">Login/Register</a>
</li>-->
</ul>
</div>
</nav>
<!--Google Sign-In Button-->
<script src ="js/g-sign-in.js"></script>
<div class="g-signin2" data-onsuccess="onSignIn" data-theme="dark"></div>
<div class="eventTable table-responsive" style="overflow-x:auto">
<table class="table table-bordered" id="events">
<tr>
<th>Event</th>
<th>Location</th>
<th>Date & Time</th>
<th>Details</th>
<th>Save/Select</th>
</tr>
<tr>
<td>CSC 430</td>
<td>501 Dan Reneau Dr. Ruston,LA</td>
<td> 2/24/18 10:00 AM</td>
<td>
<button type="button" class="btn btn-primary btn-sm" data-toggle="popover" data-container="body" data-trigger="focus" data-placement="bottom" data-content="And here's some amazing content. It's very engaging. Right?">
Details
</button>
</td>
<td>
<div class="dropdown">
<button class="btn btn-primary btn-sm dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Save/Select
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Save</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Select</a>
</div>
</div>
</td>
</tr>
<tr>
<td>CSC 430</td>
<td>501 Dan Reneau Dr. Ruston,LA</td>
<td> 2/24/18 10:00 AM</td>
<td>
<button type="button" class="btn btn-primary btn-sm" data-toggle="popover" data-container="body" data-trigger="focus" data-placement="bottom" data-content="And here's some amazing content. It's very engaging. Right?">
Details
</button>
</td>
<td>
<div class="dropdown">
<button class="btn btn-primary btn-sm dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Save/Select
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Save</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Select</a>
</div>
</div>
</td>
</tr>
<tr>
<td>CSC 430</td>
<td>501 Dan Reneau Dr. Ruston,LA</td>
<td> 2/24/18 10:00 AM</td>
<td>
<button type="button" class="btn btn-primary btn-sm" data-toggle="popover" data-container="body" data-trigger="focus" data-placement="bottom" data-content="And here's some amazing content. It's very engaging. Right?">
Details
</button>
</td>
<td>
<div class="dropdown">
<button class="btn btn-primary btn-sm dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Save/Select
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Save</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Select</a>
</div>
</div>
</td>
</tr>
</table>
</div>
<script src="js\event-map.js"></script>
<center>
<div id="googleMap"></div>
<script>
function myMap() {
var mapProp = {
center: new google.maps.LatLng(32.52938, -92.649237),
zoom: 14
};
var map = new google.maps.Map(document.getElementById("googleMap"), mapProp);
var center;
function calculateCenter() {
center = map.getCenter();
}
google.maps.event.addDomListener(map, 'idle', function () {
calculateCenter();
});
google.maps.event.addDomListener(window, 'resize', function () {
map.setCenter(center);
});
}
</script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBse2wOe_D6lYsRj7VOgzTT-1n8fJdxocE&callback=myMap"></script>
</center>
<div class="footer">
<p>Copyright © parkingvu.com</p>
</div>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
<script> $(function (){
$('[data-toggle="popover"]').popover()
});
$('.popover-dismiss').popover({
trigger: 'focus'
});</script>
</body>
</html>