!!!
%html{:lang => I18n.locale }
%head
/ Required meta tags
%meta{:charset => "utf-8"}/
%meta{:content => "width=device-width, initial-scale=1, shrink-to-fit=no", :name => "viewport"}/
/ Bootstrap CSS
%link{:crossorigin => "anonymous", :href => "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css", :integrity => "sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS", :rel => "stylesheet"}/
/ Font Awesome CSS
%link{:crossorigin => "anonymous", :href => "https://use.fontawesome.com/releases/v5.6.3/css/all.css", :integrity => "sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/", :rel => "stylesheet"}/
/ js-offcanvas CSS
%link{:href => "https://unpkg.com/js-offcanvas@1.2.8/dist/_css/prefixed/js-offcanvas.css", :rel => "stylesheet"}/
/ Fonts
%link{:href => "https://fonts.googleapis.com/css?family=Poppins", :rel => "stylesheet"}/
/ jQuery JS
%script{:crossorigin => "anonymous", :integrity => "sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=", :src => "https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"}
/ jQuery UI JS
%script{:crossorigin => "anonymous", :integrity => "sha256-T0Vest3yCU7pafRw9r+settMBX6JkKN06dqBnpQ8d30=", :src => "https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.js"}
/ jQuery redirect JS
%script{:src => "https://cdn.jsdelivr.net/npm/jquery.redirect@1.1.4/jquery.redirect.min.js"}
/ js-offcanvas JS
%script{:src => "https://unpkg.com/js-offcanvas@1.2.8/dist/_js/js-offcanvas.pkgd.min.js"}
- Administrador::Configuration.engines.each do |engine, options|
= "".html_safe
= javascript_include_tag engine.underscore.gsub('/', '_').gsub('_engine', '')
- Administrador::Configuration.engines.each do |engine, options|
= "".html_safe
= stylesheet_link_tag engine.underscore.gsub('/', '_').gsub('_engine', ''), media: "all"
%title Administrador
= csrf_meta_tags
= csp_meta_tag
= stylesheet_link_tag "administrador/application", media: "all"
= javascript_include_tag "administrador/application"
= render partial: 'html_head_extras'
%body{ administrador_helper(self).body_html }
.container-fluid.c-offcanvas-content-wrapper
.row
.col-12.px-0
#main-navbar.mb-4
= render '/administrador/application/navbar'
.container-fluid
.row
.col-12
#main-breadcrumbs
= breadcrumbs(self).render
#main-content
#flash-messages
= administrador_helper(self).flash_messages
= yield
= render "/administrador/application/sidebars/engine"
= offcanvas(self).offcanvas("engine-sidebar", modifiers: 'left,overlay', triggerButton: "#engine-sidebar-trigger" )
= administrador_helper(self).render_engine_sidebars
/ Optional JavaScript
/ Popper.js JS
%script{:crossorigin => "anonymous", :integrity => "sha384-wHAiFfRlMFy6i5SRaxvfOCifBUQy1xHdJ/yoi7FRNXMRBu5WHdZYu1hA6ZOblgut", :src => "https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.6/umd/popper.min.js"}
/ Bootstrap JS
%script{:crossorigin => "anonymous", :integrity => "sha384-B0UglyR+jN6CkvvICOB2joaf5I4l3gm9GU6Hc1og6Ls7i6U/mkkaduKaBhlAXv9k", :src => "https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/js/bootstrap.min.js"}