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

41 lines
1.2 KiB
Text
Raw Normal View History

2015-08-10 11:05:06 +02:00
%html
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
2016-11-08 10:57:15 +01:00
%title
=t('dynamics.page_title')
2015-11-30 14:48:37 +01:00
%meta{'http-equiv' => "X-UA-Compatible", :content => "IE=edge"}
2015-08-10 11:05:06 +02:00
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
2016-11-15 14:10:43 +01:00
2015-08-10 11:05:06 +02:00
= csrf_meta_tags
%body
- if Rails.env == 'test'
%script{type: 'text/javascript'}
(typeof jQuery !== 'undefined') && (jQuery.fx.off = true);
2016-08-30 11:42:33 +02:00
="<!--[if lt IE 10]>".html_safe
= render partial: 'layouts/ie_lt_10'
="<![endif]-->".html_safe
2016-01-28 17:16:37 +01:00
%div#wrap
%div.row
%div#header.navbar
= render partial: "layouts/navbar"
%div.row.no-margin
%div.col-lg-2.col-md-2#left-pannel
2016-11-28 10:15:11 +01:00
- begin
= render partial: @left_pannel_url
-rescue
= render partial: 'layouts/left_panels/left_panel_default'
%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'
2016-11-17 12:30:39 +01:00
= render partial: 'layouts/google_analytics'