mentions légales

This commit is contained in:
Nicolas Bally 2012-06-18 19:54:35 +02:00
parent 0db58f1eba
commit e8821de441
3 changed files with 72 additions and 13 deletions

View File

@ -15,4 +15,21 @@ $ ->
$("a[rel^='prettyPhoto']").fancybox() $("a[rel^='prettyPhoto']").fancybox()
$("#legals").click ->
$('#legals_large').toggle()
$('#legals_large .content').css("margin-top",( ($(window).height()-$("#legals_large .content").height())/2)+"px")
return false
$("#legals_large").click ->
$('#legals_large').toggle();
return false
$("#legals_large a").click ->
$('#legals_large').toggle();
return false

View File

@ -557,3 +557,28 @@ footer{
} }
#legals_large{
background:rgba(250,250,250,0.8);
position:fixed;
top:0px;
bottom:0px;
left:0px;
right:0px;
width:100%;
height:100%;
display:none;
.content{
background:rgba(250,250,250,0.95);
padding:10px 30px;
margin:auto;
width:90%;
max-width:600px;
border:1px solid gray;
}
}

View File

@ -52,7 +52,7 @@
%footer %footer
%legals
Sauf mention contraire, textes & photos créés par Sauf mention contraire, textes & photos créés par
=link_to "Nicolas Bally", "mailto:info@nicolasbally.com" =link_to "Nicolas Bally", "mailto:info@nicolasbally.com"
sous sous
@ -62,6 +62,23 @@
Merci de m' Merci de m'
=link_to "envoyer un mail", "mailto:info@nicolasbally.com" =link_to "envoyer un mail", "mailto:info@nicolasbally.com"
lors de toute utilisation de ce contenu - lors de toute utilisation de ce contenu -
=link_to "Mentions légales" =link_to "Mentions légales", "#", :id => "legals"
#legals_large
.content
%p Le blog "http://blog.nicolasbally.com" est édité et hébérgé par l'entreprise Nicolas Bally
%p Le directeur de publication est Nicolas Bally
%p Siège social : 1165 rte du châtelard, 38140 Réaumont, France
%p
Siren : 512 769 787
%br
Code APE : 6201Z
%br
N° TVA Intracommunautaire : FR50512769787
%p{:style => "text-align:center"}=link_to "Fermer cette fenêtre", "#"