assets & footer

This commit is contained in:
Nicolas Bally 2012-02-12 17:21:08 +01:00
parent 19cc3c6765
commit 81a2e22139
19336 changed files with 161 additions and 9888 deletions

22
Gemfile
View File

@ -2,37 +2,25 @@ source 'http://rubygems.org'
gem 'rails', '3.1.3'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
gem 'mysql2'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', '~> 3.1.5'
gem 'coffee-rails', '~> 3.1.1'
gem 'uglifier', '>= 1.0.3'
gem "therubyracer"
end
gem 'jquery-rails'
# To use ActiveModel has_secure_password
# gem 'bcrypt-ruby', '~> 3.0.0'
gem 'capistrano'
# Use unicorn as the web server
# gem 'unicorn'
# Deploy with Capistrano
# gem 'capistrano'
# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'
gem 'unicorn'
group :test do
# Pretty printed test output
gem 'turn', '0.8.2', :require => false
end
@ -46,4 +34,4 @@ gem 'devise'
gem 'kaminari'
gem 'carrierwave'
gem 'rmagick'
gem 'unicorn'

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 106 KiB

After

Width:  |  Height:  |  Size: 206 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

View File

@ -10,7 +10,7 @@
$ ->
$(".slides").slides
preload:true,
slideSpeed : 1500
fadeSpeed : 500
play :8000

View File

@ -332,7 +332,56 @@ body{
#footer{
@extend .center;
min-height:300px;
background:url('/assets/fond_vert.png');
padding-top:15px;
padding-bottom:20px;
*{
color:white;
}
h3{
font-size:22px;
font-weight:normal;
margin-bottom:10px;
margin-top:0px;
}
a{
text-decoration:none;
font-size:16px;
&:hover{
text-decoration:underline;
}
}
.column1{
width:300px;
border-right:1px solid white;
float:left;
padding:10px;
min-height:350px;
}
.column2{
width:300px;
float:left;
padding:10px;
min-height:350px;
}
.column3{
width:300px;
border-left:1px solid white;
float:left;
padding:10px;
min-height:350px;
}
}
&.home{
@ -344,6 +393,17 @@ body{
#legals{
height:35px;
@extend .center;
padding-top:10px;
p{
margin:0px;
padding:0px;
}
a{
text-decoration:none;
color: #545454;
}
}

View File

@ -38,8 +38,43 @@
#footer_container
#footer
.column1
%h3 Bibliographie
%p Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris consectetur, nisl a viverra luctus, ligula dui suscipit mauris, nec vulputate dolor mi a ante. Donec dapibus tellus ut quam feugiat eget tincidunt mi congue.
%p
=link_to "en savoir +", "/pages/bibliographie.html"
%p{:style => "text-align:center;"}
=image_tag "livre1.png"
   
=image_tag "livre2.png"
.column2
%h3 Banque de donnée
%p lorem ipsum
%h3 Profitez de mon expérience !
%p Conférences, formations, études...
%p{:style => "text-align:right;"}
=link_to "en savoir +", "/pages/presentation/profitez-de-mon-experience.html"
.column3
%h3 A propos
%p
Je mapelle Jean François Noblet, jaime éperdument la vie, les hommes, les femmes, les enfants et la nature.
%br
Je suis anti-productivisme, anti-vitesse, anti-frix, anti-nucléaire et anti-pollution.
%br
Je suis pour la rigolade, lamour, la nature, la liberté, lhumanisme et la paresse.
%p{:style => "text-align:right;"}
=link_to "Envi de mieux me connaître ?", "/pages/presentation.html"
%p{:style => "text-align:center;"}=image_tag "portrait.png", :alt => "Jean François Noblet"
%p{:style => "clear:both;"}
#legals
%p{:style => "float:right"}
=link_to "Site réalisé par Nicolas Bally - Quartz Agence", "http://www.quartz-agence.com", :target => "_blank"
%p=link_to "Mentions légales"

View File

@ -79,13 +79,50 @@
#articles
=render Article.recents.limit 3
=link_to "Voir tout les articles du blog", articles_path()
%p{:style => "clear:both"}
#footer_container.home
#footer
.column1
%h3 Bibliographie
%p Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris consectetur, nisl a viverra luctus, ligula dui suscipit mauris, nec vulputate dolor mi a ante. Donec dapibus tellus ut quam feugiat eget tincidunt mi congue.
%p
=link_to "en savoir +", "/pages/bibliographie.html"
%p{:style => "text-align:center;"}
=image_tag "livre1.png"
   
=image_tag "livre2.png"
.column2
%h3 Banque de donnée
%p lorem ipsum
%h3 Profitez de mon expérience !
%p Conférences, formations, études...
%p{:style => "text-align:right;"}
=link_to "en savoir +", "/pages/presentation/profitez-de-mon-experience.html"
.column3
%h3 A propos
%p
Je mapelle Jean François Noblet, jaime éperdument la vie, les hommes, les femmes, les enfants et la nature.
%br
Je suis anti-productivisme, anti-vitesse, anti-frix, anti-nucléaire et anti-pollution.
%br
Je suis pour la rigolade, lamour, la nature, la liberté, lhumanisme et la paresse.
%p{:style => "text-align:right;"}
=link_to "Envi de mieux me connaître ?", "/pages/presentation.html"
%p{:style => "text-align:center;"}=image_tag "portrait.png", :alt => "Jean François Noblet"
%p{:style => "clear:both;"}
#legals
%p{:style => "float:right"}
=link_to "Site réalisé par Nicolas Bally - Quartz Agence", "http://www.quartz-agence.com", :target => "_blank"
%p=link_to "Mentions légales"

View File

@ -27,6 +27,10 @@
=render :partial => "public/articles/sidebar_recents"
.widget
%h2 Profitez de mon expérience !
=link_to "Conférences, sorties, études...", "/pages/presentation/profitez-de-mon-experience.html"
-content_for :body do
.breadcumbs

View File

@ -1,5 +1,6 @@
=link_to "Accueil", "/"
=link_to "Blog", articles_path
=link_to "Photothèque", "http://www.photo-nature-environnement.com", :target => "_blank"
-MenuItem.where(:parent_id => nil, :enabled => true).order(:position).each do |menu_item|
=menu_item_link menu_item

View File

@ -36,8 +36,23 @@ set :application, 'jfn_app'
after "deploy", "deploy:bundle_gems"
after "deploy:bundle_gems", "deploy:make_simlinks"
after "deploy:make_simlinks", "deploy:restart"
after "deploy:make_simlinks", "assets:precompile"
after "assets:precompile", "deploy:restart"
after "deploy:restart", "deploy:cleanup"
namespace :assets do
task :precompile, :roles => :web do
run "cd #{current_path} && RAILS_ENV=production bundle exec rake assets:precompile"
end
task :cleanup, :roles => :web do
run "cd #{current_path} && RAILS_ENV=production bundle exec rake assets:clean"
end
end
namespace :deploy do

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 129 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
body{background:#3f94eb;font-family:verdana;padding:0px;margin:0px;-webkit-font-smoothing:antialiased;font-size:13px;font-family:"Lucida Grande", arial, helvetica, sans-serif}body #title{width:520px;margin:auto;margin-top:10%;color:#9fc9f5;text-shadow:0 1px 1px #3f94eb;padding:0px;text-transform:uppercase}body #main{background:white;width:500px;padding:10px;margin:auto;-webkit-box-shadow:#666666 0px 0px 20px;-moz-box-shadow:#666666 0px 0px 20px;box-shadow:#666666 0px 0px 20px}input[type=text],input[type=password],textarea{padding:5px;border:solid 1px #C9C9C9;outline:0;font:normal 13px/100% Verdana,Tahoma,sans-serif;width:200px;background:-webkit-gradient(linear, left top, left 25, from(#fff), color-stop(4%, #f7f7f7), to(#fff));background:-moz-linear-gradient(top, #fff, #f7f7f7 1px, #fff 25px)}textarea{width:400px;max-width:400px;height:150px;line-height:150%}input:hover,textarea:hover,input:focus,textarea:focus{box-shadow:rgba(0,0,0,0.1) 0px 0px 8px;-moz-box-shadow:rgba(0,0,0,0.1) 0px 0px 8px;-webkit-box-shadow:rgba(0,0,0,0.1) 0px 0px 8px}label{cursor:pointer}.button{display:inline-block;background:#3c74a8;background:-webkit-gradient(linear, 0% 100%, 0% 0%, from(#eff2f2), to(#fff));background:-moz-linear-gradient(bottom, #eff2f2, #fff);box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-moz-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-webkit-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;border:none;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;color:RGB(46, 46, 46);padding:5px 15px;margin:0px 5px 0px 5px;font-weight:normal}.button:hover{box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-moz-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-webkit-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;color:RGB(46, 46, 46);cursor:pointer}.actions{text-align:right}button,input[type=submit]{display:inline-block;background:#3c74a8;background:-webkit-gradient(linear, 0% 100%, 0% 0%, from(#3c74a8), to(#6792bb));background:-moz-linear-gradient(bottom, #3c74a8, #6792bb);box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-moz-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-webkit-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;border:none;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;color:white;margin:0px 5px 0px 5px;padding:5px 15px;text-shadow:0 1px 1px rgba(0,0,0,0.6);font-weight:normal;font-size:13px}button:hover,input[type=submit]:hover{box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-moz-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-webkit-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;cursor:pointer}.field_with_errors{display:inline;color:red}.field_with_errors input{display:inline;border-color:red}.errorExplanation{border-top:1px solid black;border-bottom:1px solid black;padding:5px;border-color:#F2EDA1;background:#FEFCDB}.errorExplanation h2{font-size:13px;margin:0px;padding:0px}.message{border:4px solid black;border-radius:10px;padding:5px;margin:20px;-webkit-box-shadow:rgba(0,0,0,0.5) 1px 1px 40px;-moz-box-shadow:rgba(0,0,0,0.5) 1px 1px 40px;box-shadow:rgba(0,0,0,0.5) 1px 1px 40px}.alert{border-color:#f2eda1;background:rgba(254,252,219,0.8)}.notice{border-color:#cde6f5;background:rgba(236,248,254,0.8)}#flash{position:fixed;bottom:0px;width:100%}a img{border:0px}table{border-collapse:collapse;width:100%}h1,h2,h3,h4,h5,h6{margin:0px;padding:0px}a{color:#3C74A8;text-decoration:none}a:hover{color:#3F94EB}

View File

@ -1 +0,0 @@
body{background:#3f94eb;font-family:verdana;padding:0px;margin:0px;-webkit-font-smoothing:antialiased;font-size:13px;font-family:"Lucida Grande", arial, helvetica, sans-serif}body #title{width:520px;margin:auto;margin-top:10%;color:#9fc9f5;text-shadow:0 1px 1px #3f94eb;padding:0px;text-transform:uppercase}body #main{background:white;width:500px;padding:10px;margin:auto;-webkit-box-shadow:#666666 0px 0px 20px;-moz-box-shadow:#666666 0px 0px 20px;box-shadow:#666666 0px 0px 20px}input[type=text],input[type=password],textarea{padding:5px;border:solid 1px #C9C9C9;outline:0;font:normal 13px/100% Verdana,Tahoma,sans-serif;width:200px;background:-webkit-gradient(linear, left top, left 25, from(#fff), color-stop(4%, #f7f7f7), to(#fff));background:-moz-linear-gradient(top, #fff, #f7f7f7 1px, #fff 25px)}textarea{width:400px;max-width:400px;height:150px;line-height:150%}input:hover,textarea:hover,input:focus,textarea:focus{box-shadow:rgba(0,0,0,0.1) 0px 0px 8px;-moz-box-shadow:rgba(0,0,0,0.1) 0px 0px 8px;-webkit-box-shadow:rgba(0,0,0,0.1) 0px 0px 8px}label{cursor:pointer}.button{display:inline-block;background:#3c74a8;background:-webkit-gradient(linear, 0% 100%, 0% 0%, from(#eff2f2), to(#fff));background:-moz-linear-gradient(bottom, #eff2f2, #fff);box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-moz-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-webkit-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;border:none;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;color:RGB(46, 46, 46);padding:5px 15px;margin:0px 5px 0px 5px;font-weight:normal}.button:hover{box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-moz-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-webkit-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;color:RGB(46, 46, 46);cursor:pointer}.actions{text-align:right}button,input[type=submit]{display:inline-block;background:#3c74a8;background:-webkit-gradient(linear, 0% 100%, 0% 0%, from(#3c74a8), to(#6792bb));background:-moz-linear-gradient(bottom, #3c74a8, #6792bb);box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-moz-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;-webkit-box-shadow:rgba(0,0,0,0.4) 0px 0px 3px;border:none;-moz-border-radius:20px;-webkit-border-radius:20px;border-radius:20px;color:white;margin:0px 5px 0px 5px;padding:5px 15px;text-shadow:0 1px 1px rgba(0,0,0,0.6);font-weight:normal;font-size:13px}button:hover,input[type=submit]:hover{box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-moz-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;-webkit-box-shadow:rgba(0,0,0,0.6) 0px 0px 5px;cursor:pointer}.field_with_errors{display:inline;color:red}.field_with_errors input{display:inline;border-color:red}.errorExplanation{border-top:1px solid black;border-bottom:1px solid black;padding:5px;border-color:#F2EDA1;background:#FEFCDB}.errorExplanation h2{font-size:13px;margin:0px;padding:0px}.message{border:4px solid black;border-radius:10px;padding:5px;margin:20px;-webkit-box-shadow:rgba(0,0,0,0.5) 1px 1px 40px;-moz-box-shadow:rgba(0,0,0,0.5) 1px 1px 40px;box-shadow:rgba(0,0,0,0.5) 1px 1px 40px}.alert{border-color:#f2eda1;background:rgba(254,252,219,0.8)}.notice{border-color:#cde6f5;background:rgba(236,248,254,0.8)}#flash{position:fixed;bottom:0px;width:100%}a img{border:0px}table{border-collapse:collapse;width:100%}h1,h2,h3,h4,h5,h6{margin:0px;padding:0px}a{color:#3C74A8;text-decoration:none}a:hover{color:#3F94EB}

Binary file not shown.

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Some files were not shown because too many files have changed in this diff Show More