-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
48 lines (40 loc) · 1.31 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<script src="javascript/popup.js" type="text/javascript"></script>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="body">
<div class="logo">
<img class="logo-img" src="./icons/icon-128x128.png">
<div class="logo-text">WebCarbon Counter</div>
</div>
<hr>
<div class="sub-heading">On average, each webpage you view emits about 1.76g of carbon or equivalent gases. This
extension records your browsing emissions, showing how fast they add up!</div>
<div class="main-content">
<div class="left-content">
<div class="today">
<div>Today's CO<sub>2</sub>e</div>
<span id="today-carbon"></span>
</div>
<div class="chart-caption">Graph for past 30 days</div>
<div id="chart">
<div id="chart-default"></div>
</div>
</div>
<div class="right-content">
<div class="forecast">
<div class="forecast-title">Annual Forecast (CO<sub>2</sub>e / year)</div>
<div id="forecast-count">Too early to tell</div>
<div class="forecast-equivalent" id="flights">Come back in 1-2 days for your annual carbon forecast.
</div>
<div class="forecast-equivalent" id="trees"></div>
</div>
</div>
</div>
</div>
</body>
</html>