diff options
Diffstat (limited to 'templates/landingpage.html.ep')
-rw-r--r-- | templates/landingpage.html.ep | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 7f6ae9e..80fd34f 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -1,19 +1,31 @@ % if (stash 'show_intro') { -<p> - Diese Seite ist ein inoffizielles Frontend zum Abfahrtsmonitor - der DB. Sie kann wahlweise die in Bahnhofshallen / an - Haltestellen montierten Anzeigen nachahmen oder einen Handy- und - Infoscreen-tauglichen Abfahrtsmonitor anzeigen. -</p> -<p> - Als Backend werden sowohl das HAFAS/RIS ("Reisenden-Informationssystem") - als auch das IRIS unterstützt. Im Normalfall enthält das IRIS mehr und - detailliertere Angaben. +<div class="container"> +% if (0) { + <p> + DBF is an unofficial departure monitor for regional and long-distance trains within Germany, aiming to combine multiple data sources in a useful manner. + It also has limited support for local transit and traffic outside of Germany. + </p> + <p> + This site is operated by a private entity in a not-for-profit manner. + There are no uptime or reliability guarantees whatsoever. + </p> +% } +% else { + <p> + DBF ist ein inoffizieller Abfahrtsmonitor für Nah-, Regional- und Fernverkehr in Deutschland und Umgebung mit dem Ziel, Daten aus verschiedenen Quellen zusammenzutragen. + Es unterstützt neben Fahrten im Netz der DB InfraGO diverse Nah- und Fernverkehrsunternehmen mit EFA- und HAFAS-Backends. + Die Fahrten in der Übersicht verlinken je eine Detailseite mit Unterwegshalten, Meldungen und Kartendarstellung. + </p> + <p> + Diese Seite ist ein kostenfreies, privat betriebenes Projekt ohne Verfügbarkeitsgarantie. + Alle Angaben ohne Gewähr. + </p> +% } +<p class="geolink"> +<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({efa => param('efa'), hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a> </p> <p> -Alle Angaben ohne Gewähr. -</p> -<p class="geolink"> -<a href="<%= url_for('_auto')->to_abs->scheme('https') %>">Bahnhöfe im Umfeld suchen</a> +Oder hier eine Station angeben: </p> +</div> % } |