fitness: add GPX upload with map, pace chart, and km splits

Add GPX file upload for cardio exercises in workout history. Parses
GPX track points and stores them in the session. Shows route map
(Leaflet), pace-over-distance chart (Chart.js), and per-km splits
table with color-coded fast/slow pacing. Auto-fills distance and
duration on single-set exercises. Disables Chart.js animations.
This commit is contained in:
2026-03-20 13:30:47 +01:00
parent d1e5fb375d
commit d1527b2572
6 changed files with 627 additions and 2 deletions
@@ -69,6 +69,7 @@
options: {
responsive: true,
maintainAspectRatio: false,
animation: false,
scales: {
x: {
grid: { display: false },