From 77238628cc9da8582ec718216beb45adb2d2a28d Mon Sep 17 00:00:00 2001 From: Birte Kristina Friesel Date: Thu, 17 Aug 2023 17:15:18 +0200 Subject: use more easily distinguishable icons for hafas/iris; document in legend --- public/static/js/geolocation.js | 4 ++-- templates/legend.html.ep | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/public/static/js/geolocation.js b/public/static/js/geolocation.js index 302047a..03857a1 100644 --- a/public/static/js/geolocation.js +++ b/public/static/js/geolocation.js @@ -24,7 +24,7 @@ $(document).ready(function() { const res = $(document.createElement('p')); $.each(stops, function(i, stop) { const parts = stop.split(';'); - const node = $('' + parts[1] + ''); + const node = $('' + parts[1] + ''); node.click(function() { $('nav .preloader-wrapper').addClass('active'); }); @@ -51,7 +51,7 @@ $(document).ready(function() { hafas = candidate.hafas, distance = candidate.distance.toFixed(1); - const node = $('' + name + ''); + const node = $('' + name + ''); node.click(function() { $('nav .preloader-wrapper').addClass('active'); }); diff --git a/templates/legend.html.ep b/templates/legend.html.ep index 91e70df..4c1ecf0 100644 --- a/templates/legend.html.ep +++ b/templates/legend.html.ep @@ -13,6 +13,14 @@ (HH:MM) Ein Einstieg (Abfahrtstafel) bzw. Ausstieg (Route) ist an dieser Station möglicherweise nicht vorgesehen. + + train + Backend: DB IRIS. Bevorzugte Datenquelle für (mindestens teilweise) innerdeutsche Zugfahrten. + + + directions + Backend: DB HAFAS. Bevorzugte Datenquelle für Nahverkehr und vollständig außerdeutsche Zugfahrten. Weniger detailliert als IRIS. +

Anschlusszüge

-- cgit v1.2.3