-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
177 lines (147 loc) · 7.98 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> Plan Your Divvy Trip</title>
<link rel="icon" href="static/img/divvy_flavicon.svg" type="image/icon type">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
<link rel="stylesheet" href="static/css/style.css">
<nav class="navbar navbar-expand-md fixed-top">
<a class="navbar-brand" href="#"><img src="Icons_White/DIVVY_logo.png" alt="DIVVY Logo" style="width:100px;height:29px"></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="table.html">Table</a>
</ul>
</div>
</nav>
<!-- D3 Library -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/d3/5.7.0/d3.min.js"
integrity="sha512-L5K9Bf852XyB+wrvRFGwWzfhVI+TZqJlgwzX9yvrfhILuzIZfrcQO4au9D9eVDnkQ6oqYr9v2QwJdFo+eKE50Q=="
crossorigin="anonymous"></script>
<!-- MomentJS -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.15.1/moment.min.js"></script>
<!-- Leaflet JavaScript code -->
<script src="https://unpkg.com/leaflet@1.3.3/dist/leaflet.js"
integrity="sha512-tAGcCfR4Sc5ZP5ZoVz0quoZDYX5aCtEm/eu1KhSLj2c9eFrylXZknQYmxUssFaVJKvvc0dJQixhGjG2yXWiV9Q=="
crossorigin=""></script>
<!-- leaflet ant path -->
<script type="text/javascript" src="static/js/leaflet-ant-path.js"></script>
<!-- polyfill.io is the library for using newer JavaScript features (such as Object.assign) in older browers. -->
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css?family=Sanchez" rel="stylesheet">
<!-- Leaflet CSS -->
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.3/dist/leaflet.css"
integrity="sha512-Rksm5RenBEKSKFjgI3a41vrjkw4EVPlJ3+OiI65vTjIdo9brlAacEuKOiQ5OFh7cOI1bkDwLqdLw3Zg0cRJAAQ=="
crossorigin=""/>
<!-- Marker cluster JavaScript code -->
<script type="text/javascript" src="https://unpkg.com/leaflet.markercluster@1.0.3/dist/leaflet.markercluster.js"></script>
<!-- Icons -->
<script src="static/js/leaflet.extra-markers.min.js"></script>
<link rel="stylesheet" type="text/css" href="http://code.ionicframework.com/ionicons/2.0.1/css/ionicons.min.css">
<link rel="stylesheet" href="static/css/leaflet.extra-markers.min.css">
<!-- Marker cluster CSS -->
<link rel="stylesheet" type="text/css" href="https://unpkg.com/leaflet.markercluster@1.0.3/dist/MarkerCluster.css">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/leaflet.markercluster@1.0.3/dist/MarkerCluster.Default.css">
<!---->
<!-- Our CSS -->
<link rel="stylesheet" type="text/css" href="static/css/style.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-12">
<a><p><h3 style="text-align: center; margin-top: 100px;">Plan Your Divvy Trip</h3></p></a>
<a><p class="text-center">Click an area to find a station near you or your destination.</p><p class="text-center">Prefer electric bikes over classic models? <strong>Pick your bike type</strong> using the buttons above the map. <br>View <strong>Chicago landmarks</strong> and the <strong>10 most popular routes</strong> by choosing layers in the right corner of the map.</p> </a><br>
<!-- <p><a class="btn btn-primary btn-lg" href="/scrape" role="button">Get Data!</a></p> -->
</div>
</div>
<div class="btn-group" onclick="bikeeToggle(this.value)" role="group" aria-label="Basic outlined example">
<button type="button" value="ebikes" class="btn btn-outline-primary">Electric Bikes</button>
</div>
<div class="btn-group" onclick="bikecToggle(this.value)" role="group" aria-label="Basic outlined example">
<button type="button" value="classic" class="btn btn-outline-primary">Classic Bikes</button>
</div>
<a class="btn btn-outline-primary" aria-label="Basic outlined example" class="btn btn-outline-primary" href="index.html"> <span type="button">All Bikes</span></a>
<!-- <div class="btn-group" onclick="bikeaToggle(this.value)" role="group" aria-label="Basic outlined example">
<button type="button" value="reset" class="btn btn-outline-primary">All Bikes</button>
</div> -->
<div class="box-set" style="width:auto;height:600px;background-color: gray;">
<div id="map-id"></div>
<br>
<br>
<!-- Our JavaScript file -->
<!-- <script type="text/javascript" src="static/js/logic.js"></script> -->
<!-- use script below for 10 most popular routes -->
<script type="text/javascript" src="static/js/lines.js"></script>
<script type="text/javascript" src="static/js/logic.js"></script>
<!-- <script type="text/javascript" src="static/js/logic_ant.js"></script> -->
<!-- <h1 style="margin-top: 10px;"> holder for leaflet map</h1> -->
<!-- <figure class="box box-1">
<h3 style="text-align: center;">About</h3>
</figure> -->
</div>
<br></br>
<br></br>
</div>
</div>
</div>
</body>
<!-- Footer -->
<footer class="bg-light text-left text-lg-start" style="background-color: #79b3cc;"><footer style="footerpadding">
<!-- Grid container -->
<div class="container p-4">
<!--Grid row-->
<div class="row">
<!--Grid column-->
<div class="col-lg-6 col-md-12 mb-4 mb-md-0">
<h5 class="text-uppercase">ABOUT THIS SITE</h5>
<p> Data from
<a href="https://gbfs.divvybikes.com/gbfs/gbfs.json"> gbfs.divvybikes.com</a>. Compiled and coded by Team Hotwheels for Northwest University Bootcamp, Coding and Data Visualizations. Team Memebers: Ruth Hinkle, Charlie Denys, Nabila Farooqi, Drew McBride & Andrew Neher.
</p>
</div>
<!--Grid column-->
<div class="col-lg-3 col-md-6 mb-4 mb-md-0">
<h5 class="text-uppercase mb-0">Links</h5>
<ul class="list-unstyled">
<li>
<a href="https://github.com/ruthhinkle" class="text-dark">Ruth Hinkle</a>
</li>
<li>
<a href="https://github.com/CMDenys" class="text-dark">Charlie Denys</a>
</li>
<li>
<a href="https://github.com/nfarooqi92" class="text-dark">Nabila Farooqi</a>
</li>
<li>
<a href="https://github.com/drewmcbride" class="text-dark">Drew McBride</a>
</li>
<li>
<a href="https://github.com/andrewneher" class="text-dark">Andrew Neher</a>
</li>
</ul>
</div>
<!--Grid column-->
</div>
<!--Grid row-->
</div>
</style>
<!-- Grid container -->
<!-- Copyright -->
<div class="text-center p-3" style="background-color: #41b4e4;">
© 2021 Copyright:
<a class="text-dark" href="https://mdbootstrap.com/">MDBootstrap.com</a>
</div>
<!-- Copyright -->
</footer>
<!-- Footer -->
</html>