-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
47 lines (44 loc) · 1.95 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
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Watertable</title>
<link rel='stylesheet' href='style.css'>
<script src="/script.js" defer></script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Lexend&display=swap');
</style>
</head>
<body>
<h1>North Pender Island Water Table</h1>
<h2 id="currentDate" onload="updateDate()"></h2>
<div class="summary">
<p class="left-col">The water level is currently</p>
<p id="water-level" class="dyn-important">XX</p>
<p class="right-col">feet below the surface.</p>
<p class="left-col">Ordinarily, in <span class="rough-time">this time of year</span>, it's about</p>
<p id="historical-water-level" class="dyn-important">XX</p>
<p class="right-col">feet below the surface.</p>
</div>
<div class="graph-wrapper">
<object id="large" type="image/svg+xml" data="/output.svg"
alt="A graph showing the water level for this year, and 10 years in the past"
onload="largeGraphLoad()"></object>
<object id="small" type="image/svg+xml" data="/output_small.svg"
alt="A graph showing the water level for this year, and 10 years in the past"
onload="smallGraphLoad()"></object>
<p style="display:none">Time range: 2010 - 2021<br>
Smoothing: 48 hours<br>
AI prediction: no<br>
Last updated: 30 minutes ago</p>
</div>
<div class="future" style="display:none;">
<p class="left-col">In the next two weeks, we're forecast to get about</p>
<p id="future-rain" class="dyn-important">XX</p>
<p class="right-col">inches of rain.</p>
<p class="left-col">Water conservation is currently</p>
<p id="importance" class="dyn-important">IMPORTANT</p>
</div>
</body>
</html>