maisonarbre_app/app/views/layouts/public.html.haml
Nicolas Bally 1fa250e0e4 Initial
2011-07-15 12:29:09 +02:00

67 lines
1.6 KiB
Plaintext

!!!
%html{ :'xml:lang' => "fr", :lang => "fr" }
%head
%title="Association La Maison de l'Arbre - Réaumont, Isère (38) - "+(@title || "").to_s
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
%meta{:name => "keywords", :content => @keywords || "" }
%meta{:name => "description", :content => @description || "" }
=javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"
= javascript_include_tag 'public/public'
= csrf_meta_tag
= stylesheet_link_tag 'public/public'
<link href="http://code.google.com/apis/maps/documentation/javascript/examples/standard.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false&region=FR"></script>
%body
#main
#bandeau
=link_to image_tag("/images/style/banderole.jpg"), "/"
#menu_haut
=render(:partial => "public/shared/first_menu")
#flash
-if flash[:error]
#flash_notice
=raw flash[:error]
-if flash[:notice]
#flash_notice
=raw flash[:notice]
#droite
= yield :sidebar
#contenu
= yield :body
=yield
%p{:style => "clear:both;"}
%br
#menu_bas
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-15688036-1");
pageTracker._trackPageview();
} catch(err) {}</script>