Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save raphaelsaunier/3403173 to your computer and use it in GitHub Desktop.
Save raphaelsaunier/3403173 to your computer and use it in GitHub Desktop.
!!! 5
/[if lt IE 7] <html class="no-js ie6 oldie" lang="en">
/[if IE 7] <html class="no-js ie7 oldie" lang="en">
/[if IE 8] <html class="no-js ie8 oldie" lang="en">
<!--[if gt IE 8]><!-->
%html.no-js{ :lang => "en" }
<!--<![endif]-->
%head
= render :partial => "/layouts/additional_meta"
<<<<<<< HEAD
%meta{:charset => "utf-8"}
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
%title= content_for?(:title) ? yield(:title) : "Infabode"
= csrf_meta_tags
/ Le HTML5 shim, for IE6-8 support of HTML elements
/[if lt IE 9]
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
= stylesheet_link_tag "application", :media => "all"
/%link{:href => "images/favicon.ico", :rel => "shortcut icon"}
/ %link{:href => "images/apple-touch-icon.png", :rel => "apple-touch-icon"}
/ %link{:href => "images/apple-touch-icon-72x72.png", :rel => "apple-touch-icon", :sizes => "72x72"}
/ %link{:href => "images/apple-touch-icon-114x114.png", :rel => "apple-touch-icon", :sizes => "114x114"}
=======
%meta{:charset => "UTF-8"}
%meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}
%title= content_for?(:title) ? yield(:title) : "Infabode"
= csrf_meta_tags
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}
= stylesheet_link_tag "application", :media => "all"
/= stylesheet_link_tag "bootstrap_and_overrides.css", :media => "all"
= javascript_include_tag "mailcheck.min"
/[if lt IE 9]
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js" type="text/javascript"></script>
>>>>>>> 624105ffbd0f83f39cdcd6a67939e790d579d7c9
%body
= yield(:services_js)
/[if lt IE 7] <p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p>
.navigation
.container
.row
.span7
.logo
%a{href: root_path}
= image_tag "logo.jpg"
.span5{:style => "margin-top:30px;"}
- unless signed_in?
= render :partial => 'home/sign_in' if !registration_or_sign_in
- else
.pull-right= link_to 'Sign out', destroy_user_session_path, :method => :delete, :class => 'btn btn-primary'
.pull-right
= render :partial => 'search/form'
<<<<<<< HEAD
.container
- unless notice.blank?
%p.alert.alert-info= notice.html_safe
- unless alert.blank?
%p.alert= alert.html_safe
.content
.row
.span12
= render :partial => 'dashboard/tabs' if signed_in?
= yield
= render :partial => 'layouts/footer'
= javascript_include_tag "application"
= yield :page_js
=======
= render :partial => 'dashboard/tabs' if signed_in?
.container
.row
.span12
.container
- unless notice.blank?
%p.alert.alert-info= notice
- unless alert.blank?
%p.alert= alert
= yield
.container.footernav
.row
.span3.copyright
%a.pull-left{href: root_path} © Infabode 2012
.span6.offset3
%ul.menu.pull-right
%li= link_to "About", page_path('about')
%li= link_to "Help", page_path('help')
%li= link_to "Contact", page_path('contact')
%li= link_to "Privacy", page_path('privacy')
%li= link_to "Terms of Use", page_path('terms_of_use')
%li= link_to "Advertising", page_path('advertising')
= javascript_include_tag "application"
>>>>>>> 624105ffbd0f83f39cdcd6a67939e790d579d7c9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment