From 59faf0debafdc5199c43c39336c9555148573857 Mon Sep 17 00:00:00 2001 From: Rsclub2_2 Date: Sun, 8 Oct 2023 22:14:57 +0000 Subject: [PATCH] Dateien nach "templates" hochladen --- templates/index.html | 201 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 201 insertions(+) create mode 100644 templates/index.html diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..f656fe5 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,201 @@ + + + + + + + Abfahrtsinformationen + + + + + +

Abfahrten / Departures

+

Station: {{ station_name }}

+ +
+ + + +
+ + {% if departures %} + + + + + + + + + + + + {% for leg in departures %} + + + + + + + + {% endfor %} + +
NameRichtung / DirectionGeplante Abfahrtszeit / Planned depatureVerspätung (Minuten) / Delay (minutes)Bahnsteig / Platform
{{ leg.name }}{{ leg.direction }}{{ leg.dateTime.strftime('%Y-%m-%d %H:%M:%S') }}{% if leg.delay %}{{ leg.delay.total_seconds() / 60 }}{% else %}0{% endif %}{{ leg.platform }}
+ {% endif %} + + + + + \ No newline at end of file