diff --git a/templates/index.html b/templates/index.html index bec254c..f565673 100644 --- a/templates/index.html +++ b/templates/index.html @@ -5,35 +5,37 @@ -
+
+
+ placeholder="Origine…" aria-describedby="originHelp">
Le point de départ de votre trajet.
+ placeholder="Destination…" aria-describedby="destinationHelp">
Le point d'arrivée de votre trajet.
+ min="{{ today }}" max="{{ max_day }}" value="{{ today }}">
Le jour de votre départ.
- -
+ +
+
@@ -133,7 +135,7 @@ let text = route[0].origin for (let train of route) { - text += " (" + train.departure + ") --> (" + train.arrival + ") " + train.destination + ", " + text += " (" + train.departure + ") --> (" + train.arrival + ") " + train.destination + " " } route_elem.textContent = text }