From 780b2215c63297aaf43c9c351cad8478c68205e4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 10 Oct 2015 14:25:34 +0200 Subject: slight form impromevents --- templates/main.html.ep | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/templates/main.html.ep b/templates/main.html.ep index 55e9e1c..b5459a4 100644 --- a/templates/main.html.ep +++ b/templates/main.html.ep @@ -106,7 +106,7 @@ guarantee of correctness, completeness or anything else. %= form_for _redirect => begin
-
Stadt
+
City (required for EFA backend, optional otherwise)
% if (stash('place_candidates') and @{ stash('place_candidates') } ) { % my @candidates = map { [ $_, $_ ] } @{ stash('place_candidates') }; @@ -118,7 +118,7 @@ guarantee of correctness, completeness or anything else.
-
Haltestelle
+
Stop
% if (stash('name_candidates') and @{ stash('name_candidates') } ) { % my @candidates = map { [ $_, $_ ] } @{ stash('name_candidates') }; @@ -134,7 +134,7 @@ guarantee of correctness, completeness or anything else. optional:
- display height
+ display height [lines]
%= number_field 'no_lines', min => 1, max => 10
@@ -161,7 +161,7 @@ guarantee of correctness, completeness or anything else.
frontend
- %= select_field frontend => [['Image (PNG)' => 'png'], ['HTML' => 'html'], ['Infoscreen' => 'infoscreen'], ['JSON' => 'json']] + %= select_field frontend => [['LED board (PNG)' => 'png'], ['LED board (HTML)' => 'html'], ['App / Infoscreen' => 'infoscreen'], ['JSON' => 'json']]
@@ -188,9 +188,6 @@ guarantee of correctness, completeness or anything else. notes:
  • The EFA backend does not support Umlauts
  • -
  • For Düsseldorf, the DB backend usually gives better results
  • -
  • If you write the city correctly (like "Essen", not "essen"), vrr-infoscreen can -shorten destination names
  • Example
  • See also db-infoscreen for an interface optimized for Deutsche Bahn departure data
  • -- cgit v1.2.3