diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/app.html.ep | 8 | ||||
-rw-r--r-- | templates/infoscreen.html.ep | 7 | ||||
-rw-r--r-- | templates/layouts/default.html.ep | 2 |
3 files changed, 14 insertions, 3 deletions
diff --git a/templates/app.html.ep b/templates/app.html.ep index 80e17d2..8c7d079 100644 --- a/templates/app.html.ep +++ b/templates/app.html.ep @@ -33,9 +33,15 @@ % elsif ( $departure->{train_type} eq 'IC' % or $departure->{train_type} eq 'ICE' % or $departure->{train_type} eq 'EC' -% or $departure->{train_type} eq 'THA' ) { +% or $departure->{train_type} eq 'EN') { % $linetype = 'fern'; % } +% elsif ( $departure->{train_type} eq 'THA' +% or $departure->{train_type} eq 'FLX' +% or $departure->{train_type} eq 'NJ') { +% $linetype = 'ext'; +% } +% <div class="line <%= $linetype %>"> % if ($departure->{train_type} and $departure->{train_no}) { %= $departure->{train_type} diff --git a/templates/infoscreen.html.ep b/templates/infoscreen.html.ep index 9c244a0..1202dd7 100644 --- a/templates/infoscreen.html.ep +++ b/templates/infoscreen.html.ep @@ -33,9 +33,14 @@ % elsif ( $departure->{train_type} eq 'IC' % or $departure->{train_type} eq 'ICE' % or $departure->{train_type} eq 'EC' -% or $departure->{train_type} eq 'THA' ) { +% or $departure->{train_type} eq 'EN') { % $linetype = 'fern'; % } +% elsif ( $departure->{train_type} eq 'THA' +% or $departure->{train_type} eq 'FLX' +% or $departure->{train_type} eq 'NJ') { +% $linetype = 'ext'; +% } <div class="line <%= $linetype %>"> % if ($departure->{train_type} and $departure->{train_no}) { %= $departure->{train_type} diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index f540847..5b6dec8 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -8,7 +8,7 @@ <meta http-equiv="refresh" content="<%= $self->stash('refresh_interval') %>"/> % } - % my $av = 'v1'; # asset version + % my $av = 'v2'; # asset version %= stylesheet "/static/${av}/default.css" %= stylesheet "/static/${av}/jquery-ui.min.css" % my $force_mobile = param('force_mobile') // -1; |