From a1db5b626ff8a23c6c0e1c47b793774f6fb499bc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 18 Sep 2016 22:23:36 +0200 Subject: hide non-primary options behind js menu --- templates/layouts/default.html.ep | 138 +++++++++++++++++++------------------- 1 file changed, 70 insertions(+), 68 deletions(-) (limited to 'templates') diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index a7e6a02..92ee22a 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -70,84 +70,86 @@ Bitte eine Station aus der Liste auswählen %= submit_button 'Abfartsmonitor'
- Optionale Einstellungen: -
-
- Frontend -
-
- %= select_field mode => [ ['App / Infoscreen' => 'clean'], ['Bahnhofstafel' => 'multi'], ['Gleis' => 'single'] ] +
Weitere Einstellungen
+
+
+
+ Frontend +
+
+ %= select_field mode => [ ['App / Infoscreen' => 'clean'], ['Bahnhofstafel' => 'multi'], ['Gleis' => 'single'] ] +
-
-
-
- Backend +
+
+ Backend +
+
+ %= select_field backend => [ ['IRIS' => 'iris'], ['HAFAS' => 'ris'] ] +
-
- %= select_field backend => [ ['IRIS' => 'iris'], ['HAFAS' => 'ris'] ] +
+
+ Nur Züge über +
+
+ %= text_field 'via', placeholder => 'Bahnhof 1, Bhf2, ... (oder regulärer Ausdruck)', class => 'station' +
-
-
-
- Nur Züge über -
-
- %= text_field 'via', placeholder => 'Bahnhof 1, Bhf2, ... (oder regulärer Ausdruck)', class => 'station' -
-
-
-
- Gleise -
-
- %= text_field 'platforms', placeholder => '1, 2, 5, ...' +
+
+ Gleise +
+
+ %= text_field 'platforms', placeholder => '1, 2, 5, ...' +
-
-
-
- %= check_box 'hidelowdelay' => 1, id => 'id_hidelowdelay' - +
+
+ %= check_box 'hidelowdelay' => 1, id => 'id_hidelowdelay' + +
-
-
-
- %= check_box 'hide_opts' => 1, id => 'id_hide_opts' - +
+
+ %= check_box 'hide_opts' => 1, id => 'id_hide_opts' + +
-
-
- Nur für IRIS-Backend: -
-
- Ankunfts- oder Abfahrtszeit anzeigen? +
+ Nur für IRIS-Backend: +
+
+ Ankunfts- oder Abfahrtszeit anzeigen? +
+
+ %= select_field admode => [['Abfahrt bevorzugen' => 'deparr'], ['Nur Abfahrt' => 'dep'], ['Nur Ankunft' => 'arr']] +
-
- %= select_field admode => [['Abfahrt bevorzugen' => 'deparr'], ['Nur Abfahrt' => 'dep'], ['Nur Ankunft' => 'arr']] +
+
+ %= check_box 'show_realtime' => 1, id => 'id_show_realtime' + +
-
-
-
- %= check_box 'show_realtime' => 1, id => 'id_show_realtime' - +
+
+ %= check_box 'recursive' => 1, id => 'id_recursive' + +
-
-
-
- %= check_box 'recursive' => 1, id => 'id_recursive' - +
+ %= submit_button 'Anzeigen'
-
-
- %= submit_button 'Anzeigen' -
+
% end -- cgit v1.2.3