boissier_app/app/views/layouts/public.html.haml
2017-09-12 22:35:27 +02:00

113 lines
3.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!!!
%html{:lang => "fr"}
%head
%meta{:"http-equiv" => "content-type" ,:content =>"text/html;charset=UTF-8" }
%title="Pharmacie Boissier - Rives sur Fures (38140) - "+ @title.to_s
-if @description
%meta{:name => "description", :content => @description}
-else
%meta{:name => "description", :content => "La pharmacie Boissier située à Rives sur Fures (38140) vous accueil et vous conseil."}
-if @keywords
%meta{:name => "keywords", :content => @keywords}
-else
%meta{:name => "keywords", :content => "pharmacie, Boissier, Rives, Renage, Réaumont, Saint Blaise, Charnècles, homéopathie, aromathérapie"}
= stylesheet_link_tag 'public/public'
=javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"
=javascript_include_tag 'public/public', :debug => true
<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>
= csrf_meta_tag
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-27563989-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
%body
#public
#header
.center
.menu
=render(:partial => "public/shared/first_menu")
=link_to image_tag('front/logo.png', :alt => "Pharmacie Boissier - Rives sur Fures - Pays Voironnais (à proximité de Renage, Réaumont, Saint Blaise du Buis, Charnècles)"), "/"
=yield
:javascript
$(".promotion_line .element").css("height", "auto");
$(".promotion_line").each(function() {
promotion_pannel_height= 0;
$(this).find(".element").each(function() {
if ($(this).height() > promotion_pannel_height) {
return promotion_pannel_height = $(this).height();
}
});
promotion_pannel_height = promotion_pannel_height - 0
$(this).find(".element").css("height", promotion_pannel_height+"px");
});
#footer
.center
.column
%h4 Horaires d'ouverture
%p
="- le lundi de 14h à 19h "
%br
="- du mardi au vendredi : 8h30 à 12h15 et 14h à 19h "
%br
="- le samedi : 8h30 à 12h15 "
%p=image_tag('front/footer_logo.png')
.column
%h4 Nous contacter
%p
Pharmacie Boissier
%br
63 rue du Plan
%br
38140 Rives sur Fures
%p
Plan daccès
%p
=link_to "contact@pharmacieboissier.com", "mailto:contact@pharmacieboissier.com"
%p
tel : 04 76 65 35 69
%br
fax : 04 76 66 83 50
.column.last
%h4 Pharmacie de garde
%p
=link_to "- consultez la liste des pharmacies de garde ", "/pages/infos-utiles/pharmacies-gardes.html"
%br
="- appelez le 3915"
%h4=link_to "Déposez vos ordonnances", "/pages/ordonnances.html"
%p=link_to "ou commandez un produit directement en ligne !","/pages/ordonnances.html"
.clear