58 lines
1.2 KiB
Plaintext
58 lines
1.2 KiB
Plaintext
!!!
|
|
|
|
%html{:lang => "fr"}
|
|
%head
|
|
%meta{:"http-equiv" => "content-type" ,:content =>"text/html;charset=UTF-8" }
|
|
%title
|
|
Nicolas Bally, artiste photographe.
|
|
|
|
= stylesheet_link_tag "application", :media => "all"
|
|
= javascript_include_tag "application"
|
|
-if current_admin
|
|
= javascript_include_tag "admin"
|
|
|
|
= csrf_meta_tag
|
|
|
|
%style=Pygments.css('.highlight')
|
|
|
|
=render :partial => "shared/ga" if Rails.env.production?
|
|
|
|
|
|
|
|
|
|
|
|
%body
|
|
|
|
#left
|
|
|
|
|
|
#menu
|
|
=link_to image_tag("logo.png", :id => "logo"), "/"
|
|
|
|
=link_to raw("<h4>A propos</h4>"), "a-propos.html"
|
|
|
|
|
|
%h4
|
|
Portfolios
|
|
=link_to i(:plus,:white,32, :style => "width:10px;"), new_portfolio_path, :remote => true if current_admin
|
|
|
|
%ul.portfolios_links
|
|
=render Portfolio.order(:title)
|
|
|
|
=link_to raw("<h4>Partenaires</h4>"), "partenaires.html"
|
|
=link_to raw("<h4>Contact</h4>"), "contact.html"
|
|
|
|
|
|
-if @images
|
|
=image_tag("miniature.png", :class => "miniatures", :style => "float:right;width:30px;margin-top:5px;cursor:pointer;")
|
|
|
|
=render :partial => "portfolios/pagination"
|
|
|
|
#main
|
|
= yield
|
|
|
|
-if current_admin
|
|
#admin_over
|
|
|
|
|