%= stylesheet '/css/new_sme.css' %= stylesheet '/css/new-sme-main.css' %= content_for 'head_contrib' % if (config 'hasJquery') { %= include 'partials/_js_imports' %= include 'common_js' % } %= content_for 'refresh' %= stylesheet '/js/datatables.min.css' %= javascript '/js/datatables.min.js' %= stylesheet '/js/jquery-ui.min.css' %= javascript '/js/jquery-ui.min.js' %= javascript '/js/dataTables.buttons.min.js' %= javascript '/js/jszip.min.js' %= javascript '/js/pdfmake.min.js' %= javascript '/js/vfs_fonts.js' %= javascript '/js/buttons.html5.min.js' %= javascript '/js/buttons.print.min.js' %= javascript '/js/flag-by-locale.js' %= javascript '/js/sme-password.js' %= stylesheet '/css/sme-jquery-overrides.css' %# panel specific css file % my $controller = stash('controller'); % if ($controller) { % my $css_path = "css/$controller.css"; %# Use the url_for helper to generate the correct static file URL % if (app->static->file($css_path)) { "> % } % } % if ( not defined $c->session->{lang} ) { % SrvMngr::init_session ( $c ); % }
% if (config 'hasJquery') { %= content 'js_toggleMenu' % }
%= include 'partials/_info' % if (flash 'success') {
%= $c->render_to_string(inline => flash 'success')
% } % if ( flash 'warning' ) {
%= $c->render_to_string(inline => flash 'warning')
%} % if ( flash 'error' ) {
%= $c->render_to_string(inline => flash 'error')
%} %= content 'module' %= include 'partials/_footer'
% if (config 'hasJquery') { %= content 'js_swapClass' %= content 'js_togglePassword' % } %= javascript '/js/sme-dataTable-setup.js' %# Specific panel js code % $controller = stash('controller'); % if ($controller) { % my $js_path = "js/$controller.js"; %# Use the url_for helper to generate the correct static file URL % if (app->static->file($js_path)) { % } % }