% 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 % }
%= $error