-
Notifications
You must be signed in to change notification settings - Fork 1
/
cofg.html
57 lines (57 loc) · 2.44 KB
/
cofg.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
<!DOCTYPE html>
<html manifest="cofg.appcache" lang="en">
<head>
<title>Helicopter Center of Gravity Calculator</title>
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="js/pointinpolygon.js"></script>
<script type="text/javascript" src="js/getParameter.js"></script>
<script type="text/javascript" src="js/aircraft.js"></script>
<script type="text/javascript" src="js/cofg.js"></script>
</head>
<body onload="pageLoad()" onhashchange="pageLoad()">
<b>The numbers & operations involved in this calculation have not been verified.</b><br/>
Please use this tool for guidance only and check all calculations manually before flight. If you find an error, please report it on <a href="https://github.com/PriceChild/cofg/issues">GitHub</a>
<hr>
<div id="warninglocation"></div>
<form id="balanceform">
<fieldset>
<legend>Aircraft:</legend>
<div id="types"></div>
<div id="models"></div>
</fieldset>
<fieldset>
<legend>Aircraft Details:</legend>
<div id="defaults"></div>
</fieldset>
<fieldset>
<legend>Occupant & baggage weights in Pounds:</legend>
<div id="loadingpoints"></div>
</fieldset>
<fieldset>
<legend>Fuel in US Gallons:</legend>
<div id="fuel"></div>
</fieldset>
<fieldset>
<legend>Extras:</legend>
<div id="extras"></div>
</fieldset>
</form>
<p>
<div id="calculation"></div>
<div id="inlimits"></div>
<canvas id="loncanvas" width="320" height="250" style="border:1px solid #d3d3d3;background:#ffffff"></canvas>
<canvas id="latcanvas" width="320" height="250" style="border:1px solid #d3d3d3;background:#ffffff"></canvas>
<div id="bookmark"></div>
<div id="storageforms">
<form id="saveform">
<input name="reg" id="reg">
<button type="button" onclick="saveReg()">Save</button>
</form>
<form id="loadform">
<div id="reglist"></div>
<button type="button" onclick="loadReg()">Load</button>
</form>
</div>
</body>
</html>