!!! 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
- if Itsf::Backend::Configuration.main_navigation_style.eql? :horizontal
.navbar.navbar-default.navbar-static-top
.container-fluid
%button.navbar-toggle(type="button" data-toggle="collapse" data-target=".navbar-responsive-collapse")
%span.icon-bar
%span.icon-bar
%span.icon-bar
#navigation-logo.pull-left
= render 'layouts/itsf/backend/logo'
= Itsf::Backend::Configuration.title_link.call(self)
.navbar-collapse.collapse.navbar-responsive-collapse
%ul.nav.navbar-nav
= render 'layouts/itsf/backend/main_navigation'
%ul.nav.navbar-nav.pull-right
= render_i18n_navigation
- if respond_to?(:render_user_navigation)
%ul.nav.navbar-nav.pull-right
= render_user_navigation(dropdown: true)
- if Itsf::Backend.features?(:multi_client)
%ul.nav.navbar-nav.pull-right
= render_client_navigation
.container-fluid
.row
.col-lg-12
= bootstrap_flash
= yield
%footer
= render 'layouts/itsf/backend/footer'