Sha256: 1cca00f3359f2669823f2fd6a870e9f52079ea44dcc52b91e06bdfc4158cddaf
Contents?: true
Size: 1.88 KB
Versions: 3
Compression:
Stored size: 1.88 KB
Contents
!!! 5 %html{html_attrs} %head %meta{'http-equiv' => 'Content-Type', :content => 'text/html;charset=UTF-8'} %title == <%= app_name %> = stylesheet_link_tag 'blueprint.css', :media => 'screen, projection' = stylesheet_link_tag 'screen.css', :media => 'screen, projection' = stylesheet_link_tag 'print.css', :media => 'print' /[if lt IE 8] = stylesheet_link_tag 'ie.css', :media => 'screen, projection' = javascript_include_tag :defaults, "jquery-ui.min" = csrf_meta_tag %body #wrap #header #logo %h1 = link_to "<%= app_name %>", root_path %span.alt Subtitle #navbar #menu %ul - if user_signed_in? %li== Welcome #{current_user.email} %li= link_to "Logout", destroy_user_session_path - else %li= link_to "Home", root_path %li= link_to "Login", new_user_session_path #flash_box{:onclick => "$('#flash_box').fadeOut(1000);", :style => "display:none;"} - unless flash.empty? = javascript_tag "$('#flash_box').fadeIn(3000).fadeOut(3000);" - if notice #notice = image_tag("icons/notice.gif", :class => "icon") = notice - if alert #alert = image_tag("icons/alert.gif", :class => "icon") = alert #content.container #title %h2= yield(:title) #main = yield #footer #footer_content.container .span-3.alignright %h3 <%= app_name %> %small Subtitle .span-3 %ul %li= link_to "Home", root_path .span-7 .span-10.last.alignright = link_to image_tag("logo_learninglab.gif"), "http://learninglab.sdabocconi.it"
Version data entries
3 entries across 3 versions & 1 rubygems