-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
85 lines (78 loc) · 3.2 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
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<title id="title">Tide Tables from Erddap</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="Tide Times for" />
<meta property="og:url" content="https://adamml.github.io/tide-tables-from-erddap/" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="css/tides.css" rel="stylesheet" />
<script src="js/beaches.js"></script> <!-- Merge -->
<script src="js/moment.min.js"></script><!-- Merge -->
<script src="js/config.js"></script> <!-- Deprecate and include in beaches.js -->
<script src="js/d3.min.js"></script> <!-- Merge -->
<script src="js/suncalc.js"></script> <!-- Minfiy and merge -->
</head>
<body>
<h2 id="headLocation"></h2>
<h3 id="dateHeading">Today's Date</h3>
<div id="weatherWarnings"></div>
<div id="tideTable" class="tideTable">
<div class="tideTableHeader">
<div class="tideArrow"> </div><div class="tideTime">Time</div><div class="tideHeight">Height</div><div class="break"> </div><div class="sunParameter"> </div><div class="sunValue"> </div>
</div>
<div class="odd">
<div class="tideArrow" id="tideArrow0"></div>
<div class="tideTime" id="tideTime0"></div>
<div class="tideHeight" id="tideHeight0"></div>
<div class="break"> </div>
<div class="sunParameter">Dawn</div>
<div class="sunValue" id="valueDawn"> </div>
</div>
<div class="even">
<div class="tideArrow" id="tideArrow1"></div>
<div class="tideTime" id="tideTime1"></div>
<div class="tideHeight" id="tideHeight1"></div>
<div class="break"> </div>
<div class="sunParameter">Sunrise</div>
<div class="sunValue" id="valueSunrise"> </div>
</div>
<div class="odd">
<div class="tideArrow" id="tideArrow2"></div>
<div class="tideTime" id="tideTime2"></div>
<div class="tideHeight" id="tideHeight2"></div>
<div class="break"> </div>
<div class="sunParameter">Sunset</div>
<div class="sunValue" id="valueSunset"> </div>
</div>
<div class="even">
<div class="tideArrow" id="tideArrow3"></div>
<div class="tideTime" id="tideTime3"></div>
<div class="tideHeight" id="tideHeight3"></div>
<div class="break"> </div>
<div class="sunParameter">Dusk</div>
<div class="sunValue" id="valueDusk"> </div>
</div>
</div>
<div class="divBreak"></div>
<div class="plotTides" id="plotTides"></div>
<div class="waterQuality">
<h3>Latest water quality information<h3>
</div>
<div class="waterQualityValue" id="waterQualityValue"></div>
<div class="waterQualityLastUpdated" id="waterQualityLastUpdated"></div>
<div id="footer" class="footer">
<p id="datum"></p>
<div id="acknowledgement"></div>
<div id="poweredBy">
<p>Powered by
<a href="https://digitalocean.ie" target="_blank">Ireland's Digital Ocean</a>
<i class="material-icons">open_in_new</i>.
<img src="img/IDO_Banner_Dark_Desktop.png" alt="Ireland's Digital Ocean logo"/>
</p>
</div>
</div>
<script src="js/processTides.js"></script>
</body>
</html>