adopt-a-hydrant/app/views/layouts/application.html.haml

21 lines
1.2 KiB
Plaintext
Raw Normal View History

2011-05-08 08:29:21 +00:00
!!! 5
%html
%head
%title
= t("titles.main", :thing => t("defaults.thing").titleize)
2011-12-25 07:23:19 +00:00
= stylesheet_link_tag "bootstrap"
= stylesheet_link_tag "screen"
2011-05-08 08:29:21 +00:00
= javascript_include_tag "http://maps.google.com/maps/api/js?sensor=false"
= javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"
= javascript_include_tag "https://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js"
2011-12-25 16:53:03 +00:00
= javascript_include_tag "bootstrap-twipsy"
= javascript_include_tag "bootstrap-alerts"
= javascript_include_tag "bootstrap-modal"
2011-12-25 07:23:19 +00:00
= javascript_include_tag "main"
2011-05-08 08:29:21 +00:00
= csrf_meta_tag
%meta{:name => "viewport", :content => "initial-scale=1.0, user-scalable=no"}
%script{:type => "text/javascript"}
var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-20825280-2"]),_gaq.push(["_setDomainName",".adoptahydrant.org"]),_gaq.push(["_trackPageview"]),function(){var a=document.createElement("script");a.type="text/javascript",a.async=!0,a.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)}();
2011-05-08 08:29:21 +00:00
%body
= yield