Trip log: a trip is a library folder (Trips/<date> <name>) with the planned route and its stops; the car's GNSS recorded into its track there (10 m steps, written every minute and at the end), GET/POST/DELETE /api/trip/log; the Trip menu's Start / End and the line really driven (--route-driven); along-route POI mode for the plugins in TODO
CI / check (push) Successful in 21s
CI / deploy (push) Successful in 17s

This commit is contained in:
randy committed 2026-12-01 02:25:20 +01:00
1 parent 809e88ab1a
commit 7d72e9eb63
7 files changed
+279 -1

No files matched your search

+18
View File
@@ -30,6 +30,7 @@
--inst-active: #a21caf; /* magenta: the route / waypoint / lane being followed */
--inst-selected: #00799a; /* cyan: a value set by hand */
--route-planned: #1d6fdc;
--route-driven: #c2410c; /* the recorded trip log: really driven */
--route-active: var(--inst-active);
/* road signs: still the sign (white disc, red ring), dimmed by night */
--sign-bg: #ffffff;
@@ -57,6 +58,7 @@
--inst-active: #cc45e0;
--inst-selected: #12bedf;
--route-planned: #3f86e0;
--route-driven: #ea7a3c; /* the recorded trip log: really driven */
--sign-bg: #e4e1d6;
--sign-ring: #c42b26;
}
@@ -87,6 +89,7 @@
--sign-bg: #6b675e;
--sign-ring: #8a231b;
--sign-fg: #0c0c0b;
--route-driven: #9a5a32;
}
/* The palette follows the night mode (map.js sets data-palette); the
@@ -3683,3 +3686,18 @@ html.follow-3d .maplibregl-ctrl-overview-map { display: none; }
.drive-trip__stops .drive-bar__stop-done { width: 68px; font-size: 24px; border-left: 1px solid var(--ui-line); color: var(--ui-muted); }
.drive-trip__stops .drive-bar__stop-done.active { color: var(--inst-ok); font-weight: 700; }
.route-marker--passed { opacity: 0.45; }
.drive-trip__log { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--ui-line); }
.drive-trip__log[hidden] { display: none; }
.drive-trip__log button {
min-height: 60px;
padding: 0 18px;
border: 2px solid var(--route-driven);
border-radius: 10px;
background: none;
color: var(--ui-fg);
font-size: 18px;
font-weight: 700;
cursor: pointer;
}
.drive-trip__log button.drive-trip__log--on { background: var(--route-driven); color: #fff; }
.drive-trip__log-state { flex: 1; color: var(--route-driven); font-weight: 600; font-size: 15px; }