86 lines
2.1 KiB
Plaintext
86 lines
2.1 KiB
Plaintext
!!!
|
|
%html{:lang=>"fr"}
|
|
%head
|
|
|
|
%meta{ :"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8" }
|
|
%meta{ :charset => "utf-8" }
|
|
|
|
%title= "Script Art - "+ @title.to_s+" - Danielle Riche"
|
|
|
|
%meta{ :"name" => "Description", :content => @description }
|
|
%meta{ :"name" => "Keywords", :content => @keywords }
|
|
|
|
|
|
= javascript_include_tag "public"
|
|
|
|
= csrf_meta_tag
|
|
|
|
= stylesheet_link_tag 'public'
|
|
= stylesheet_link_tag '/fonts/gondolasd/stylesheet.css'
|
|
|
|
|
|
=#render :partial => "public/shared/ga"
|
|
|
|
=javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false®ion=FR"
|
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
|
|
|
%body
|
|
|
|
|
|
#background1=image_tag "/diapo/dia1.jpg", :id => ""
|
|
|
|
=#background
|
|
=#midground
|
|
=#foreground
|
|
|
|
#color_background{:style => ("display:none" if @menu_item and @menu_item.slug == "accueil")}
|
|
|
|
%a{:id => "top_anchor"}
|
|
|
|
.large_content
|
|
#top{:class => ("acceuil" if @menu_item and @menu_item.slug == "accueil"), :onclick => "$(this).toggleClass('active')"}
|
|
.inner
|
|
%h2#logo= link_to "Script-Art", "/", :remote => true
|
|
|
|
|
|
|
|
#menu_top=render(:partial => "public/shared/first_menu")
|
|
|
|
|
|
|
|
=yield :sidebar
|
|
|
|
|
|
#bandeau{:style => ("display:none" if !content_for?(:bandeau))}
|
|
=yield :bandeau
|
|
|
|
#main{:style => ("display:none" if @menu_item and @menu_item.slug == "accueil"), :class => ("with_banner" if content_for?(:bandeau))}
|
|
#main_content
|
|
=yield
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#bottom
|
|
%a#go_top{:href => "#top_anchor"}
|
|
|
|
|
|
|
|
%p{:style => "clear:both;"}
|
|
|
|
|
|
#accueil{:style => ("display:none;" if !@menu_item or @menu_item.slug != "accueil")}
|
|
%h3 Danielle Riche
|
|
|
|
#large_place
|
|
:coffeescript
|
|
|
|
|
|
$(document).on "click", '#large_place .close_large', ->
|
|
$('#large_place').fadeOut()
|
|
|