-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
48 lines (45 loc) · 1.63 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
<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<meta charset="utf-8" />
<title>Tracks — GPS (GPX) Track Viewer</title>
<script>
<!--
// Show error message if app takes a while to initialize
// (probably due to resources not loading).
var _init = false;
window.setTimeout(function() {
if(! _init)
document.getElementById('drop').innerHTML = 'The application is having trouble loading. Please reload it. If the problem persists, contact the developer.';
}, 5000);
-->
</script>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.4/leaflet.css" />
<link rel="stylesheet" href="viewer.css" />
<link rel="shortcut icon" href="tracks.png" />
</head>
<body>
<header>
<h1><a href="">Track Viewer</a></h1>
<ul>
<li id="name"></li>
<li id="distance"></li>
</ul>
</header>
<div id="drop">
<noscript>This application requires JavaScript.</noscript>
<p id="drop-text">
To start, click to load a GPX file
or drag one here.
</p>
</div>
<div id="map"></div>
<input type="file" id="load" />
<footer>
</footer>
<script src="http://cdn.leafletjs.com/leaflet-0.4/leaflet.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script src="tracks.js"></script>
<script src="mozapp.js"></script>
</body>
</html>