-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmap-dev-only.html
More file actions
170 lines (158 loc) · 6.46 KB
/
Copy pathmap-dev-only.html
File metadata and controls
170 lines (158 loc) · 6.46 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-DV8KTW4TBH"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-DV8KTW4TBH');
</script>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Smarter Crowdsourcing: Coronavirus</title>
<link href="/images/favicon.ico" rel="shortcut icon">
<link rel="stylesheet" href="css/styles.css">
<link rel="stylesheet" href="https://use.typekit.net/kad3hcl.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://www.amcharts.com/lib/4/core.js"></script>
<script src="https://www.amcharts.com/lib/4/maps.js"></script>
<script src="https://www.amcharts.com/lib/4/geodata/continentsLow.js"></script>
<script src="https://www.amcharts.com/lib/4/plugins/bullets.js"></script>
<script src="https://cdn.amcharts.com/lib/4/themes/animated.js"></script>
<script src="https://unpkg.com/@directus/sdk-js@5.3.4/dist/directus-sdk.umd.min.js"></script>
<script src="https://kit.fontawesome.com/f713a12e61.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body class="homepage">
<!-- Top Navigation Menu -->
<div class="topnav">
<div class="menu-bars">
<div class="bar-wrap">
<a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i>
</a>
</div>
</div>
<a class="top_logo" href="index.html"><img src="images/coronavirus-full-h-white.png"
alt="Smarter Crowdsourcing | Zika"></a>
<!-- Navigation links (hidden by default) -->
<div class='lang-select'>
<a style="padding: 15px 5px" href="es/index.html">ES</a>
<p style="color:#ffffff">|</p>
<a style="padding: 15px 5px" href="#" class="active">EN</a>
<p style="color:#ffffff">|</p>
<a style="padding: 15px 5px" href="pt/index.html">PT</a>
</div>
</div>
<div id="myLinks">
<div class="menu-items">
<div class="menu-sub" onclick="dismiss_menu()"><a href="#">Home</a></div>
<div class="menu-sub" onclick="dismiss_menu()"><a href="about.html">About</a></div>
<div class="menu-sub" onclick="dismiss_menu()"> <a href="topics.html">Topic</a></div>
<div class="menu-sub" onclick="dismiss_menu()"><a href="team.html">Team</a></div>
<div class="menu-sub" onclick="dismiss_menu()"><a href="recommendations.html">Explore Recommendations</a></div>
<div class="menu-sub" onclick="dismiss_menu()"> <a href="strategies.html">Explore Strategies</a></div>
<div class="menu-sub" onclick="dismiss_menu()"><a href="outcomes.html">See all resources</a></div>
<!-- <div class="menu-sub"><a href="/recommendations.html">Recommendations</a></div>
<div class="menu-sub"><a href="/map.html">Explore the Map</a></div>
<div class="menu-sub"><a href="https://medium.com/smarter-crowdsourcing">Blog</a></div> -->
</div>
</div>
<div id="home-page">
<div class="expert-map">
<div class="expert-countries">
<div class="expert-country-item">
<p class="expert-number">{{na_count}}</p>
<p class="expert-location">North America</p>
</div>
<div class="expert-country-item">
<p class="expert-number">{{sa_count}}</p>
<p class="expert-location">South America</p>
</div>
<div class="expert-country-item">
<p class="expert-number">{{af_count}}</p>
<p class="expert-location">Africa</p>
</div>
</div>
<div id="chartdiv"></div>
<div class="expert-countries">
<div class="expert-country-item">
<p class="expert-number">{{eu_count}}</p>
<p class="expert-location">Europe</p>
</div>
<div class="expert-country-item">
<p class="expert-number">{{as_count}}</p>
<p class="expert-location">Asia</p>
</div>
<div class="expert-country-item">
<p class="expert-number">{{oca_count}}</p>
<p class="expert-location">Oceania</p>
</div>
</div>
</div>
<div class="table expert-map-page">
<div class="table-header">
<div class="row-equal-4">
<h2>Name</h2>
</div>
<div class="row-equal-4">
<h2>Affiliation</h2>
</div>
<div class="row-equal-4">
<h2>Topic</h2>
</div>
<div class="row-equal-4">
<h2>Region</h2>
</div>
</div>
<div v-for="expert in expertData" class="table-row">
<div class="row-equal-4">
{{expert.first_name}} {{expert.last_name}}
</div>
<div class="row-equal-4">
{{expert.affiliation}}
</div>
<div class="row-equal-4">
<div v-for="conference in expert.topic">
{{conference.topics_id.title}}
</div>
</div>
<div class="row-equal-4">
<p v-if="expert.region == 'na'">North America</p>
<p v-if="expert.region == 'sa'">South America</p>
<p v-if="expert.region == 'afr'">Africa</p>
<p v-if="expert.region == 'eu'">Europe</p>
<p v-if="expert.region == 'as'">Asia</p>
<p v-if="expert.region == 'oca'">Oceania</p>
</div>
</div>
</div>
</div>
</body>
<script>
/* Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon */
function myFunction() {
var x = document.getElementById("myLinks");
if (x.style.display === "block") {
x.style.display = "none";
} else {
x.style.display = "block";
}
}
</script>
<script>
/* Toggle between showing and hiding the navigation menu links when the user clicks on the hamburger menu / bar icon */
function dismiss_menu() {
var x = document.getElementById("myLinks");
x.style.display = "none";
}
</script>
<script src="js/fadein.js"></script>
<script src='https://unpkg.com/vue@2.0.3/dist/vue.js'></script>
<script src="https://unpkg.com/vue-meta/dist/vue-meta.min.js"></script>
<script src="js/coronavirus.js"></script>
</html>