Unverified Commit 5cc3baf2 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

DB HAFAS is gone

parent 5f686d1d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -25,7 +25,7 @@
<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https')->query({efa => param('efa'), hafas => param('hafas')}) %>">Stationen in der Umgebung suchen</a>
<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>
<p>
<p>
Oder hier angeben:
Oder hier eine Station angeben:
</p>
</p>
</div>
</div>
% }
% }
+6 −9
Original line number Original line Diff line number Diff line
@@ -121,18 +121,15 @@ Bitte eine Station aus der Liste auswählen</div>
%= hidden_field hafas => param('hafas')
%= hidden_field hafas => param('hafas')
<div>
<div>
  <div class="field">
  <div class="field">
    <div class="desc">Stationsname oder Fahrtnummer:</div>
%   if (stash('stationlist')) {
    <div>
% if (stash('stationlist')) {
      %= select_field input => stash('stationlist')
      %= select_field input => stash('stationlist')
% }
%   }
% elsif (stash('input')) {
%   elsif (stash('input')) {
      %= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput'
      %= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput'
% }
%   }
% else {
%   else {
      %= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput', autofocus => 'autofocus'
      %= text_field 'input', class => 'station', placeholder => 'Stationsname oder Fahrtnummer', id => 'stationinput', autofocus => 'autofocus'
% }
%   }
    </div>
  </div>
  </div>
  <div class="field">
  <div class="field">
    %= submit_button 'Abfahrtstafel'
    %= submit_button 'Abfahrtstafel'
+3 −2
Original line number Original line Diff line number Diff line
<div class="container">
<div class="container">
	<p>
	<p>
		Das Backend bestimmt die Datenquelle für Stations- und Zuginformationen.
		Das Backend bestimmt die Datenquelle für Stations- und Zuginformationen.
		Innerhalb Deutschlands ist <strong>Deutsche Bahn</strong> meist eine gute Wahl: IRIS-TTS kennt ausschließlich Schienenverkehr im Bahnnetz, während HAFAS auch Nahverkehr unterstützt.
		Innerhalb Deutschlands ist <strong>Deutsche Bahn</strong> via IRIS-TTS eine gute Wahl für Schienenverkehr im Bahnnetz.
		Die anderen Backends bieten sich für Fahrten im Ausland oder im zugehörigen Verkehrsverbund an.
		Die anderen Backends bieten sich für Fahrten im zugehörigen Verkehrsverbund (inklusive Nahverkehr) sowie im Ausland an.
		Sofern bekannt sind unterhalb der Backend-Namen Karten verlinkt, die die ungefähre Abdeckung aufzeigen.
		Sofern bekannt sind unterhalb der Backend-Namen Karten verlinkt, die die ungefähre Abdeckung aufzeigen.
		Ein Backend, welches Nah- und Fernverkehr in ganz Deutschland abdeckt, ist aktuell leider nicht verfügbar.
	</p>
	</p>
	<p>
	<p>
		% my $prev_type = 'IRIS-TTS';
		% my $prev_type = 'IRIS-TTS';