diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/geotrain.html.ep | 2 | ||||
-rw-r--r-- | templates/landingpage.html.ep | 5 | ||||
-rw-r--r-- | templates/layouts/app.html.ep | 11 |
3 files changed, 12 insertions, 6 deletions
diff --git a/templates/geotrain.html.ep b/templates/geotrain.html.ep index ae0d7e1..fad994f 100644 --- a/templates/geotrain.html.ep +++ b/templates/geotrain.html.ep @@ -1,5 +1,5 @@ <div class="geolocation"> -<div class="candidateheader">Experimentelles Beta-Feature.<br/><br/>Züge auf der Strecke:</div> +<div class="candidateheader">Beta-Feature<br/><br/>Züge auf der Strecke:</div> <div class="candidatestatus">Bitte warten…</div> <div class="candidatelist"></div> </div> <!-- geolocation --> diff --git a/templates/landingpage.html.ep b/templates/landingpage.html.ep index 23aa428..d68dd66 100644 --- a/templates/landingpage.html.ep +++ b/templates/landingpage.html.ep @@ -9,7 +9,10 @@ Verfügbarkeitsgarantie. Alle Angaben ohne Gewähr. </p> <p class="geolink"> -<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Bahnhöfe im Umfeld suchen</a> +<a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a> +</p> +<p class="geolink"> +<a class="button" href="<%= url_for('_autotrain')->to_abs->scheme('https') %>">Fahrende Züge suchen (Beta)</a> </p> <p> Oder hier angeben: diff --git a/templates/layouts/app.html.ep b/templates/layouts/app.html.ep index 40ef134..75d10b1 100644 --- a/templates/layouts/app.html.ep +++ b/templates/layouts/app.html.ep @@ -124,16 +124,16 @@ Bitte eine Station aus der Liste auswählen</div> %= form_for _redirect => begin <div> <div class="field"> - <div class="desc">Bahnhof / Haltestelle</div> + <div class="desc">Zug / Station</div> <div> % if (stash('stationlist')) { %= select_field input => stash('stationlist') % } % elsif (stash('input')) { - %= text_field 'input', class => 'station', placeholder => 'Name oder DS100-Kürzel', id => 'stationinput' + %= text_field 'input', class => 'station', placeholder => 'Zug, Stationsname oder DS100-Kürzel', id => 'stationinput' % } % else { - %= text_field 'input', class => 'station', placeholder => 'Name oder DS100-Kürzel', id => 'stationinput', autofocus => 'autofocus' + %= text_field 'input', class => 'station', placeholder => 'Zug, Stationsname oder DS100-Kürzel', id => 'stationinput', autofocus => 'autofocus' % } </div> </div> @@ -143,7 +143,10 @@ Bitte eine Station aus der Liste auswählen</div> % if (not stash('show_intro')) { <div class="break"></div> <div class="field"> - <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Bahnhöfe im Umfeld suchen</a> + <a class="button" href="<%= url_for('_autostop')->to_abs->scheme('https') %>">Stationen in der Umgebung suchen</a> + </div> + <div class="field"> + <a class="button" href="<%= url_for('_autotrain')->to_abs->scheme('https') %>">Fahrende Züge suchen (Beta)</a> </div> % } <div class="break"></div> |