diff options
author | Daniel Friesel <derf@finalrewind.org> | 2015-10-10 14:25:34 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2015-10-10 14:25:34 +0200 |
commit | 780b2215c63297aaf43c9c351cad8478c68205e4 (patch) | |
tree | c6b4b0a943a5875d70d44749820f84bad89ebb09 | |
parent | f667fe68fa886fb6b5fd0fac4ee6b129fccebc92 (diff) |
slight form impromevents
-rw-r--r-- | templates/main.html.ep | 11 |
1 files 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 <div> <div class="field"> - <div class="desc">Stadt</div> + <div class="desc">City (required for EFA backend, optional otherwise)</div> <div> % 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. </div> </div> <div class="field"> - <div class="desc">Haltestelle</div> + <div class="desc">Stop</div> <div> % 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. <span class="optional">optional:</span> <div class="field"> <div class="desc" title="number of lines"> - display height</div> + display height [lines]</div> <div> %= number_field 'no_lines', min => 1, max => 10 </div> @@ -161,7 +161,7 @@ guarantee of correctness, completeness or anything else. <div class="field"> <div class="desc">frontend</div> <div> - %= 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']] </div> </div> <div class="field"> @@ -188,9 +188,6 @@ guarantee of correctness, completeness or anything else. <span class="notes">notes:</span> <ul> <li>The EFA backend does not support Umlauts</li> -<li>For Düsseldorf, the DB backend usually gives better results</li> -<li>If you write the city correctly (like "Essen", not "essen"), vrr-infoscreen can -shorten destination names</li> <li><a href="/Essen/Martinstr?no_lines=8">Example</a> <li>See also <a href="http://dbf.finalrewind.org/">db-infoscreen</a> for an interface optimized for Deutsche Bahn departure data</li> |