diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-05-29 22:45:38 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-05-29 22:45:38 +0200 |
commit | 886b9e56dc515c6536129711494f91262d402214 (patch) | |
tree | b8f96e798a5a5cec39da734ed6d28103963a89a2 /templates |
initial commit
Diffstat (limited to 'templates')
-rw-r--r-- | templates/departure_list.html | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/templates/departure_list.html b/templates/departure_list.html new file mode 100644 index 0000000..464951b --- /dev/null +++ b/templates/departure_list.html @@ -0,0 +1,34 @@ +<!DOCTYPE html> +<html lang="de"> +<head> + <title>{{ title }}</title> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> + <meta name="keywords" content="Abfahrtsmonitor, Bahnhofstafel, Abfahrten, Abfahrtstafel, Nahverkehr, Haltestellen"> + <meta name="description" content="Inoffizieller Abfahrtsmonitor für Nahverkehr"> + <meta name="theme-color" content="#00838f"> + <link rel="icon" type="image/png" href="/static/icons/icon-16x16.png" sizes="16x16"> + <link rel="icon" type="image/png" href="/static/icons/icon-32x32.png" sizes="32x32"> + <link rel="icon" type="image/png" href="/static/icons/icon-96x96.png" sizes="96x96"> + <link rel="apple-touch-icon" href="/static/icons/icon-120x120.png"> + <link rel="apple-touch-icon" sizes="180x180" href="/static/icons/icon-180x180.png"> + <link rel="apple-touch-icon" sizes="152x152" href="/static/icons/icon-152x152.png"> + <link rel="apple-touch-icon" sizes="167x167" href="/static/icons/icon-167x167.png"> + <link href="/static/v0/css/wip.css" id="theme" rel="stylesheet"> +</head> +<body> +<div class="container"> + <div class="content"> + <ul class="departures"> + {% for departure in departures %} + <li onclick="location.href='https://dbf.finalrewind.org/map/{{ departure.tripId }}/0';"> + <span class="line {{ departure.line.mode }}">{{ departure.line.name }}</span> + <span class="dest" aria-label="nach {{ departure.direction }}">{{ departure.direction }}</span> + <span class="time" aria-label="um {{ departure.when.strftime('%H:%M') }}">{{ departure.when.strftime('%H:%M') }}</span> + </li> + {% endfor %} + </ul> + </div> +</div> +</body> +</html> |