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

55 lines
1.8 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
2016-12-22 21:49:31 +01:00
= action_cable_meta_tag
2015-08-10 11:05:06 +02:00
%body
2016-12-02 16:04:23 +01:00
= render partial: 'layouts/support_navigator_banner'
2016-11-30 11:04:50 +01:00
#beta{class:(Rails.env == 'production' ? '' : 'beta_staging')}
2017-01-02 18:07:04 +01:00
- if Rails.env != 'production'
2016-11-30 11:04:50 +01:00
Env Test
- 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
- if RenderPartialService.left_panel_exist? @left_pannel_url
2016-12-23 16:58:06 +01:00
%div.col-lg-2.col-md-2.col-sm-2.col-xs-2#left-pannel
- if gestionnaire_signed_in?
#search-block
= render partial: 'layouts/left_panels/search_area'
2016-11-28 10:15:11 +01:00
= render partial: @left_pannel_url
- main_container_size = 10
- else
- main_container_size = 12
=render partial: 'layouts/main_container', locals: {main_container_size: main_container_size}
2016-11-29 09:56:11 +01:00
#mask_search
%h1
%i.fa.fa-times{style:'position: fixed; top: 10; right: 30; color: white;'}
= render partial: 'layouts/switch_devise_profile_module'
= render partial: 'layouts/notifications_alert'
= render partial: 'layouts/footer', locals: {main_container_size: main_container_size}
2016-11-17 12:30:39 +01:00
= render partial: 'layouts/google_analytics'