81 lines
2.0 KiB
Plaintext
Executable File
81 lines
2.0 KiB
Plaintext
Executable File
!!!
|
|
|
|
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
|
|
%head
|
|
%title Négos
|
|
|
|
|
|
|
|
%meta{:name=>"viewport", :content=>"width=device-width,initial-scale=1"}
|
|
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
|
|
%meta{ :"name" => "Description", :content => @description }
|
|
%meta{ :"name" => "Keywords", :content => @keywords }
|
|
=#<script type="text/javascript" =#src="https://maps.googleapis.com/maps/api/js?libraries=places&key=AIzaSyDSm3YlFVyeEa6KBPmRRkiylbd-xTl-dkQ">
|
|
=#</script>
|
|
|
|
= javascript_include_tag "public"
|
|
|
|
|
|
= csrf_meta_tag
|
|
=#render :partial => "public/shared/ga"
|
|
|
|
= stylesheet_link_tag 'public'
|
|
= stylesheet_link_tag '/fonts/Stylograph/stylesheet.css'
|
|
<link href='https://fonts.googleapis.com/css?family=Varela+Round' rel='stylesheet' type='text/css'>
|
|
|
|
=javascript_include_tag "https://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"
|
|
|
|
|
|
|
|
%body
|
|
|
|
|
|
|
|
.top
|
|
|
|
|
|
#menu
|
|
|
|
|
|
=render :partial => "public/shared/menu"
|
|
.clear
|
|
|
|
|
|
|
|
-if @biglogo
|
|
=link_to image_tag("/logo.png", :id => "big-logo"), "/"
|
|
-else
|
|
=link_to image_tag("/logo.png", :id => "logo"), "/"
|
|
|
|
#main
|
|
.body-container
|
|
=yield
|
|
.footer
|
|
|
|
.clear
|
|
=#render :partial => "public/shared/bottom"
|
|
|
|
|
|
#flashs= bootstrap_flash
|
|
:javascript
|
|
$(document).ready(function() {
|
|
|
|
$('#negos-video').magnificPopup({
|
|
items: {
|
|
src: 'http://www.youtube.com/watch?v=0uf7X-fcu1o'
|
|
},
|
|
type:'iframe',
|
|
iframe: {
|
|
markup: '<div class="mfp-iframe-scaler">'+'<div class="mfp-close"></div>'+'<iframe class="mfp-iframe" frameborder="0" allowfullscreen></iframe>'+'</div>',
|
|
patterns: {
|
|
youtube: {
|
|
index: 'youtube.com/',
|
|
id: 'v=',
|
|
src: '//www.youtube.com/embed/%id%?autoplay=1'
|
|
}
|
|
},
|
|
srcAction: 'iframe_src',
|
|
}
|
|
});
|
|
});
|