Created a CDN
This commit is contained in:
@@ -26,7 +26,6 @@
|
||||
\==================================================
|
||||
/ Placed at the top of the document 'cause of turbolinks
|
||||
=# javascript_include_tag '//use.typekit.net/iqv7hcg.js'
|
||||
= javascript_include_tag '//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'
|
||||
=# javascript_include_tag 'application'
|
||||
=# javascript_include_tag 'nested_form'
|
||||
|
||||
|
||||
@@ -13,9 +13,8 @@
|
||||
%h3=territory
|
||||
- cities.sort_by{|k,v|k}.each do |city,organizations|
|
||||
%ul.small-block-grid-1.medium-block-grid-2.large-block-grid-3.org-list.preview-list
|
||||
- uri = CGI::escape(city+' '+country)
|
||||
%li.city
|
||||
%figure{:style => "background-image: url('http://maps.googleapis.com/maps/api/staticmap?center=#{uri}&zoom=4&size=600x300&maptype=roadmap&markers=size:small%7C#{uri}&key=AIzaSyAH7U8xUUb8IwDPy1wWuYGprzxf4E1Jj4o');"}
|
||||
%figure{:style => "background-image: url('" + static_map(CGI::escape(city+' '+country), 4, 600, 300) + "');"}
|
||||
%h4=city
|
||||
- organizations.each do |organization|
|
||||
%li=render 'preview', :organization => organization
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
%a{href: '/conferences/'}='Zine'
|
||||
.columns.medium-3.large-3.text-right
|
||||
©2014 Bike!Bike!
|
||||
= javascript_include_tag '//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'
|
||||
:javascript
|
||||
#{yield :scripts}
|
||||
$(function(){
|
||||
|
||||
Reference in New Issue
Block a user