From bbcd08a7ba8d2354f74d1c3eaf5fc813a95edce4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Fri, 2 Apr 2021 15:48:52 +0200 Subject: add geotrain links to menu / landing page --- templates/geotrain.html.ep | 2 +- templates/landingpage.html.ep | 5 ++++- templates/layouts/app.html.ep | 11 +++++++---- 3 files changed, 12 insertions(+), 6 deletions(-) (limited to 'templates') 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 @@
-
Experimentelles Beta-Feature.

Züge auf der Strecke:
+
Beta-Feature

Züge auf der Strecke:
Bitte warten…
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.

+

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 %= form_for _redirect => begin

-
Bahnhof / Haltestelle
+
Zug / Station
% 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' % }
@@ -143,7 +143,10 @@ Bitte eine Station aus der Liste auswählen
% if (not stash('show_intro')) {
- Bahnhöfe im Umfeld suchen + Stationen in der Umgebung suchen +
+
+ Fahrende Züge suchen (Beta)
% }
-- cgit v1.2.3