-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
69 lines (54 loc) · 2.81 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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Aviation Wind Calculations</title>
<link rel="stylesheet" href="css/style.css" />
<meta name="description" content="" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta property="og:title" content="" />
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<link rel="icon" href="/favicon.ico?" sizes="any" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="icon.png" />
<link rel="manifest" href="site.webmanifest" />
<meta name="theme-color" content="#fafafa" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body class="roboto-regular">
<h1 class="roboto-black">Runway / Wind Calculator</h1>
<canvas id="myCanvas"> Your browser does not support the canvas element. </canvas>
<div class="controls-container">
<label for="windInput">Wind Direction</label>
<div class="number-input">
<input type="number" id="windInput" name="windInput" min="0" max="359" value="180" oninput="window.updateWindLine()" />
</div>
<label for="windSpeed">Wind Speed</label>
<div class="number-input">
<input type="number" id="windSpeed" name="windSpeed" min="0" max="50" value="10" oninput="window.updateWindLine()" />
</div>
<p id="idealRunway">Ideal runway: <span id="idealRunwayValue"></span></p>
<p id="headWind"><span id="headWindValue"></span></p>
<p id="crossWind"><span id="crossWindValue"></span></p>
<p><a href="#" onclick="window.reconfigureRunways()">Reconfigure runways</a></p>
<p><a href="#" onclick="window.reset()">Reset</a></p>
</div>
<script src="js/app.js"></script>
</body>
</html>