!!! 5 %html(lang="en") %head %meta(charset="utf-8") %meta(http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1") %meta(name="viewport" content="width=device-width, initial-scale=1.0") %title= content_for?(:title) ? yield(:title) : t('.title', application_name: Rails.application.class.parent_name.underscore.titleize) = csrf_meta_tags / Le HTML5 shim, for IE6-8 support of HTML elements /[if lt IE 9] = javascript_include_tag "//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" = stylesheet_link_tag "itsf_backend", :media => "all" = favicon_link_tag 'apple-touch-icon-144x144-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '144x144' = favicon_link_tag 'apple-touch-icon-114x114-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '114x114' = favicon_link_tag 'apple-touch-icon-72x72-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png', :sizes => '72x72' = favicon_link_tag 'apple-touch-icon-precomposed.png', :rel => 'apple-touch-icon-precomposed', :type => 'image/png' = favicon_link_tag 'itsf/backend/favicon.png', :rel => 'shortcut icon' = javascript_include_tag "itsf_backend" = render 'head_extras' - Itsf::Backend::Configuration.backend_engines.each do |engine| = "".html_safe = javascript_include_tag engine.name.underscore.gsub('/', '_').gsub('_engine', '') - Itsf::Backend::Configuration.backend_engines.each do |engine| = "".html_safe = stylesheet_link_tag engine.name.underscore.gsub('/', '_').gsub('_engine', ''), media: "all" %body{ class: Itsf::Backend::Configuration.main_navigation_style.eql?(:vertical) ? 'p-t-2' : nil } - if Itsf::Backend::Configuration.main_navigation_style.eql? :horizontal #main-navigation.navbar.navbar-default.navbar-static-top .container-fluid = render 'layouts/itsf/backend/main_navigation' .container-fluid .row - if Itsf::Backend::Configuration.main_navigation_style.eql? :horizontal .col-md-12 = bootstrap_flash = yield - else .col-md-3 #main-navigation.sidebar-nav.navbar.navbar-default = render 'layouts/itsf/backend/main_navigation' .col-md-9 = bootstrap_flash = yield %footer = render 'layouts/itsf/backend/footer'