131 lines
3.8 KiB
Plaintext
131 lines
3.8 KiB
Plaintext
!!!
|
|
|
|
%html{:xmlns=>"http://www.w3.org/1999/xhtml", :"xml:lang"=>"fr", :lang=>"fr"}
|
|
%head
|
|
%meta{:"http-equiv" => "content-type" ,:content =>"text/html;charset=UTF-8" }
|
|
%title=@title || ""
|
|
%meta{:name => "keywords", :content => @keywords || "" }
|
|
%meta{:name => "description", :content => @description || "" }
|
|
|
|
= javascript_include_tag "/javascripts/core/jquery-1.4.2.js"
|
|
= javascript_include_tag "/javascripts/core/jquery-ui-1.8.2.js"
|
|
|
|
= javascript_include_tag 'front'
|
|
|
|
= csrf_meta_tag
|
|
= javascript_include_tag "plugins/jquery.prettyPhoto"
|
|
= javascript_include_tag "plugins/jquery.cycle.all"
|
|
|
|
|
|
|
|
|
|
= stylesheet_link_tag 'front'
|
|
= stylesheet_link_tag 'plugins/prettyPhoto'
|
|
|
|
|
|
<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®ion=FR"></script>
|
|
|
|
|
|
|
|
%body
|
|
#struct
|
|
#struct_top
|
|
%a{:name => "back_to_top"}
|
|
=link_to image_tag( "/front/logo.png", :alt => "accescible spécialiste contrôle d'accès, interphones, haute savoie, suisse, genève, annemasse"), "/", :id => "logo", :title => "accescible spécialiste contrôle d'accès, interphones, haute savoie, suisse, genève, annemasse"
|
|
.menu_first_level
|
|
|
|
-MenuItem.where(:parent_id =>nil, :enabled => true).order("position").limit(7).each do |mi|
|
|
-if mi.slug != "accueil"
|
|
=menu_item_link mi
|
|
|
|
|
|
|
|
-if @menu_item and @menu_item.slug == "accueil"
|
|
#main2
|
|
#digicode
|
|
|
|
#diapo{:style => "height:245px"}
|
|
-menu_item = MenuItem.find_by_slug('nos-installations') || MenuItem.first
|
|
-ImageFile.where(:home => true).each do |sample|
|
|
|
|
|
|
.item
|
|
=link_to image_tag( sample.file.large.medium.small.url, :style => "width:370px"), menu_item_path(:url => menu_item.url)
|
|
|
|
|
|
.title
|
|
=link_to sample.name, menu_item_path(:url => menu_item.url)
|
|
|
|
|
|
|
|
#infos_buttons
|
|
#title2
|
|
#legend2
|
|
|
|
=link_to "", "", :id => "fleche-left", :title => "accescible spécialiste contrôle d'accès, interphones, haute savoie, suisse, genève, annemasse"
|
|
=link_to "", "", :id => "fleche-right", :title => "accescible spécialiste contrôle d'accès, interphones, haute savoie, suisse, genève, annemasse"
|
|
|
|
=lien_bouton(1,"qui-sommes-nous")
|
|
=lien_bouton(2,"nos-produits")
|
|
=lien_bouton(3,"nos-partenaires")
|
|
=lien_bouton(4,"nos-clients")
|
|
=lien_bouton(5,"notre-equipe")
|
|
=lien_bouton(6,"notre-savoir-faire")
|
|
=lien_bouton(7,"nos-installations")
|
|
=lien_bouton(8,"nos-tarifs")
|
|
=lien_bouton(9,"contacts")
|
|
=lien_bouton(0,"telechargez-notre-plaquette-de-presentation")
|
|
|
|
#accueil_corps=yield :body
|
|
%p{:style => "clear:both;"}
|
|
%br
|
|
-else
|
|
=yield :center
|
|
.rounded_block
|
|
#main
|
|
|
|
#sidebar
|
|
#content=yield :sidebar
|
|
#corps=yield :body
|
|
|
|
|
|
%p{:style => "clear:both;"}
|
|
%br
|
|
|
|
#struct_bottom
|
|
|
|
|
|
.menu_first_level
|
|
-MenuItem.where(:parent_id =>nil, :enabled => true).order("position").limit(6).offset(7).each do |mi|
|
|
=menu_item_link mi
|
|
%a{:href => "#back_to_top"} Retour en haut de page
|
|
|
|
%br
|
|
%br
|
|
%br
|
|
%br
|
|
%br
|
|
<script type="text/javascript">
|
|
|
|
var _gaq = _gaq || [];
|
|
_gaq.push(['_setAccount', 'UA-19757686-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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|