summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/landing_page.html4
-rw-r--r--templates/stops.html30
2 files changed, 32 insertions, 2 deletions
diff --git a/templates/landing_page.html b/templates/landing_page.html
index a059b55..f487616 100644
--- a/templates/landing_page.html
+++ b/templates/landing_page.html
@@ -23,13 +23,13 @@
<div class="geolocation">
<button id="geolocationsearch">Haltestellen in der Umgebung suchen</button>
</div>
- <!--<form action="/to_board" method="POST">
+ <form action="/find/stop">
<input id="name" name="name" required type="text">
<label for="name">Manuelle Eingabe</label>
<button class="btn waves-effect waves-light btn-flat" type="submit" name="action" value="departures">
Suchen
</button>
- </form>-->
+ </form>
</div>
</div>
</body>
diff --git a/templates/stops.html b/templates/stops.html
new file mode 100644
index 0000000..4f31c0a
--- /dev/null
+++ b/templates/stops.html
@@ -0,0 +1,30 @@
+<!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>
+ {% for stop in stops %}
+ <li><a href="/board/{{ stop['id'] }}">{{ stop['name'] }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+</div>
+</body>
+</html>