summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-06-26 19:55:26 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-06-26 19:55:26 +0200
commitd21d35ef767007257e80a795a41b6f4cc8a9fcbc (patch)
treea5dfd5a1ed6bb823c3ef2054588d057d7cabf55d /templates
parent1cac79ba31858b496c03762a66eb86680ff3a3da (diff)
add a landing page with geolocation search
Diffstat (limited to 'templates')
-rw-r--r--templates/landing_page.html36
1 files changed, 36 insertions, 0 deletions
diff --git a/templates/landing_page.html b/templates/landing_page.html
new file mode 100644
index 0000000..a059b55
--- /dev/null
+++ b/templates/landing_page.html
@@ -0,0 +1,36 @@
+<!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">
+ <script src="/static/v0/js/geolocation.js"></script>
+</head>
+<body>
+<div class="container">
+ <div class="content">
+ <div class="geolocation">
+ <button id="geolocationsearch">Haltestellen in der Umgebung suchen</button>
+ </div>
+ <!--<form action="/to_board" method="POST">
+ <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>-->
+ </div>
+</div>
+</body>
+</html>