diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-04-02 15:48:52 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-04-02 15:48:52 +0200 |
commit | bbcd08a7ba8d2354f74d1c3eaf5fc813a95edce4 (patch) | |
tree | f2c5b1a8c980641a39b9de705e0729dc7623c631 /templates/layouts | |
parent | 408d738127fda171b330519d25cc73dee65c9b28 (diff) |
add geotrain links to menu / landing page
Diffstat (limited to 'templates/layouts')
-rw-r--r-- | templates/layouts/app.html.ep | 11 |
1 files changed, 7 insertions, 4 deletions
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> |