From 9adb14d01f97c3f1666f8efe690327984971be6a Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 19 Oct 2015 23:03:49 +0200 Subject: move frontend&backend selection in front of display button --- templates/layouts/default.html.ep | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'templates/layouts') 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' -
- Optionale Einstellungen:
- Nur Züge über + Frontend
- %= text_field 'via' + %= select_field mode => [ ['App / Infoscreen' => 'clean'], ['Bahnhofstafel' => 'multi'], ['Gleis' => 'single'] ]
- Gleise + Backend
- %= text_field 'platforms' + %= select_field backend => [ ['IRIS' => 'iris'], ['RIS' => 'ris'] ]
+
+ %= submit_button 'Anzeigen' +
+
+
+ Optionale Einstellungen:
- Verspätungen <5 Minuten ignorieren + Nur Züge über
- %= check_box 'hidelowdelay' => 1 + %= text_field 'via'
- Layout + Gleise
- %= select_field mode => [ ['App / Infoscreen' => 'clean'], ['Bahnhofstafel' => 'multi'], ['Gleis' => 'single'] ] + %= text_field 'platforms'
- Backend + Verspätungen <5 Minuten ignorieren
- %= select_field backend => [ ['IRIS' => 'iris'], ['RIS' => 'ris'] ] + %= check_box 'hidelowdelay' => 1
-- cgit v1.2.3