This repository has been archived by the owner on Mar 4, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
map.html.slim
63 lines (49 loc) · 2.28 KB
/
map.html.slim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
doctype html
html
head
meta (charset="utf-8")
meta (http-equiv="X-UA-Compatible" content="IE=edge")
title #{@title} | Global Forest Watch
meta (name="description" content="#{@desc}")
meta (name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1")
meta (name="keywords" content="#{@keywords}")
meta (name="author" content="Simbiótica")
meta (name="DC.title" content="#{params[:controller]} | Global Forest Watch")
meta (property="og:title" content="#{@title} | Global Forest Watch")
meta (property="og:description" content="#{@desc}")
meta (property="og:type" content="Visualization")
meta (property="og:url" content="http://www.globalforestwatch.org/")
link (href='http://fonts.googleapis.com/css?family=Fira+Sans:400,500,300' rel='stylesheet' type='text/css')
meta (name="google-translate-customization" content="af2414ea962843fc-f48b15cdb6a3ab9b-gd8c738d3a7ff42de-1a")
meta (name="google-site-verification" content="xx82D6cZ40Hvf-TT9jkhfsVi11yIeShPcK0zcc7m7ak")
== render 'shared/icons'
= stylesheet_link_tag "http://libs.cartocdn.com/cartodb.js/v3/themes/css/cartodb.css", :media => 'all'
= stylesheet_link_tag "map", :media => "all"
= csrf_meta_tags
javascript:
var gfw = window.gfw = {
config: {
GFW_API_HOST: "#{ENV['GFW_API_HOST']}",
GFW_MOBILE: 1000
},
cacheVersion: "#{ENV['CACHE_VERSION']}",
layer_spec: "#{ENV['LAYER_SPEC']}"
};
body class="is-#{params[:controller]}-page is-#{params[:action]}-action"
= render 'shared/icons'
== render 'shared/svg_icons'
== render 'shared/svg_icons_map'
== render 'shared/svg_icons_applications'
== render 'shared/svg_icons_layers'
== render "shared/header"
== yield
== render 'shared/modal'
== render 'shared/notifications'
= render 'shared/sources_landing'
= javascript_include_tag \
"http://maps.googleapis.com/maps/api/js?libraries=places,visualization,drawing&sensor=false&key=AIzaSyDJdVhfQhecwp0ngAGzN9zwqak8FaEkSTA&v=3.12",
"http://libs.cartocdn.com/cartodb.js/v3/3.15.8/cartodb.js",
"/assets/cartodbGFW.js"
script src="//www.google-analytics.com/cx/api.js"
= requirejs_include_tag "map"
== render "shared/js_footer"