summaryrefslogtreecommitdiff
path: root/templates/layouts/app.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-04-02 15:48:52 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-04-02 15:48:52 +0200
commitbbcd08a7ba8d2354f74d1c3eaf5fc813a95edce4 (patch)
treef2c5b1a8c980641a39b9de705e0729dc7623c631 /templates/layouts/app.html.ep
parent408d738127fda171b330519d25cc73dee65c9b28 (diff)
add geotrain links to menu / landing page
Diffstat (limited to 'templates/layouts/app.html.ep')
-rw-r--r--templates/layouts/app.html.ep11
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>