-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
129 lines (127 loc) · 5.54 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
<!DOCTYPE html>
<!--
Options:
[debug] - display F-18 HUD in debug mode (no mirrioring, show DOM element bounding boxes, etc.)
[thin] - display F-18 HUD using thin font ('HornetDisplay' instead of 'GlassGauge')
[pitch5] - display F-18 HUD with 5-degree pitch ladder increments instead of 10-degree increments
-->
<html thin
-debug
pitch5>
<head>
<link rel="stylesheet" href="css/main.css"/>
<meta name="viewport" content="width=device-width,
height=device-height,
target-densitydpi=device-dpi,
initial-scale=1.0,
maximum-scale=1.0,
user-scalable=no"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
</head>
<body>
<start-page>
<button id="start-button">Start</button>
<p>
You may be prompted to allow access to your device's orientation sensors, as well as to use your device's location services.
</p>
</start-page>
<hud-container>
<main-hud>
<!-- DYNAMIC SCALES / LADDERS -->
<hud-element id="bank-angle-indicator"></hud-element>
<hud-element id="bank-angle-scale"></hud-element>
<hud-element id="pitch-ladder"></hud-element>
<hud-element id="heading-tape"></hud-element>
<hud-element id="flight-path-indicator">
<flight-path-indicator></flight-path-indicator>
</hud-element>
<hud-element id="ghost-velocity-indicator">
<ghost-velocity-indicator></ghost-velocity-indicator>
</hud-element>
<hud-element id="aoa-bracket">
<aoa-tick pos></aoa-tick>
<aoa-tick zero></aoa-tick>
<aoa-tick neg></aoa-tick>
<aoa-ball></aoa-ball>
</hud-element>
<hud-element id="waterline-indicator">
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
version="2.0"
width="100%"
height="100%"
viewBox="0 0 120 40"
preserveAspectRatio="xMidYMid meet">
<polyline points="0,0 20,0 40,40 60,0 80,40 100,0 120,0"
fill="none"
stroke="var(--color-fg)"
stroke-width="calc(1.5 * var(--hud-line-thickness))"/>
</svg>
</hud-element>
<hud-element id="gps-heading-indicator"></hud-element>
<hud-element id="target-indicator"></hud-element>
<hud-element id="nav-compass"></hud-element>
<!-- STATIC TEXT -->
<hud-element id="selected-weapon-indicator" crossed>A9M 0</hud-element>
<hud-element id="weapon-info">
<table>
<tr>
<td key>A9M</td>
<td value>0</td>
</tr>
<tr>
<td key>GUN</td>
<td value>578</td>
</tr>
</table>
</hud-element>
<hud-element id="atc-info">
ATC<br/>
CPL SEQ1<br/>
4.5 STL
</hud-element>
<hud-element id="nav-info">
NULL<br/>
000 WYPT<br/>
0.0 TGT<br/>
</hud-element>
<hud-element id="hud-mode-indicator" mode="L"></hud-element>
<!-- DYNAMIC TEXT -->
<hud-element id="time-indicator"></hud-element>
<hud-element id="speed-indicator">
<span boxed id="speed-indicator-value">0</span>
</hud-element>
<hud-element id="altitude-indicator">
<span id="climb-rate-value">0</span>
<span boxed id="altitude-indicator-value">0</span>
</hud-element>
<hud-element id="speed-g-aoa-info">
<table>
<tr>
<td key alt-font>α</td>
<td value id="angle-of-attack-value">0.0</td>
</tr>
<tr>
<td key>M</td>
<td value id="mach-speed-value">0.00</td>
</tr>
<tr>
<td key>G</td>
<td value id="g-load-value">0.00</td>
</tr>
<tr>
<td key></td>
<td value id="g-peak-value">0.00</td>
</tr>
</table>
</hud-element>
</main-hud>
</hud-container>
<script src="js/jquery.js"></script>
<script src="js/css-calc.js"></script>
<script src="js/cookie.js"></script>
<script src="js/nosleep.js"></script>
<script src="js/airports.js"></script>
<script src="js/script.js"></script>
</body>
</html>