summaryrefslogtreecommitdiff
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
parent408d738127fda171b330519d25cc73dee65c9b28 (diff)
add geotrain links to menu / landing page
-rw-r--r--templates/geotrain.html.ep2
-rw-r--r--templates/landingpage.html.ep5
-rw-r--r--templates/layouts/app.html.ep11
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>