% if ($self->stash('refresh_interval')) { % } %= stylesheet '/static/default.css' %= stylesheet '/static/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/mobile.css' % } %if (stash('load_marquee')) { %= javascript '/static/jquery-1.10.2.min.js' %= javascript '/static/jquery-ui.min.js' %= javascript '/static/autocomplete.js' %= javascript '/static/collapse.js' %= javascript '/static/marquee.js' %= javascript begin $(function () { $('marquee').marquee() }); % end % } else { %= javascript '/static/jquery-1.10.2.min.js', defer => undef %= javascript '/static/jquery-ui.min.js', defer => undef %= javascript '/static/autocomplete.js', defer => undef %= javascript '/static/collapse.js', defer => undef % } % if (stash('with_geolocation')) { %= javascript '/static/geolocation.js', defer => undef % }
%= $error