-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from jaluebbe/dev/change_static_path
moved static path references to host static files on nginx. Created redirect placeholders to support the static version on GitHub pages.
- Loading branch information
Showing
17 changed files
with
331 additions
and
279 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
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
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 |
---|---|---|
|
@@ -2,86 +2,11 @@ | |
<html lang="en"> | ||
|
||
<head> | ||
<link rel="shortcut icon" type="image/x-icon" href="static/favicon.ico"> | ||
<title>flightmap europe static</title> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.css" integrity="sha384-d7pQbIswLsqVbYoAoHHlzPt+fmjkMwiXW/fvtIgK2r1u1bZXvGzL9HICUg4DKSgO" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.css" integrity="sha384-lPzjPsFQL6te2x+VxmV6q1DpRxpRk0tmnl2cpwAO5y04ESyc752tnEWPKDfl1olr" crossorigin="anonymous"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.Default.css" integrity="sha384-5kMSQJ6S4Qj5i09mtMNrWpSi8iXw230pKU76xTmrpezGnNJQzj0NzXjQLLg+jE7k" crossorigin="anonymous"> | ||
<style> | ||
html, body { | ||
height: 100%; | ||
margin: 0; | ||
min-height: 100%; | ||
} | ||
|
||
#map { | ||
position: absolute; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
margin-bottom: 52px; | ||
} | ||
|
||
.navbar { | ||
background-color: #333; | ||
overflow: hidden; | ||
position: fixed; | ||
bottom: 0; | ||
width: 100%; | ||
} | ||
|
||
/* Style the links inside the navigation bar */ | ||
.navbar a { | ||
float: left; | ||
display: block; | ||
color: #f2f2f2; | ||
text-align: center; | ||
padding: 14px 16px; | ||
text-decoration: none; | ||
font-size: 17px; | ||
} | ||
|
||
.navbar a:hover { | ||
background-color: #ddd; | ||
color: black; | ||
} | ||
|
||
.navbar a.active { | ||
background-color: #4CAF50; | ||
color: white; | ||
} | ||
</style> | ||
<meta http-equiv="refresh" content="0; url=https://jaluebbe.github.io/FlightMapEuropeSimple/static/index.html" /> | ||
</head> | ||
|
||
<body> | ||
<div id="map"></div> | ||
<div class="navbar"> | ||
<a href="./" class="active">Flight map</a> | ||
<a href="./statistics.html">Flight statistics</a> | ||
</div> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/leaflet/1.7.1/leaflet.min.js" integrity="sha384-vdvDM6Rl/coCrMsKwhal4uc9MUUFNrYa+cxp+nJQHy3TvozEpVKVexz/NTbE5VSO" crossorigin="anonymous"></script> | ||
<script src="https://unpkg.com/[email protected]/dist/leaflet.markercluster-src.js" integrity="sha384-N9K+COcUk7tr9O2uHZVp6jl7ueGhWsT+LUKUhd/VpA0svQrQMGArhY8r/u/Pkwih" crossorigin="anonymous"></script> | ||
<script src="https://unpkg.com/@turf/[email protected]/turf.min.js" integrity="sha384-nyGVw++SNyi6OAnN+1SO/ahaCqBIecgU/GX0DxmV56dIQ0QDizRZIp+qT2TCe39E" crossorigin="anonymous"></script> | ||
<script src="static/leaflet.rotatedMarker.js"></script> | ||
<script nomodule src="static/polyfill_string_includes.js"></script> | ||
<script src="static/flightmap.js"></script> | ||
<script src="static/airports_static.js"></script> | ||
<script src="static/airspaces_static.js"></script> | ||
<script src="static/upper_lower_airspace_limits.js"></script> | ||
<script src="static/aircraft_static.js"></script> | ||
<script> | ||
loadAirportData(); | ||
loadFirUirShapes('./static/flightmap_europe_with_north_america.json'); | ||
if (!L.Browser.mobile) { | ||
airportMarkers.addTo(map); | ||
refreshAircraftPositions(); | ||
} | ||
var myInterval = window.setInterval(refreshAircraftPositions, 10000); | ||
</script> | ||
<p><a href="https://jaluebbe.github.io/FlightMapEuropeSimple/static/index.html">Redirect to new URL</a></p> | ||
</body> | ||
|
||
</html> |
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
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
Oops, something went wrong.