blog_perso_app/app/views/layouts/connexion.html.haml
Nicolas Bally 56a0aa9848 initial
2012-06-17 21:11:12 +02:00

62 lines
1.5 KiB
Plaintext

!!!
%html{:xmlns=>"http://www.w3.org/1999/xhtml", :"xml:lang"=>"fr", :lang=>"fr"}
%head
%meta{:"http-equiv" => "content-type" ,:content =>"text/html;charset=UTF-8" }
%title
Administration
= csrf_meta_tag
= javascript_include_tag "connexion"
= stylesheet_link_tag 'connexion'
%body
#browser_update
%h2 Le navigateur que vous utilisez actuellement n'est pas pris en charge
%p Notre interface d'administration étant conçu pour être la plus ergonomique et agréable à utiliser nécéssite l'usage d'un navigateur récent et respectueux des standards.
%p Nous vous remercions d'installer l'un des navigateurs suivant :
.browser
=link_to image_tag("/assets/shared/browsers/safari.png"), "http://www.apple.com/fr/safari/download/"
=link_to "Safari 5+", "http://www.apple.com/fr/safari/download/"
.browser
=link_to image_tag("/assets/shared/browsers/chrome.png"), "http://www.google.com/chrome/"
=link_to "Chrome 11+", "http://www.google.com/chrome/"
.browser
=link_to image_tag("/assets/shared/browsers/firefox.png"), "http://www.mozilla.org/fr/firefox/"
=link_to "Firefox 11+", "http://www.mozilla.org/fr/firefox/"
#title=yield :title
#main
= yield
#flash
-if flash[:alert] or (@flash_i and @flash_i[:alert])
.message.closeable.alert
= flash[:alert]
= @flash_i[:alert] if @flash_i and @flash_i[:alert]
-if flash[:notice]
.message.closeable.notice
= flash[:notice]