summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
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/>