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