diff options
Diffstat (limited to 'templates/layouts/legacy.html.ep')
-rw-r--r-- | templates/layouts/legacy.html.ep | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/layouts/legacy.html.ep b/templates/layouts/legacy.html.ep index 0f9676c..5389c4b 100644 --- a/templates/layouts/legacy.html.ep +++ b/templates/layouts/legacy.html.ep @@ -17,18 +17,21 @@ <meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/> % } - % my $av = 'v58'; # asset version - %= stylesheet "/static/${av}/css/default.css" + % my $av = 'v99'; # asset version + %= stylesheet "/static/${av}/css/legacy.css" %= stylesheet "/static/${av}/css/material-icons.css" %= stylesheet "/static/${av}/css/jquery-ui.min.css" % my $force_mobile = param('force_mobile') // stash('force_mobile'); % if ($force_mobile) { - %= stylesheet "/static/${av}/css/mobile.css" + %= stylesheet "/static/${av}/css/legacy-mobile.css" % } %if (stash('load_marquee')) { %= javascript '/static/js/jquery-3.4.1.min.js' %= javascript "/static/${av}/js/jquery-ui.min.js" %= javascript "/static/${av}/js/dbf.min.js" + % if (not stash('hide_opts')) { + %= javascript "/dyn/${av}/autocomplete.js", defer => undef + % } %= javascript "/static/${av}/js/marquee.min.js" %= javascript begin $(function () { $('marquee').marquee() }); @@ -73,10 +76,10 @@ Bitte eine Station aus der Liste auswählen</div> %= select_field input => stash('stationlist') % } % elsif (stash('input')) { - %= text_field 'input', class => 'station', placeholder => 'Name oder DS100-Kürzel' + %= text_field 'input', class => 'station', placeholder => 'Name oder Ril100-Kürzel' % } % else { - %= text_field 'input', class => 'station', placeholder => 'Name oder DS100-Kürzel', autofocus => 'autofocus' + %= text_field 'input', class => 'station', placeholder => 'Name oder Ril100-Kürzel', autofocus => 'autofocus' % } </div> </div> @@ -158,7 +161,7 @@ Bitte eine Station aus der Liste auswählen</div> </div> <div class="field"> <div class="desc"> - %= check_box 'show_realtime' => 1, id => 'id_show_realtime' + %= check_box 'rt' => 1, id => 'id_show_realtime' <label for="id_show_realtime"> Echtzeitangaben statt Fahrplandaten anzeigen </label> |