-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d64b71e
commit 1f0a0d0
Showing
13 changed files
with
101 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,25 +4,27 @@ | |
<meta charset="UTF-8"> | ||
<title>Citi Bike</title> | ||
|
||
<!-- D3 --> | ||
<!-- D3 library --> | ||
<script src="https://d3js.org/d3.v7.min.js"></script> | ||
|
||
<!-- MomentJS --> | ||
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.15.1/moment.min.js"></script> | ||
|
||
<!-- Leaflet CSS --> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" | ||
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" | ||
crossorigin=""/> | ||
|
||
<!-- 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 JavaScript code --> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" | ||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" | ||
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"> | ||
|
||
<!-- Icons --> | ||
<script src="static/js/leaflet.extra-markers.min.js"></script> | ||
|
@@ -32,13 +34,15 @@ | |
<!-- Our CSS --> | ||
<link rel="stylesheet" type="text/css" href="static/css/style.css"> | ||
</head> | ||
|
||
<body> | ||
|
||
<!-- The div that holds our map --> | ||
<div id="map-id"></div> | ||
|
||
<!-- Our JavaScript file --> | ||
<script type="text/javascript" src="static/js/logic.js"></script> | ||
|
||
</body> | ||
|
||
</html> |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
html, | ||
body, | ||
#map-id { | ||
height: 100%; | ||
padding: 0; | ||
margin: 0; | ||
} | ||
|
||
.legend { | ||
padding: 10px; | ||
font-family: Sanchez, serif; | ||
font-size: 16px; | ||
font-weight: bold; | ||
line-height: 18px; | ||
color: #555; | ||
background-color: white; | ||
border-radius: 5px; | ||
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.legend .low { | ||
color: #ec8a2e; | ||
} | ||
|
||
.legend .empty { | ||
color: #a0353a; | ||
} | ||
|
||
.legend .coming-soon { | ||
color: #f4ba48; | ||
} | ||
|
||
.legend .healthy { | ||
color: #1b904f; | ||
} | ||
|
||
.legend .out-of-order { | ||
color: #007dff; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Citi Bike</title> | ||
|
||
<!-- D3 library --> | ||
<script src="https://d3js.org/d3.v7.min.js"></script> | ||
|
||
<!-- Leaflet CSS --> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" | ||
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" | ||
crossorigin=""/> | ||
|
||
<!-- Leaflet JavaScript code --> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" | ||
integrity="sha256-20nQCchB9co0qIjJZRGuk2/Z9VM+kNiyxNV1lvTlZBo=" | ||
crossorigin=""></script> | ||
|
||
<!-- Our CSS --> | ||
<link rel="stylesheet" type="text/css" href="static/css/style.css"> | ||
</head> | ||
<body> | ||
|
||
<!-- The div that holds our map --> | ||
<div id="map-id"></div> | ||
|
||
<!-- Our JavaScript file --> | ||
<script type="text/javascript" src="static/js/logic.js"></script> | ||
</body> | ||
|
||
</html> |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.