-
Notifications
You must be signed in to change notification settings - Fork 10
/
index.html
285 lines (266 loc) · 14.6 KB
/
index.html
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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
<!doctype html>
<html lang="en">
<head>
<title>Global CO2 Emissions Budget Clock</title>
<meta charset="utf-8">
<meta name="description" content="countdown.xr-muc.de shows the time remaining until the CO2 budget is depleted for at most 1.5°C of global warming">
<meta name="keywords" content="co2, co2 budget, co2 clock, ipcc report, co2 left, emissions, co2 emissions, co2 emissions clock, extinction rebellion, xr">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="libs/bootstrap-4.3.1-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="css/main.css">
</head>
<body onresize="resizeMeter()">
<div class="container-fluid p-0">
<!-- NAVIGATION MENU -->
<nav class="navbar navbar-expand-lg navbar-light bg-primary">
<a class="navbar-brand" href="#">CO<sub>2</sub> COUNTDOWN</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div id="navbarNavDropdown" class="navbar-collapse collapse">
<ul class="navbar-nav mr-auto">
</ul>
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#consequences">What if we miss the goal?</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#help">HELP US</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#bugets">Budget per Country</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#sources">Sources</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://extinctionrebellion.de/">XR Germany</a>
</li>
</ul>
</div>
</nav>
<!-- END NAVIGATION MENU -->
<!-- COUNTDOWN -->
<div class="jumbotron jumbotron-fluid shout">
<div class="container">
<div class="justify-content-center text-center">
<div class="justify-content-center row text-center headline">
<h1 class="font-weight-bold">TIME UNTIL CO<sub>2</sub> BUDGET DEPLETED</h1>
</div>
<div class="row pt-5">
<div class="col-md-6">
<div class="row">
<div class="col-sm-4 countdown-item">
<h2>YEARS</h2>
<div id="cd-years">
00
</div>
</div>
<div class="col-sm-4 countdown-item">
<h2>MONTHS</h2>
<div id="cd-months">
00
</div>
</div>
<div class="col-sm-4 countdown-item">
<h2>DAYS</h2>
<div id="cd-days">
00
</div>
</div>
</div>
</div>
<div class="col-md-6">
<div class="row">
<div class="col-sm-4 countdown-item">
<h2>HOURS</h2>
<div id="cd-hours">
00
</div>
</div>
<div class="col-sm-4 countdown-item">
<h2>MINUTES</h2>
<div id="cd-minutes">
00
</div>
</div>
<div class="col-sm-4 countdown-item">
<h2>SECONDS</h2>
<div id="cd-seconds">
00
</div>
</div>
</div>
</div>
</div>
<div id="emissions-per-seconds-container" class="justify-content-center row text-center pt-5 pb-3">
<div class="col-md-12">
<h3 class="font-weight-bold">CO<sub>2</sub> EMISSIONS: <span id="emissions-per-seconds"></span> tons/sec</h3>
</div>
</div>
<div class="circle mx-auto">
<img id="xr-gray" src="img/XR-Logo-notext-gray.svg" alt="Extinction Rebellion logo in gray">
<img id="xr-black" src="img/XR-Logo-notext.svg" alt="Extinction Rebellion logo in black">
</div>
<div class="justify-content-center row text-center pt-3">
<div class="col-md-12">
<h3 class="font-weight-bold">CO<sub>2</sub> BUDGET LEFT SINCE 2018:</h3>
</div>
<div class="col-md-12">
<h3 class="font-weight-bold"><span id="budget-left"></span> tons (<span id="percentage-left"></span>%)</h3>
</div>
</div>
<div class="justify-content-center row text-center pt-5">
<h2>
The science is clear: It is understood that we are facing an unprecedented global emergency. We are in a life or death situation of our own making.
</h2>
<h2 class="font-weight-bold">
We must act now.
</h2>
</div>
</div>
</div>
</div>
<!-- END COUNTDOWN -->
<div id="about" class="pt-5 pb-5 bg-primary">
<div class="container">
<h1 class="font-weight-bold">ABOUT</h1>
<p>
The Intergovernmental Panel on Climate Change (IPCC) is the United Nations body for assessing the
science related to climate change. It provides regular assessments of the scientific basis of climate
change, its impacts and future risks, and options for adaptation and mitigation.
</p>
<p>
One of their recent assessments, the "Global Warming of 1.5 °C" report, provides numbers defining the
world's global CO<sub>2</sub> emission budget. This budget represents the amount of CO<sub>2</sub> emissions the world is allowed to
emit in order to limit the global temperature rise to 1.5 °C above pre-industrial levels. For a
two-thirds chance of limiting warming to 1.5°C, this budget is 420 GtCO<sub>2</sub>. For a fifty-fifty chance of limiting
warming to 1.5 °C the available budget is around 580 GtCO<sub>2</sub>.
</p>
<p>
The budget is calculated for the start of 2018.
</p>
<p>
The tons/sec as shown in the clock are calculated from the anual CO<sub>2</sub> emissions of 2017.
</p>
</div>
</div>
<div id="consequences" class="pt-5 pb-5">
<div class="container">
<h1 class="font-weight-bold">WHAT IF WE MISS THE GOAL?</h1>
<p>
“One of the key messages that comes out very strongly from this report is that we are already seeing
the consequences of 1°C of global warming through more extreme weather, rising sea levels and
diminishing Arctic sea ice, among other changes,” said Panmao Zhai, Co-Chair of IPCC Working Group I.
</p>
<p>
The Paris Agreement aims to limit global warming to 2°C, 0.5°C more than mentioned in the IPCC report.
Some scenarios comparing the impact of a 1.5°C and a 2°C increase:
<ul>
<li>By 2100, global sea level rise would be 10cm lower with global warming of 1.5°C instead of 2°C</li>
<li>The likelihood of an Arctic Ocean free of sea ice in summer would be once per century with global warming of 1.5°C, as opposed to at least once per decade with 2°C</li>
<li>Coral reefs would decline by 70-90% with global warming of 1.5°C, whereas virtually all corals (> 99%) would be lost with an increase of 2°C</li>
</ul>
</p>
<p>
A complete list of impacts when missing the 1.5 °C goal from the IPCC report:
<a href="https://www.ipcc.ch/2018/10/08/summary-for-policymakers-of-ipcc-special-report-on-global-warming-of-1-5c-approved-by-governments/">Summary for Policymakers</a>
</p>
</div>
</div>
<div id="help" class="pt-5 pb-5 bg-primary">
<div class="container">
<h1 class="font-weight-bold">WHAT CAN I DO?</h1>
<p>
<a href="https://rebellion.earth/">Extinction Rebellion</a> is an international movement that uses non-violent civil disobedience in an attempt
to halt mass extinction and minimise the risk of social collapse.
</p>
<p class="font-weight-bold">
<a href="https://rebellion.earth/act-now/join-us/">JOIN US.</a>
</p>
</div>
</div>
<div id="bugets" class="pt-5 pb-5">
<div class="container">
<h1 class="font-weight-bold pb-3">EMISSION BUDGETS PER COUNTRY</h1>
<div class="table-responsive">
<div class="country-filter">
<input type="text" name="country-filter" id="country-filter-input" placeholder="Filter by country name" onkeyup="filterCountryData(value)">
<button class="clear-button" onclick="clearCountryFilter()" aria-label="clear country name filter">
X
</button>
</div>
<table class="table">
<thead>
<tr>
<th scope="col" class="category-name-container">
<div class="category-container">
<span class="category-name">Country</span>
<div class="chevron-container">
<span id="total-budget-desc" class="chevron" onclick="orderCategory('name', 'desc')">▼</span>
<span id="total-budget-asc" class="chevron" onclick="orderCategory('name', 'asc')">▲</span>
</div>
</div>
</th>
<th scope="col" class="category-name-container">
<div class="category-container">
<span class="category-name">Total Budget [tons]</span>
<div class="chevron-container">
<span id="total-budget-desc" class="chevron" onclick="orderCategory('budget', 'desc')">▼</span>
<span id="total-budget-asc" class="chevron" onclick="orderCategory('budget', 'asc')">▲</span>
</div>
</div>
</th>
<th scope="col" class="category-name-container">
<div class="category-container">
<span class="category-name">% of World Budget</span>
<div class="chevron-container">
<span id="total-budget-desc" class="chevron" onclick="orderCategory('budget', 'desc')">▼</span>
<span id="total-budget-asc" class="chevron" onclick="orderCategory('budget', 'asc')">▲</span>
</div>
</div>
</th>
<th scope="col" class="category-name-container">
<div class="category-container">
<span class="category-name">Budget Left [tons]</span>
<div class="chevron-container">
<span id="total-budget-desc" class="chevron" onclick="orderCategory('budget', 'desc')">▼</span>
<span id="total-budget-asc" class="chevron" onclick="orderCategory('budget', 'asc')">▲</span>
</div>
</div>
</th>
</tr>
</thead>
<tbody id="country-table-body">
<!-- filled by the script -->
</tbody>
</table>
</div>
</div>
</div>
<div id="sources" class="pt-5 pb-5 bg-primary">
<div class="container">
<h1 class="font-weight-bold pb-3">SOURCES</h1>
<ul>
<li><a class="text-dark" href="https://www.ipcc.ch">The IPCC Report</a></li>
<li><a class="text-dark" href="https://www.mcc-berlin.net/en/research/co2-budget.html">The original Carbon Clock by MCC-Berlin</a></li>
<li><a class="text-dark" href="http://www.globalcarbonatlas.org/en/CO2-emissions">The Carbon Atlas where this data comes from</a></li>
<li><a class="text-dark" href="https://github.com/martinpichler/co2clock.info">The original implementation of this clock by Martin Pichler (BIG THANKS!)</a></li>
<li><a class="text-dark" href="https://github.com/xr-muc/co2clock">The Fork of Martin's Implementation that was adapted to XR styling</a></li>
</ul>
</div>
</div>
</div>
<script src="libs/jquery-3.4.1/jquery.min.js"></script>
<script src="libs/bootstrap-4.3.1-dist/js/bootstrap.min.js"></script>
<script src="libs/momentjs-2.24.0/moment.min.js"></script>
<script src="js/emission_data.js"></script>
<script src="js/main.js"></script>
</body>
</html>