lib/generators/templates/app/views/layouts/application.html.haml in rail_pass-0.1.4 vs lib/generators/templates/app/views/layouts/application.html.haml in rail_pass-0.1.5
- old
+ new
@@ -1,8 +1,10 @@
!!! 5
-
-%html
+/[if lt IE 9] <html class="ie8" lang="en">
+<!--[if gte IE 9]><!-->
+%html{ lang: "en" }
+ <!--<![endif]-->
/
_
_
_ /// /// ..oOOOo..
@@ -68,28 +70,27 @@
%body
/[if lt IE 9]
- .wrap.outdated-browser
- %div
- %p
- %a.close{ href: "#" } x
- You are using an outdated browser. Please
- %a{ href: "http://browsehappy.com/", target: '_blank' } upgrade your browser
- or
- %a{ href: "http://www.google.com/chromeframe/?redirect=true", target: '_blank' } activate Google Chrome Frame
- to improve your experience.
+ #outdated-browser.outdated-browser
+ %p
+ %a.close-btn{ href: "#", data: {behavior: "close:outdatedBrowser"} } x
+ You are using an outdated browser. Please
+ %a{ href: "http://browsehappy.com/", target: '_blank' } upgrade your browser
+ or
+ %a{ href: "http://www.google.com/chromeframe/?redirect=true", target: '_blank' } activate Google Chrome Frame
+ to improve your experience.
- %header.header
+ %header#grid-header
= yield
- %footer.footer
+ %footer#grid-footer
@@ -119,6 +120,6 @@
-# koko wa Width Plugin
- if Rails.env.development?
#lacroixdesign-browserwidth{style: "position:fixed; bottom:0; left:0; background:#555; color:#CCC; font-size:0.75em; padding:0.25em; text-shadow: 0 -1px 1px rgba(0,0,0,0.9); font-weight:normal;"}
:javascript
- function showWidth(){var w = $(window).width();$('#dev-browserwidth').text(w);}showWidth();$(window).resize(function(){showWidth();});
+ function showWidth(){var w = $(window).width();$('#lacroixdesign-browserwidth').text(w);}showWidth();$(window).resize(function(){showWidth();});