%= stylesheet "https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400i,700&display=fallback" %= stylesheet "/plugins/fontawesome-free/css/all.css" %= stylesheet "/dist/css/adminlte.css" %= stylesheet "/css/adminlte-menu.css" %= stylesheet "/css/adminlte-header-and-footer.css" %= stylesheet "/css/adminlte-content.css" %= content_for 'head_contrib' %= include 'partials/_js_imports' %= include 'common_js' %= content_for 'refresh'
<%= session 'SystemName' %>@<%= session 'DomainName' %>
% if ( not defined $c->session->{username} ) { Login % } else { <%= $c->session->{username} %> Logout % }
%= include 'partials/_info'
% if (flash 'success') {
%= "Success: ".$c->render_to_string(inline => flash 'success')
% } % if ( flash 'warning' ) {
%= "Warning: ".$c->render_to_string(inline => flash 'warning')
%} % if ( flash 'error' ) {
%= "Error: ".$c->render_to_string(inline => flash 'error')
%}
% my $content = content('module'); %= $content;
%= javascript "/plugins/jquery/jquery.min.js" %= javascript "/plugins/bootstrap/js/bootstrap.bundle.min.js" %= javascript "/dist/js/adminlte.min.js" %= include 'common_js' %= content 'js_swapClass' %= content 'js_togglePassword'