-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
50 lines (43 loc) · 2.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Magic Smike</title>
<link href="style.css" rel="stylesheet" type="text/css">
<script src="https://js.api.here.com/v3/3.0/mapsjs-core.js" type="text/javascript" charset="utf-8"></script>
<script src="https://js.api.here.com/v3/3.0/mapsjs-service.js" type="text/javascript" charset="utf-8"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.3/Chart.min.js" type="text/javascript" charset="utf-8"></script>
<script src="map.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<div id="stats">
<h1><a href="./about.html" style="text-decoration: none;"><img src="logo.png" alt="Magic Smike" width="100" style="padding-bottom: 50px"></a></h1>
<h2 id="date">November 22nd</h2>
<p class="distance">You traveled a total of<br><u><span id="distance">4563.34</span> m</u></p>
<div>
<div id="max-speed" class="stat-box">
<p id="max-speed-value" class="stat-value">--</p>
<p>max speed<br>(km/h)</p>
</div>
<div id="avg-speed" class="stat-box">
<p id="avg-speed-value" class="stat-value">--</p>
<p>avg speed<br>(km/h)</p>
</div>
<div class="stat-box graph">
<canvas id="graph-canvas" width="100%" height="100%" aria-label="Graph of speed over time" role="img">>
<p>Unable to load graph.</p>
</canvas>
</div>
</div>
<div class="nav-bar">
<div class="nav" id="prev"></div>
<div class="nav" id="next"></div>
</div>
</div>
<div id="mapContainer"></div>
<script>
getData();
</script>
</body>
</html>