-
Notifications
You must be signed in to change notification settings - Fork 3
/
table.html
234 lines (204 loc) · 10.1 KB
/
table.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
<!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>
</li>
<!-- <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown
</a>
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
<a class="dropdown-item" href="#">Most Popular Routes</a>
<a class="dropdown-item" href="#">Another action</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</li> -->
</ul>
<form class="form-inline my-2 my-lg-0">
<!-- <input class="form-control mr-sm-2" type="search" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success my-2 my-sm-0" type="submit">Search</button> -->
</form>
</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>
<!-- 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">
<!-- 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><h3 style="text-align: center; margin-top: 100px;"></h3></a>
<!-- <p><a class="btn btn-primary btn-lg" href="/scrape" role="button">Get Data!</a></p> -->
</div>
</div>
<div class="table-stripped" >
</div>
<div class="hero text-center">
<h1>Data Table</h1>
<p>Chicago Divvy Data</p>
</div>
<div class="container">
<div class="row margin-top-50">
<div class="col-md-2">
<aside class="filters">
<div class="panel panel-default">
<div class="panel-heading">Filter Search</div>
<div class="panel-body">
<form>
<div class="form-group">
<ul class="list-group" id="filters">
<li class="filter list-group-item">
<label for="date">Enter a Location</label>
<input class="form-control" id="place" type="text" placeholder="Clark St">
</li>
<li class="filter list-group-item">
<label for="city">Enter a Capacity</label>
<input class="form-control" id="capacity" type="text" placeholder="25">
</li>
<!-- <li class="filter list-group-item">
<label for="city">Enter a Station Type</label>
<input class="form-control" id="station-type" type="text" placeholder="classic">
</li> -->
<!-- <li class="filter list-group-item">
<label for="city">Enter a Country</label>
<input class="form-control" id="country" type="text" placeholder="us">
</li>
<li class="filter list-group-item">
<label for="city">Enter a UFO Shape</label>
<input class="form-control" id="shape" type="text" placeholder="triangle"> -->
</li>
</ul>
</div>
<button id="filter-btn" type="button" class="btn btn-default">Filter Table</button>
</form>
</div>
</div>
</aside>
</div>
<div class="col-md-10">
<div id="table-area" class="">
<table id="divvy-table" class="table table-striped">
<thead>
<tr>
<th class="table-head">Location</th>
<th class="table-head">Capacity</th>
<th class="table-head">Station Type</th>
<th class="table-head">Latitude</th>
<th class="table-head">Longitude</th>
</tr>
</thead>
<tbody></tbody>
</table>
</div>
</div>
</div>
</div>
<footer class="footer">
<!-- <div class="box-set" style="width:auto;height:600px;background-color: gray;"> -->
<!-- <div id="map-id"></div> -->
<!-- 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/logic_cmd.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>
</div>
</div> -->
</div>
<script src="static/js/table_start.js"></script>
</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>