summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-08-20 22:19:25 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-08-20 22:19:25 +0200
commit7186853043d79c84e8f88549c759df347ce1b5d9 (patch)
tree5e86074e3a3238826d113144dea8c58152612cf5 /templates
parentfa05d5ce9b06627a1c1a194fff059ce0cb608c5c (diff)
add footer with version info and about/imprint/privacy links
Diffstat (limited to 'templates')
-rw-r--r--templates/about.html25
-rw-r--r--templates/departure_list.html3
-rw-r--r--templates/footer.html11
-rw-r--r--templates/landing_page.html1
-rw-r--r--templates/stops.html1
5 files changed, 41 insertions, 0 deletions
diff --git a/templates/about.html b/templates/about.html
new file mode 100644
index 0000000..f6f9b26
--- /dev/null
+++ b/templates/about.html
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html lang="de">
+<head>
+ <title>{{ title }}</title>
+ {% include 'header.html' %}
+</head>
+<body>
+
+{% include 'navbar.html' %}
+
+<div class="container">
+ <p>
+ NVM ist ein inoffizieller Abfahrtsmonitor für Nahverkehr in Deutschland
+ und Umgebung.
+ © 2021 <a href="https://finalrewind.org/me">Daniel Friesel</a>
+ / <a href="https://twitter.com/derfnull">@derfnull</a>.
+ Der <a href="https://github.com/derf/nvm">Quelltext</a> steht unter
+ der GNU AGPL v3 als Open Source zur Verfügung.
+ </p>
+</div>
+
+{% include 'footer.html' %}
+
+</body>
+</html>
diff --git a/templates/departure_list.html b/templates/departure_list.html
index 42ce550..a9cda01 100644
--- a/templates/departure_list.html
+++ b/templates/departure_list.html
@@ -52,5 +52,8 @@
</ul>
</div>
</div>
+
+{% include 'footer.html' %}
+
</body>
</html>
diff --git a/templates/footer.html b/templates/footer.html
new file mode 100644
index 0000000..671007e
--- /dev/null
+++ b/templates/footer.html
@@ -0,0 +1,11 @@
+<div class="container">
+<div class="about">
+<a href="/meta/about">Über NVM</a>
+<a href="/meta/privacy">Datenschutz</a>
+<a href="/meta/imprint">Impressum</a>
+<br/>
+Version {{ version }}
+</div>
+</div>
diff --git a/templates/landing_page.html b/templates/landing_page.html
index a97f55e..a3b7397 100644
--- a/templates/landing_page.html
+++ b/templates/landing_page.html
@@ -39,5 +39,6 @@
</div>
</div>
</div>
+{% include 'footer.html' %}
</body>
</html>
diff --git a/templates/stops.html b/templates/stops.html
index 5c47014..899376d 100644
--- a/templates/stops.html
+++ b/templates/stops.html
@@ -49,5 +49,6 @@
</ul>
</div>
</div>
+{% include 'footer.html' %}
</body>
</html>