2015-08-10 11:05:06 +02:00
|
|
|
%html
|
|
|
|
%head
|
2017-04-06 19:10:25 +02:00
|
|
|
%meta{ :content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type" }/
|
2017-03-30 17:54:43 +02:00
|
|
|
%meta{ name: "turbolinks-cache-control", content: "no-cache" }
|
2016-11-08 10:57:15 +01:00
|
|
|
%title
|
2017-04-06 11:38:44 +02:00
|
|
|
= t('dynamics.page_title')
|
2017-04-06 19:10:25 +02:00
|
|
|
%meta{ 'http-equiv' => "X-UA-Compatible", :content => "IE=edge" }
|
2016-01-20 15:50:28 +01:00
|
|
|
|
2017-04-17 19:32:26 +02:00
|
|
|
= favicon_link_tag(image_url("favicons/16x16.png"), type: "image/png", sizes: "16x16")
|
|
|
|
= favicon_link_tag(image_url("favicons/32x32.png"), type: "image/png", sizes: "32x32")
|
|
|
|
= favicon_link_tag(image_url("favicons/96x96.png"), type: "image/png", sizes: "96x96")
|
|
|
|
|
2015-08-10 11:05:06 +02:00
|
|
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
2017-02-01 14:24:24 +01:00
|
|
|
= stylesheet_link_tag 'print', media: 'print', 'data-turbolinks-track' => true
|
2015-08-10 11:05:06 +02:00
|
|
|
= 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'
|
2017-04-12 11:12:05 +02:00
|
|
|
#beta{ class: (Rails.env == 'production' ? '' : 'beta-staging') }
|
2017-01-03 10:26:47 +01:00
|
|
|
- if Rails.env == 'production'
|
|
|
|
Beta
|
|
|
|
- else
|
2016-11-30 11:04:50 +01:00
|
|
|
Env Test
|
|
|
|
|
2016-08-01 18:10:32 +02:00
|
|
|
- if Rails.env == 'test'
|
2017-04-06 19:10:25 +02:00
|
|
|
%script{ type: 'text/javascript' }
|
2016-08-01 18:10:32 +02:00
|
|
|
(typeof jQuery !== 'undefined') && (jQuery.fx.off = true);
|
|
|
|
|
2016-08-30 11:42:33 +02:00
|
|
|
|
|
|
|
= render partial: 'layouts/ie_lt_10'
|
|
|
|
|
|
|
|
|
2016-01-28 17:16:37 +01:00
|
|
|
%div#wrap
|
2017-04-06 15:32:05 +02:00
|
|
|
.row
|
2016-11-21 14:12:59 +01:00
|
|
|
%div#header.navbar
|
2016-11-21 14:19:15 +01:00
|
|
|
= render partial: "layouts/navbar"
|
2017-04-06 15:32:05 +02:00
|
|
|
.row.no-margin
|
2016-12-01 12:19:22 +01:00
|
|
|
- if RenderPartialService.left_panel_exist? @left_pannel_url
|
2017-04-06 15:32:05 +02:00
|
|
|
.col-xs-2#left-panel
|
2016-12-01 12:19:22 +01:00
|
|
|
- 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
|
2016-12-01 12:19:22 +01:00
|
|
|
- main_container_size = 10
|
|
|
|
- else
|
|
|
|
- main_container_size = 12
|
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
= render partial: 'layouts/main_container', locals: { main_container_size: main_container_size }
|
2017-04-12 11:12:05 +02:00
|
|
|
#mask-search
|
2016-11-29 09:56:11 +01:00
|
|
|
%h1
|
2017-04-06 17:18:03 +02:00
|
|
|
%i.fa.fa-times{ style: 'position: fixed; top: 10; right: 30; color: white;' }
|
2016-12-01 12:19:22 +01:00
|
|
|
|
2016-12-07 18:00:27 +01:00
|
|
|
= render partial: 'layouts/switch_devise_profile_module'
|
2016-12-22 22:27:02 +01:00
|
|
|
= render partial: 'layouts/notifications_alert'
|
2016-12-01 18:35:51 +01:00
|
|
|
|
2017-04-06 19:10:25 +02:00
|
|
|
= render partial: 'layouts/footer', locals: { main_container_size: main_container_size }
|
2016-11-17 12:30:39 +01:00
|
|
|
= render partial: 'layouts/google_analytics'
|