summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-06-03 15:15:08 +0200
committerDaniel Friesel <derf@finalrewind.org>2019-06-03 15:15:08 +0200
commit11ddc957805e1a6b54e2fecbe4121d2c9e5c4a9e (patch)
treee99a5dba70572b1511ced301fa9caf02448d07e0 /templates
parentb0529c9c9b88a25942b4661f370cb78669d301b3 (diff)
add an about page
Diffstat (limited to 'templates')
-rw-r--r--templates/about.html.ep32
-rw-r--r--templates/layouts/default.html.ep14
2 files changed, 35 insertions, 11 deletions
diff --git a/templates/about.html.ep b/templates/about.html.ep
new file mode 100644
index 0000000..9bc7138
--- /dev/null
+++ b/templates/about.html.ep
@@ -0,0 +1,32 @@
+<div class="container">
+ <p>
+ <a href="https://finalrewind.org/projects/db-fakedisplay/">db-infoscreen</a>
+ v<%= stash('version') // '???' %><br/>
+ Entwickelt von <a href="https://twitter.com/derfnull">@derfnull</a><br/>
+ Backends:<br/>
+ <a href="https://finalrewind.org/projects/Travel-Status-DE-DeutscheBahn/">Travel::Status::DE::HAFAS</a>
+ v<%= $Travel::Status::DE::HAFAS::VERSION %><br/>
+ <a href="https://finalrewind.org/projects/Travel-Status-DE-IRIS/">Travel::Status::DE::IRIS</a>
+ v<%= $Travel::Status::DE::IRIS::VERSION %><br/>
+ <a href="http://data.deutschebahn.com/dataset/data-haltestellen">Haltestellendaten</a>
+ © DB Station&amp;Service AG,
+ Europaplatz 1,
+ 10557 Berlin, lizensiert unter CC-BY 4.0<br/>
+ </p>
+</div>
+
+<div class="container">
+ <p>
+ <a href="https://twitter.com/derfnull">Kontakt</a>
+ ·
+ <a href="https://github.com/derf/db-fakedisplay/issues">Bugs?</a>
+ </p>
+</div>
+
+% if (-e 'templates/imprint.html.ep') {
+%= include 'imprint'
+% }
+
+% if (-e 'templates/privacy.html.ep') {
+%= include 'privacy'
+% }
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 32928c9..2c59b82 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -243,17 +243,9 @@ Bitte eine Station aus der Liste auswählen</div>
<div class="container">
<div class="about">
-<a href="https://finalrewind.org/projects/db-fakedisplay/">db-infoscreen</a>
-v<%= stash('version') // '???' %><br/>
-Backends:<br/>
-<a href="https://finalrewind.org/projects/Travel-Status-DE-DeutscheBahn/">Travel::Status::DE::HAFAS</a>
-v<%= $Travel::Status::DE::HAFAS::VERSION %><br/>
-<a href="https://finalrewind.org/projects/Travel-Status-DE-IRIS/">Travel::Status::DE::IRIS</a>
-v<%= $Travel::Status::DE::IRIS::VERSION %><br/>
-<a href="http://data.deutschebahn.com/dataset/data-haltestellen">Haltestellendaten</a>
-© DB Station&amp;Service AG,
-Europaplatz 1,
-10557 Berlin, lizensiert unter CC-BY 4.0<br/>
+<a href="_about">db-infoscreen</a>
+v<%= stash('version') // '???' %>
+<br/>
<a href="_datenschutz" rel="nofollow">Datenschutzerklärung</a>
·
<a href="_impressum" rel="nofollow">Impressum</a><br/>