54 lines
1005 B
Plaintext
54 lines
1005 B
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')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%body
|
|
|
|
#left
|
|
|
|
|
|
#menu
|
|
=link_to image_tag("logo.png", :id => "logo"), "/"
|
|
|
|
=link_to raw("<h4>A propos</h4>")
|
|
|
|
|
|
%h4 Portfolios
|
|
=link_to "nouveau portfolio", new_portfolio_path, :remote => true if current_admin
|
|
|
|
%ul.portfolios_links
|
|
=render Portfolio.order(:title)
|
|
|
|
=link_to raw("<h4>Contact</h4>")
|
|
|
|
|
|
-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
|
|
|
|
|