-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
118 lines (99 loc) · 4.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="initial-scale=1, width=device-width">
<title>IGC Viewer</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<link rel="stylesheet" href="lib/leaflet/leaflet.css" />
<link rel="stylesheet" href="lib/leaflet-awesome-markers/leaflet.awesome-markers.css" />
<link rel="stylesheet" href="igcviewer.css" />
</head>
<body>
<h1>JavaScript IGC Viewer</h1>
<p>
A free browser-based tool for viewing GPS tracks and barograph traces from gliding loggers. The files must be in the International
Gliding Commission (IGC) format.
</p>
<p>
<strong>
An improved version of this application is now available
at the <a href="https://igcviewer.bgaladder.net/">British Gliding Association Ladder</a> website.
</strong>
</p>
<p> © 2015-2016 Alistair Malcolm Green and Richard Brisbourne </p>
<noscript>
<p>
<strong>Please enable JavaScript to use this application.</strong>
</p>
</noscript>
<label for="fileControl">Select a file to view:</label>
<input id="fileControl" type="file" />
<p>
<em>Note:</em> The file will be processed entirely within your web browser. Nothing will be uploaded to the Internet.
</p>
<div id="errorMessage">
</div>
<h2> Preferences </h2>
<p>
<label for="altitudeUnits">Altitude units:</label>
<select id="altitudeUnits" autocomplete="off">
<option value="metres">Metres</option>
<option value="feet">Feet</option>
</select>
</p>
<p>
<label for="timeZoneSelect">Time zone:</label>
<select id="timeZoneSelect">
</select>
</p>
<div id="igcFileDisplay">
<h2> Flight Information </h2>
<table id="headerInfo">
<tbody></tbody>
</table>
<div id="task">
<h2> Task </h2>
<ul>
</ul>
</div>
<div id="mapWrapper">
<div id="map"></div>
<div id="slider">
<label for="timeSlider">Time:</label>
<button id="timeBack"><span class="fa fa-caret-left"></span></button>
<input type="range" id="timeSlider" step="1" value="0" min="0" max="100" />
<button id="timeForward"><span class="fa fa-caret-right"></span></button>
<p id="timePositionDisplay"></p>
</div>
</div>
<div id="barogram"></div>
</div>
<h2> Credits </h2>
<p>
This application was made possible by the following free software projects:
<ul>
<li><a href="http://www.openstreetmap.org">OpenStreetMap</a></li>
<li><a href="https://jquery.com/">jQuery</a></li>
<li><a href="http://leafletjs.com/">Leaflet.js interactive map library</a></li>
<li><a href="http://www.flotcharts.org/">Flot Charts</a></li>
<li><a href="https://github.com/markrcote/flot-axislabels">Flot Axis Labels plugin</a></li>
<li><a href="http://momentjs.com/timezone">Moment Timezone library</a></li>
<li>Icons by <a href="https://fortawesome.github.io/Font-Awesome/">Font Awesome</a></li>
</ul>
</p>
<script src="lib/moment.min.js"></script>
<script src="lib/moment-timezone-with-data.min.js"></script>
<script src="lib/jquery-2.1.3.min.js"></script>
<script src="lib/jquery.flot.min.js"></script>
<script src="lib/jquery.flot.axislabels.js"></script>
<script src="lib/jquery.flot.resize.min.js"></script>
<script src="lib/jquery.flot.crosshair.js"></script>
<script src="lib/leaflet/leaflet.js"></script>
<script src="lib/leaflet/Semicircle.js"></script>
<script src="lib/leaflet-awesome-markers/leaflet.awesome-markers.min.js"></script>
<script src="parseigc.js"></script>
<script src="mapcontrol.js"></script>
<script src="igcviewer.js"></script>
</body>
</html>