forked from Copeland87/surgeprediction
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
193 lines (154 loc) · 6.77 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
<!DOCTYPE html>
<html>
<head>
<title>Surge Predictor</title>
<!-- metas -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- BootStrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u"
crossorigin="anonymous">
<!-- Cosmo CDN -->
<link rel=" stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/cosmo/bootstrap.min.css">
<!-- JQuery -->
<script src="https://code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous"></script>
<!-- BootStrap JS -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa"
crossorigin="anonymous"></script>
<!-- Moment JS -->
<script src="https://cdn.jsdelivr.net/momentjs/2.18.1/moment.min.js"></script>
<!-- CSS Links -->
<link rel="stylesheet" type="text/css" href="assets/styling/style.css">
<link rel="stylesheet" type="text/css" href="assets/styling/css2.css">
</head>
<body class="col-lg-12 col-md-12 col-sm-12 col-xs-12" id="bg1" background="assets/images/background2.jpg">
<!-- Nav Bar -->
<nav class="navbar navbar-default cbg">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#mainnavi">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="#">Prime Time Avoidance Engine</a>
<form method="get" action="http://www.google.com/search">
<div>
<table border="0" align="center" cellpadding="0">
<tr>
<td>
<input type="text" name="q" size="25" style="color:#808080;" maxlength="255" value="Google site search" onfocus="if(this.value==this.defaultValue)this.value=''; this.style.color='black';"
onblur="if(this.value=='')this.value=this.defaultValue;" />
<input id="midnight" type="submit" value="Go!" />
<input type="hidden" name="sitesearch" value="" /></td>
</tr>
</table>
</div>
</form>
</div>
<div class="collapse navbar-collapse" id="mainnavi">
<ul class="nav navbar-nav navbar-right" id="#">
<li class="cbg2"><a href="https://help.lyft.com/hc/en-us/articles/214218147-How-to-calculate-a-Lyft-ride-s-cost" target="_blank">About Lyft</a></li>
<li class="cbg2 cbg3"><a href="https://www.lyft.com/cities" target="_blank">Calculate Your Lyft</a></li>
<li class="cbg2 cbg3"><a href="https://www.lyft.com/airports#airport-list" target="_blank">Air Lyft</a></li>
</ul>
</div>
</div>
</nav>
<!-- NAVBAR END -->
<div class="clearfix"></div>
<!-- Main Page -->
<!-- Page Head -->
<div class="container-fluid">
<h3 class="intro">Welcome to the Prime Time Fee Avoidance Engine</h3>
<p class="intro">Here you will find information based on current and upcoming environmental factors that will help you determine the best
times to take a Lyft vehicle based on when you can expect premium rates. Factors include: traffic conditions, events,
and weather.</p>
</div>
<!-- Delay Percentages -->
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<ul class="list-group text-center">
<li class="list-group-item cbg">Chance of Delay</li>
</ul>
<canvas style="height: auto; border: 2px solid; background-Color: #31237d" id="canvas1"></canvas>
</div>
</div>
<!-- Delay Percentages End -->
<!-- Ride -->
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12">
<ul class="list-group text-center">
<li class="list-group-item cbg">Schedule Your Ride</li>
</ul>
<div class="alignride" id="lyft-web-button-parent"></div>
<br>
<div class="image-responsive alignride"><a href="https://ride.lyft.com/?center=38.8976226,-94.7225893&partner=x6g4WgFRV5po&rideType=lyft&zoom=16" target="_blank"><img id="lbtnl" src="assets/images/lyftbutton.png"></a></div><br>
</div>
<!-- Ride End -->
<div class="clearfix"></div><br>
<!-- Local Roads -->
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<ul class="list-group text-center">
<li class="list-group-item cbg">Your Local Roads</li>
</ul>
<!-- Buttons for Map Control -->
<button id="traffic-b">Traffic</button>
<button id="transit-b">Transit</button>
<button id="bike-b">Bike</button>
<div style="height: 500px; border: 2px solid;" id="map"></div>
</div>
<!-- Local Roads End -->
<div class="clearfix"></div><br>
<!-- weather -->
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center container-fluid" id="#">
<ul class="list-group">
<li class="list-group-item cbg">Weather Sat</li>
</ul>
<!-- <canvas style="height: 300px" id="satMap"></canvas> -->
<div class="" id="satMap" style="margin-bottom: 25px; height: 300px; width: auto">
</div>
</div>
<!-- events -->
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 text-center" id="#">
<ul class="list-group">
<li class="list-group-item cbg">Weather Events</li>
</ul>
<!-- <canvas style="height: 300px"></canvas> -->
<div class="#" id="events" style="color: #FFE83C; font-weight:bolder; font-size: 2.3em; text-align: left;">
<p>Hourly Chance of Precipitation:</p>
<ul>
<li id="pop0">Current: </li>
<li id="pop1">Next Hour: </li>
<li id="pop2">Two Hours from Now: </li>
</div>
</div>
<div class="clearfix"></div><br>
<div class="footer-bottom fc1" style="border: 2px solid;">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
<br>
<div class="#">
®Prime Time Avoidance Engine 2017
</div>
<br>
</div>
</div>
</div>
</div>
<!-- Firebase JS -->
<script src="https://www.gstatic.com/firebasejs/4.2.0/firebase.js"></script>
<!-- JS Link -->
<script src="assets/javascript/tmap.js"></script>
<script src="assets/javascript/lyft.js"></script>
<script src="assets/javascript/api.js"></script>
<!-- Map JS Link -->
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyCcFc_Epx8h090pEC12Trq3RGh8dOjwZw4&callback=initMap"></script>
<!-- Link to chart -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.min.js"></script>
<script src="assets/javascript/chart.js"></script>
<!-- Footer -->
</body>
</html>