summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2015-10-19 23:03:49 +0200
committerDaniel Friesel <derf@finalrewind.org>2015-10-19 23:03:49 +0200
commit9adb14d01f97c3f1666f8efe690327984971be6a (patch)
treebe29a03e3319cf81e9fbe37bca8903905614b592
parentf33834b27901cfdd554ed6da66ffe3407a3dba79 (diff)
move frontend&backend selection in front of display button
-rw-r--r--templates/layouts/default.html.ep29
1 files changed, 16 insertions, 13 deletions
diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep
index 801812c..58669c6 100644
--- a/templates/layouts/default.html.ep
+++ b/templates/layouts/default.html.ep
@@ -73,49 +73,52 @@ Alle Angaben ohne Gewähr.
% else {
%= text_field 'station'
% }
- %= submit_button 'Display'
</div>
</div>
- <div class="break"></div>
- <span class="optional">Optionale Einstellungen:</span>
<div class="field">
<div class="desc">
- Nur Züge über
+ Frontend
</div>
<div>
- %= text_field 'via'
+ %= select_field mode => [ ['App / Infoscreen' => 'clean'], ['Bahnhofstafel' => 'multi'], ['Gleis' => 'single'] ]
</div>
</div>
<div class="field">
<div class="desc">
- Gleise
+ Backend
</div>
<div>
- %= text_field 'platforms'
+ %= select_field backend => [ ['IRIS' => 'iris'], ['RIS' => 'ris'] ]
</div>
</div>
<div class="field">
+ %= submit_button 'Anzeigen'
+ <div>
+ </div>
+ <div class="break"></div>
+ <span class="optional">Optionale Einstellungen:</span>
+ <div class="field">
<div class="desc">
- Verspätungen &lt;5 Minuten ignorieren
+ Nur Züge über
</div>
<div>
- %= check_box 'hidelowdelay' => 1
+ %= text_field 'via'
</div>
</div>
<div class="field">
<div class="desc">
- Layout
+ Gleise
</div>
<div>
- %= select_field mode => [ ['App / Infoscreen' => 'clean'], ['Bahnhofstafel' => 'multi'], ['Gleis' => 'single'] ]
+ %= text_field 'platforms'
</div>
</div>
<div class="field">
<div class="desc">
- Backend
+ Verspätungen &lt;5 Minuten ignorieren
</div>
<div>
- %= select_field backend => [ ['IRIS' => 'iris'], ['RIS' => 'ris'] ]
+ %= check_box 'hidelowdelay' => 1
</div>
</div>
<div class="field">