diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-08-21 12:11:35 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-08-21 12:11:35 +0200 |
commit | f5a6a5927bfcc4a2b82c34db5041bfe3a49b95e6 (patch) | |
tree | d9508512ae32be6ecc865607539c16566db2756e /templates/departures_page.html | |
parent | 8a04cf20c5d6dc577a7de7745cbeb292bf78529d (diff) |
refresh departure list every minute0.2.0
Diffstat (limited to 'templates/departures_page.html')
-rw-r--r-- | templates/departures_page.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/templates/departures_page.html b/templates/departures_page.html new file mode 100644 index 0000000..52733c4 --- /dev/null +++ b/templates/departures_page.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<html lang="de"> +<head> + <title>{{ title }}</title> + {% include 'header.html' %} + <script src="/static/v1/js/reload.js"></script> +</head> +<body> + +{% include 'navbar.html' %} + +<div class="container"> + <div class="content"> + {% if warning %} + <div class="content"> + <div class="warning"> + <strong>{{ warning["lead"] }}</strong> + {{ warning["body"] }} + <div class="errcode">{{ warning["code"] }}</div> + </div> + </div> + {% endif %} + {% if not departures %} + <div class="globalnote">Keine Abfahrten innerhalb der nächsten zwei Stunden</div> + {% endif %} + <ul class="departures" id="departurelist"> + {% include 'departure_list.html' %} + </ul> + </div> +</div> + +{% include 'footer.html' %} + +</body> +</html> |