-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (53 loc) · 2.42 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Run stats</title>
<link rel="stylesheet" type="text/css" href="style.css">
<script src="https://d3js.org/d3.v6.min.js"></script>
</head>
<body>
<h1>Overall summary</h1>
<p>
Total distance is <span id="total-distance" class="jazzy-stat">???</span> km
(<span id="total-distance-miles" class="jazzy-stat">???</span> miles or <span id="total-distance-runs" class="jazzy-stat">???</span> runs)
since 14/10/20 (when records began).
</p>
<p>
That took a leisurely <span id="total-time-seconds" class="jazzy-stat">???</span> seconds (<span id="total-time" class="jazzy-stat">???</span>).
</p>
<p>
That includes <span id="count-total" class="jazzy-stat">???</span> total runs, of which
<ul>
<li><span id="count-5k" class="jazzy-stat">???</span> were 5k's</li>
<li><span id="count-10k" class="jazzy-stat">???</span> were 10k's</li>
<li><span id="count-half" class="jazzy-stat">???</span> were half-marathons</li>
<li><span id="count-marathon" class="jazzy-stat">???</span> were marathons</li>
<li>
and <span id="count-misc" class="jazzy-stat">???</span> were miscellaneous other distances, of which
<ul>
<li><span id="count-misc-sub-5" class="jazzy-stat">???</span> were sub-5k</li>
<li><span id="count-misc-5-10" class="jazzy-stat">???</span> were 5-10k</li>
<li><span id="count-misc-10-half" class="jazzy-stat">???</span> were 10k-half marathon</li>
<li><span id="count-misc-half-marathon" class="jazzy-stat">???</span> were half-full marathon</li>
</ul>
</li>
</ul>
</p>
<h2>Personal bests within that</h2>
<p>
<ul>
<li>Best 5km (± 0.05km) time is: <span id="best-5k" class="jazzy-stat">???</span></li>
<li>Best 10km (± 0.05km) time is: <span id="best-10k" class="jazzy-stat">???</span></li>
<li>Longest distance is: <span id="longest-distance" class="jazzy-stat">???</span> km</li>
</ul>
</p>
<h2>Recent activity</h2>
<p>
<ul>
<li> Most recently ran <span id="recent-1-distance" class="jazzy-stat">???</span> km in <span id="recent-1-time" class="jazzy-stat">???</span></li>
<li> Previous to that was <span id="recent-2-distance" class="jazzy-stat">???</span> km in <span id="recent-2-time" class="jazzy-stat">???</span></li>
</ul>
</p>
<script src="summarise.js"></script>
</body>