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

60 lines
1.5 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
2016-02-12 13:49:32 +01:00
= stylesheet_link_tag 'application_split2', media: 'all', 'data-turbolinks-track' => true
2015-08-10 11:05:06 +02:00
= 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);
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
2016-02-01 17:16:00 +01:00
%div#header.navbar
2016-06-07 15:16:35 +02:00
=render partial: "layouts/navbar"
2015-08-10 11:05:06 +02:00
2016-06-08 10:41:01 +02:00
#flash_message.center
- if flash.notice
.alert.alert-success
= flash.notice
- if flash.alert
.alert.alert-danger
= flash.alert
#main_div.main_div
2015-08-10 11:05:06 +02:00
= yield
2016-01-28 17:16:37 +01:00
%br
#footer.navbar
.container.center
%p{style:'margin-top: 1em;'}
%p{class: "copyright text-muted small"}
=link_to 'SGMAP', "http://etatplateforme.modernisation.gouv.fr"
2016-08-29 11:02:02 +02:00
2016
\-
=link_to 'CGU / Mentions légales', cgu_path
\-
2016-01-28 17:16:37 +01:00
2016-11-03 16:46:26 +01:00
=link_to 'Contact', "mailto:"+t('dynamics.contact_email')
2016-01-28 17:16:37 +01:00
2016-11-17 12:30:39 +01:00
= render partial: 'layouts/google_analytics'
2016-01-28 17:16:37 +01:00