Loading bin/db-fakedisplay +4 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,10 @@ else { } } $template->param( departures => \@params, ); $template->param( departures => \@params, version => $VERSION ); say $template->output; Loading cgi/index.pl +6 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ use File::ShareDir qw(dist_file); use HTML::Template; use Travel::Status::DE::DeutscheBahn; our $VERSION = '0.00'; sub get_results_for { my ($station) = @_; Loading Loading @@ -63,7 +65,10 @@ get '/multi/:station' => sub { } ); } $template->param( departures => \@params ); $template->param( departures => \@params, version => $VERSION ); $self->render( text => $template->output ); }; Loading share/multi-lcd.html +15 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,16 @@ border-bottom: 0.1em solid #000066; } div.about { text-align: right;; font-family: Sans-Serif; color: #666666; } div.about a { color: #000066; } </style> </head> <body> Loading Loading @@ -118,5 +128,10 @@ </div> <!-- outer --> <div class="about"> <a href="http://finalrewind.org/projects/db-fakedisplay/">db-fakedisplay</a> v<TMPL_VAR version> </div> </body> </html> Loading
bin/db-fakedisplay +4 −1 Original line number Diff line number Diff line Loading @@ -113,7 +113,10 @@ else { } } $template->param( departures => \@params, ); $template->param( departures => \@params, version => $VERSION ); say $template->output; Loading
cgi/index.pl +6 −1 Original line number Diff line number Diff line Loading @@ -5,6 +5,8 @@ use File::ShareDir qw(dist_file); use HTML::Template; use Travel::Status::DE::DeutscheBahn; our $VERSION = '0.00'; sub get_results_for { my ($station) = @_; Loading Loading @@ -63,7 +65,10 @@ get '/multi/:station' => sub { } ); } $template->param( departures => \@params ); $template->param( departures => \@params, version => $VERSION ); $self->render( text => $template->output ); }; Loading
share/multi-lcd.html +15 −0 Original line number Diff line number Diff line Loading @@ -79,6 +79,16 @@ border-bottom: 0.1em solid #000066; } div.about { text-align: right;; font-family: Sans-Serif; color: #666666; } div.about a { color: #000066; } </style> </head> <body> Loading Loading @@ -118,5 +128,10 @@ </div> <!-- outer --> <div class="about"> <a href="http://finalrewind.org/projects/db-fakedisplay/">db-fakedisplay</a> v<TMPL_VAR version> </div> </body> </html>