From ae859e0db476788b875a2f849272af8462091c45 Mon Sep 17 00:00:00 2001 From: Emmy D'Anello Date: Tue, 25 Apr 2023 15:14:57 +0200 Subject: [PATCH] Put content in a container Signed-off-by: Emmy D'Anello --- templates/index.html | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) 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 }