demarches-normaliennes/app/views/layouts/application.html.haml

37 lines
1.1 KiB
Text

%html
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%title
=t('dynamics.page_title')
%meta{'http-equiv' => "X-UA-Compatible", :content => "IE=edge"}
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
- if Rails.env == 'test'
%script{type: 'text/javascript'}
(typeof jQuery !== 'undefined') && (jQuery.fx.off = true);
="<!--[if lt IE 10]>".html_safe
= render partial: 'layouts/ie_lt_10'
="<![endif]-->".html_safe
%div#wrap
%div.row
%div#header.navbar
= render partial: "layouts/navbar"
%div.row.no-margin
%div.col-lg-2.col-md-2#left-pannel
= render partial: @left_pannel_url
%div.col-lg-10.col-md-10#main-container
%div.row
= render partial: 'layouts/flash_messages'
%div.row
= yield
%div.row
= render partial: 'layouts/footer'
= render partial: 'layouts/google_analytics'