% if ($self->stash('refresh_interval')) { % } % my $av = 'v4'; # asset version %= stylesheet "/static/${av}/default.css" %= stylesheet "/static/${av}/jquery-ui.min.css" % my $force_mobile = param('force_mobile') // -1; % if ($force_mobile == 1 or ($self->browser->mobile and $force_mobile != 0)) { %= stylesheet "/static/${av}/mobile.css" % } %if (stash('load_marquee')) { %= javascript '/static/jquery-1.10.2.min.js' %= javascript "/static/${av}/jquery-ui.min.js" %= javascript "/static/${av}/dbf.min.js" %= javascript "/static/${av}/marquee.min.js" %= javascript begin $(function () { $('marquee').marquee() }); % end % } else { %= javascript '/static/jquery-1.10.2.min.js', defer => undef %= javascript "/static/${av}/jquery-ui.min.js", defer => undef %= javascript "/static/${av}/dbf.min.js", defer => undef % } % if (stash('with_geolocation')) { %= javascript "/static/${av}/geolocation.min.js", defer => undef % }
% if (my $error = stash 'error') {
Backend-Fehler:
%= $error
% } % elsif (stash('stationlist')) {
Mehrdeutige Eingabe. Bitte eine Station aus der Liste auswählen
% }
%= content % if (not stash('hide_opts')) {
%= form_for _redirect => begin
Bahnhof / Haltestelle
% if (stash('stationlist')) { %= select_field station => stash('stationlist') % } % elsif (stash('station')) { %= text_field 'station', class => 'station' % } % else { %= text_field 'station', class => 'station', autofocus => 'autofocus' % }
%= submit_button 'Abfahrtsmonitor'
% if (not stash('show_intro')) {
% }
Weitere Einstellungen
Frontend
%= select_field mode => [ ['App' => 'app'], ['Infoscreen' => 'infoscreen'], ['Bahnhofstafel' => 'multi'], ['Gleisanzeiger' => 'single'] ]
Backend
%= select_field backend => [ ['IRIS' => 'iris'], ['HAFAS' => 'ris'] ]
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, ...'
%= check_box 'hidelowdelay' => 1, id => 'id_hidelowdelay'
%= check_box 'dark' => 1, id => 'id_dark'
%= check_box 'hide_opts' => 1, id => 'id_hide_opts'
Nur für IRIS-Backend:
Ankunfts- oder Abfahrtszeit anzeigen?
%= select_field admode => [['Abfahrt bevorzugen' => 'deparr'], ['Nur Abfahrt' => 'dep'], ['Nur Ankunft' => 'arr']]
%= check_box 'detailed' => 1, id => 'id_detailed'
%= check_box 'show_realtime' => 1, id => 'id_show_realtime'
%= check_box 'no_related' => 1, id => 'id_no_related'
%= check_box 'save_defaults' => 1, id => 'id_save_defaults'
%= submit_button 'Anzeigen'
% end
Siehe auch:
Developers Developers Developers Developers:
db-infoscreen v<%= stash('version') // '???' %>
Backends:
Travel::Status::DE::DBWagenreihung v<%= $Travel::Status::DE::DBWagenreihung::VERSION %>
Travel::Status::DE::HAFAS v<%= $Travel::Status::DE::HAFAS::VERSION %>
Travel::Status::DE::IRIS v<%= $Travel::Status::DE::IRIS::VERSION %>
Haltestellendaten © DB Station&Service AG, Europaplatz 1, 10557 Berlin, lizensiert unter CC-BY 4.0
Datenschutzerklärung
Impressum
% }