% if ($self->stash('refresh_interval')) { % } %= stylesheet '/default.css' %= javascript '/jquery-1.10.2.min.js' %= javascript '/marquee.js' %= javascript begin $(function () { $('marquee').marquee() }); % end % if (my $error = stash 'error') {
Received an error from the backend service:
%= $error
% } %= content % if (not $hide_opts) {
%= form_for _redirect => begin
Station name
% if (stash('stationlist')) { %= select_field station => stash('stationlist') % } % else { %= text_field 'station' % } %= submit_button 'Display'
optional:
only display routes via
%= text_field 'via'
on platforms
%= text_field 'platforms'
hide delay < 5 minutes
%= check_box 'hidelowdelay' => 1
display type
%= select_field mode => [['combined' => 'multi'], ['platform' => 'single'], ['non-DB' => 'clean']]
backend
%= select_field backend => [['RIS' => 'ris'], ['IRIS' => 'iris']]
hide input fields
%= check_box 'hide_opts' => 1
% end
notes:
examples:
see also:
db-fakedisplay v<%= $version %>
% }