%#= 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' % if ( not defined $c->session->{lang} ) { % SrvMngr::init_session ( $c ); % }
%= include 'partials/_header' % if ($c->is_logged_in && scalar @{SrvMngr::theme_list( $c )} > 1) { %= include 'partials/_swt_theme' % }
% if (config 'hasJquery') { %= content 'js_toggleMenu' % }
%= include 'partials/_nav_menu' % if ( $c->is_logged_in ) { %= include 'partials/_user_menu' % } % if ( $c->is_admin ) { %= include 'partials/_navig2' % }
%= 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'