89 lines
2.8 KiB
Plaintext
89 lines
2.8 KiB
Plaintext
!!!
|
|
|
|
%html{:lang => "fr", "xml:lang" => "fr", :xmlns => "http://www.w3.org/1999/xhtml"}
|
|
%head
|
|
%title=@title.to_s+" "
|
|
|
|
|
|
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
|
|
%meta{ :"name" => "Description", :content => @description }
|
|
%meta{ :"name" => "Keywords", :content => @keywords }
|
|
|
|
|
|
= javascript_include_tag "public"
|
|
|
|
= csrf_meta_tag
|
|
|
|
= stylesheet_link_tag 'public'
|
|
|
|
<script src="//use.typekit.net/twa3qoy.js"></script>
|
|
<script>try{Typekit.load();}catch(e){}</script>
|
|
|
|
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
|
|
|
%body
|
|
|
|
|
|
-if flash[:error] or flash[:notice] or flash[:alert]
|
|
.flash
|
|
|
|
=flash[:error]
|
|
=flash[:notice]
|
|
=flash[:alert]
|
|
|
|
.top
|
|
.top_background
|
|
|
|
.main
|
|
=link_to image_tag("/logo.png", :id => "logo"), "/"
|
|
|
|
.contact
|
|
%p
|
|
=image_tag "/mail.png"
|
|
=link_to "info@cris-graphic.com", "mailto:info@cris-graphic.com"
|
|
%p
|
|
=image_tag "/tel.png"
|
|
04 76 03 19 70
|
|
|
|
.menu_background
|
|
.main#menu
|
|
-MenuItem.where(:parent_id => nil, :enabled => true, :visible => true).order(:position).each do |menu_item|
|
|
-description = ""
|
|
-description = menu_item.menu_content.description if menu_item.menu_content and menu_item.menu_content_type == "Page"
|
|
=link_to raw("<h4>#{menu_item.name}</h4>#{description}"),menu_item_path(:url => menu_item.url), :class => ("active" if @menu_item and (@menu_item == menu_item or @menu_item.ancestors.include?(menu_item)))
|
|
|
|
#corps{:class => (@menu_item.slug if @menu_item)}
|
|
.main=yield
|
|
|
|
.bottom
|
|
.infos
|
|
.main
|
|
.address
|
|
%h4 Cris Graphic
|
|
Atelier de production
|
|
%br
|
|
|
|
296 rue de la Béalière
|
|
%br
|
|
38113 Veurey-Voroize
|
|
.contact
|
|
%p
|
|
=image_tag "/mail.png"
|
|
=link_to "info@cris-graphic.com", "mailto:info@cris-graphic.com"
|
|
%p
|
|
=image_tag "/tel.png"
|
|
04 76 03 19 70
|
|
%p
|
|
=image_tag "/fax.png"
|
|
04 76 01 95 31
|
|
.clear
|
|
=image_tag "/bottom.png", :class => "bottom_image"
|
|
.legals
|
|
.main
|
|
Cris Graphic - SARL au capital de 7.622,00 € - RCS : Grenoble B 451 888 101 - APE : 1812Z -
|
|
=link_to "Partenaire Art des Sens", "http://artdessens.fr", :target => "_blank", :title => "Art des Sens - Agencement & décoration, impression Cristal Protect"
|
|
=link_to image_tag("/nb.png"), "http://nicolasbally.com", :target => "_blank"
|
|
|
|
|
|
|