1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00
BikeShed-1/app/views/layouts/application.html.haml
Jason Denney a8bdb52536 Improved Add Bike view
Worked out some bootstrap overrides issues
2014-01-19 19:32:18 -05:00

35 lines
902 B
Plaintext

!!! 5
%html{:lang => "en"}
%head
%meta{:charset => "utf-8"}/
%title= content_for?(:title) ? yield(:title) : "Velocipede"
= csrf_meta_tags
= stylesheet_link_tag "bootstrap_and_overrides", :media => "all"
/[if lt IE 9]
= javascript_include_tag "http://html5shim.googlecode.com/svn/trunk/html5.js"
:css
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
.x-boundlist-item {
white-space: nowrap;
}
%body
.container
.content
- if flash[:notice]
%p{:class => 'notice'}= flash[:notice]
- if flash[:alert]
%p{:class => 'alert'}= flash[:alert]
.row
.span12
= yield
%footer
%p © BikeShed 2014
= javascript_include_tag "application"
= javascript_include_tag params[:controller]