-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
347 lines (288 loc) · 12.5 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
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
<!DOCTYPE html>
<html>
<br>
<br>
<FONT COLOR="White">
<div class="div2">
<img src="https://cdn.discordapp.com/attachments/1073272485522460796/1170713150123950120/eogLogo.png?ex=655a0a95&is=65479595&hm=91630e9bf10113fea6e6135765f44c16631dd1e06a12e5aa0a341bd71ba348df&" alt="alternatetext"
width=25%
height=25%
>
</div>
<head>
<video id="background-video" autoplay loop muted poster="https://assets.codepen.io/6093409/river.jpg"><source src="BIRD.mp4" type="video/mp4"
width=100%
height=auto></video>
<title>EOG Leak Detection Tool</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<style>
html,body,h1,h2,h3,h4 {font-family:"Lato", sans-serif}
.mySlides {display:none}
.w3-tag, .fa {cursor:pointer}
.w3-tag {height:15px;width:15px;padding:0;margin-top:6px}
.div2{
padding:3px;
}
.graph-container {
width: 1184px;
height: 615px;
border: 1px solid #FFF;
position: relative;
background-image: url("https://cdn.discordapp.com/attachments/1073272485522460796/1170700838679871498/image.png?ex=6559ff1e&is=65478a1e&hm=0f634c09645b20b12aa3cbed9a597dbb7c0f0dc161975941e8f0cffda6d86f18&");
}
#graph {
width: 100%;
height: 100%;
}
.point {
width: 10px;
height: 10px;
background-color: #FF5733;
border-radius: 50%;
position: absolute;
}
button#plot-button {
margin-top: 10px;
}
#grad {
background-image: linear-gradient(black, #5A5A5A);
}
#background-video { width: 100vw; height: 100vh; object-fit: cover; position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: -1;}
</style>
</head>
<body id="grad">
<!-- Links (sit on top) -->
<div class="w3-top">
<div class="w3-row w3-large w3-light-grey">
<div class="w3-col s3">
<a href="#" class="w3-button w3-block">Home</a>
</div>
<div class="w3-col s3">
<a href="#plans" class="w3-button w3-block">Map</a>
</div>
<div class="w3-col s3">
<a href="#chart" class="w3-button w3-block">Chart</a>
</div>
<div class="w3-col s3">
<a href="#report" class="w3-button w3-block">Report</a>
</div>
</div>
</div>
<!-- Content -->
<div class="w3-content" style="max-width:1100px;margin-top:80px;margin-bottom:80px">
<div class="w3-panel">
<h1><b>EOG Leak Detection Tool</b></h1>
<p>ch4 us | conserving habitats, for us.</p>
</div>
<!-- Grid -->
<div class="w3-row w3-container">
<div class="w3-center w3-padding-64">
<span class="w3-xlarge w3-bottombar w3-border-dark-grey w3-padding-16">about ch4 us</span>
</div>
<div class="w3-col l3 m6 w3-light-grey w3-container w3-padding-16">
<h3>Purpose</h3>
<p>ch4 us is a dynamic web tool that uses cutting-edge statistical analysis to accurately predict leakage zones within eog facilities, reducing the risk of accidental methane emissions.
</p>
</div>
<div class="w3-col l3 m6 w3-grey w3-container w3-padding-16">
<h3>Usage</h3>
<p>The map allows users to visualize potential leakage points, the chart shows the status of each individual sensor, and the reporting feature allows the user to identify faulty equipment.</p>
</div>
<div class="w3-col l3 m6 w3-dark-grey w3-container w3-padding-16">
<h3>Accuracy</h3>
<p>This model uses Gaussian Physics in order to accurately predict the dispersion of Methane gas given wind speed. It utilizes this calculation to trace the likely source of the gas leak. </p>
</div>
<div class="w3-col l3 m6 w3-black w3-container w3-padding-16">
<h3>Mission</h3>
<p>We are committed to reducing our atmospheric emissions and creating a safe and transparent workplace for all of our employees. We strive to continuously improve our model and display up-to-date information. </p>
</div>
</div>
<!-- Grid -->
<div class="w3-row-padding" id="plans">
<div class="w3-center w3-padding-64">
<h3>Sensor Map</h3>
<img src="https://media.discordapp.net/attachments/1169533195230904370/1170777835783331912/facility_map.png?ex=655a46d4&is=6547d1d4&hm=166aecdfcc42e5021ba5ba941b09993a8797fc1e5bc1cc4fe09e14a5304ded1e&=&width=1274&height=662" alt="alternatetext"
width=90%
height=auto
>
<h3>Gaussian Plume Model</h3>
<img src="https://media.discordapp.net/attachments/1169533195230904370/1170777836718674051/facility_map.png?ex=655a46d4&is=6547d1d4&hm=e205fa5483aa75b47090d7aa92f632fc6db7c9f16212648dbfab018293c3f7a8&=&width=1274&height=662" alt="alternatetext"
width=90%
height=auto
>
</div>
<!--
<div class="w3-third w3-margin-bottom">
<ul class="w3-ul w3-border w3-center w3-hover-shadow">
<li class="w3-black w3-xlarge w3-padding-32">Basic</li>
<li class="w3-padding-16"><b>10GB</b> Storage</li>
<li class="w3-padding-16"><b>10</b> Emails</li>
<li class="w3-padding-16"><b>10</b> Domains</li>
<li class="w3-padding-16"><b>Endless</b> Support</li>
<li class="w3-padding-16">
<h2 class="w3-wide">$ 10</h2>
<span class="w3-opacity">per month</span>
</li>
<li class="w3-light-grey w3-padding-24">
<button class="w3-button w3-green w3-padding-large">Sign Up</button>
</li>
</ul>
</div>
<!--
<div class="w3-third w3-margin-bottom">
<ul class="w3-ul w3-border w3-center w3-hover-shadow">
<li class="w3-dark-grey w3-xlarge w3-padding-32">Pro</li>
<li class="w3-padding-16"><b>25GB</b> Storage</li>
<li class="w3-padding-16"><b>25</b> Emails</li>
<li class="w3-padding-16"><b>25</b> Domains</li>
<li class="w3-padding-16"><b>Endless</b> Support</li>
<li class="w3-padding-16">
<h2 class="w3-wide">$ 25</h2>
<span class="w3-opacity">per month</span>
</li>
<li class="w3-light-grey w3-padding-24">
<button class="w3-button w3-green w3-padding-large">Sign Up</button>
</li>
</ul>
</div>
<div class="w3-third w3-margin-bottom">
<ul class="w3-ul w3-border w3-center w3-hover-shadow">
<li class="w3-black w3-xlarge w3-padding-32">Premium</li>
<li class="w3-padding-16"><b>50GB</b> Storage</li>
<li class="w3-padding-16"><b>50</b> Emails</li>
<li class="w3-padding-16"><b>50</b> Domains</li>
<li class="w3-padding-16"><b>Endless</b> Support</li>
<li class="w3-padding-16">
<h2 class="w3-wide">$ 50</h2>
<span class="w3-opacity">per month</span>
</li>
<li class="w3-light-grey w3-padding-24">
<button class="w3-button w3-green w3-padding-large">Sign Up</button>
</li>
</ul>
</div>-->
</div>
<!-- Grid -->
<div class="w3-row-padding w3-center" id="chart">
<h3>Data Chart</h3>
<img src="https://cdn.discordapp.com/attachments/1169533195230904370/1170765254276427786/Screenshot_2023-11-05_at_10.42.40_AM.png?ex=655a3b1c&is=6547c61c&hm=f8ccb24e7b865febd368e8d97977470db380793c2d26a240562b5e687793503f&" alt="alternatetext"
width=90%
height=auto
>
<p>Our leak detection algorithm notices a leak at 12:16am, 7:24am, 7:42am, and 4:45pm.</p>
<a href="https://graph.skjkanchan.repl.co/">Live Graph</a>
<p>More Graphs Shown Below:</p>
<a href="https://graph2.skjkanchan.repl.co/">Live Graph 2</a>
<p> </p>
<a href="https://graph3.skjkanchan.repl.co/">Live Graph 3</a>
<p> </p>
<a href="https://graph4.skjkanchan.repl.co/">Live Graph 4</a>
</div>
<!-- Contact -->
<div class="w3-center w3-padding-64" id="report" >
<h3>Report an Anomaly</h3>
<div class="graph-container w3-center">
<div id="graph"></div>
</div>
<button id="plot-button">Report Area</button>
<input type="number" id="x-coordinate" placeholder="X Coordinate: 0-1184">
<input type="number" id="y-coordinate" placeholder="Y Coordinate: 0-615">
<script>
const graph = document.getElementById("graph");
const plotButton = document.getElementById("plot-button");
const xCoordinateInput = document.getElementById("x-coordinate");
const yCoordinateInput = document.getElementById("y-coordinate");
const plottedPoints = [];
function drawPoints() {
graph.innerHTML = "";
plottedPoints.forEach(point => {
const pointDiv = document.createElement("div");
pointDiv.classList.add("point");
pointDiv.style.left = point.x + "px";
pointDiv.style.bottom = point.y + "px";
graph.appendChild(pointDiv);
});
}
plotButton.addEventListener("click", () => {
const x = parseFloat(xCoordinateInput.value);
const y = parseFloat(yCoordinateInput.value);
if (!isNaN(x) && !isNaN(y)) {
plottedPoints.push({ x, y });
drawPoints();
xCoordinateInput.value = "";
yCoordinateInput.value = "";
}
});
function init() {
drawPoints();
}
init();
</script>
<div style:color:"black">
<p >location coordinate</p>
<p >4S-43 (241, 180)</p>
<p >4S-42 (225, 210)</p>
<p >4S-14 (255, 210)</p>
<p >4S-12 (270, 180)</p>
<p >4S-21 (302, 210)</p>
<p >4S-43 (241, 180)</p>
<p></p>
<p >4W-54 (240, 420)</p>
<p >4W-51 (240, 420)</p>
<p >4W-26 (350, 410)</p>
<p >4W-22 (320, 410)</p>
<p></p>
<p >4T-12 (520, 300)</p>
<p >4T-11 (550, 290)</p>
<p >4T-31 (550, 320)</p>
<p >4T-22 (570, 315)</p>
<p></p>
<p >5S-32 (800, 400)</p>
<p >5S-36 (810, 390)</p>
<p >5S-35 (815, 410)</p>
<p >5S-12 (870, 400)</p>
<p></p>
<p >5W-33 (870, 230)</p>
<p >5W-23 (870, 200)</p>
<p >5W-13 (870, 170)</p>
<p >5W-18 (800, 170)</p>
</div>
</div>
<!-- Footer -->
<footer class="w3-container w3-padding-32 w3-light-grey w3-center">
<h4>ch4 us | eog resources</h4>
<a href="#" class="w3-button w3-black w3-margin"><i class="fa fa-arrow-up w3-margin-right"></i>To the top</a>
<p>Powered by caffeine and anxiety</p>
</footer>
<script>
// Slideshow
var slideIndex = 1;
showDivs(slideIndex);
function plusDivs(n) {
showDivs(slideIndex += n);
}
function currentDiv(n) {
showDivs(slideIndex = n);
}
function showDivs(n) {
var i;
var x = document.getElementsByClassName("mySlides");
var dots = document.getElementsByClassName("demodots");
if (n > x.length) {slideIndex = 1}
if (n < 1) {slideIndex = x.length} ;
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
for (i = 0; i < dots.length; i++) {
dots[i].className = dots[i].className.replace(" w3-white", "");
}
x[slideIndex-1].style.display = "block";
dots[slideIndex-1].className += " w3-white";
}
</script>
</body>
</html>