-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
260 lines (246 loc) · 9.47 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
<!DOCTYPE HTML>
<!--
Prototype by Pixelarity
pixelarity.com | [email protected]
License: pixelarity.com/license
-->
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Nav Data Sheet Generator </title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="assets/css/main.css" />
<script src="script.js" defer></script>
</head>
<body class="is-preload">
<!-- Pixelarity Prototype -->
<!-- Header -->
<header id="header" class="alt">
<h1><a href="https://www.ragsdevelopment.com" rel="noreferrer noopener" target="_blank">Karl Martinsson</a></h1>
<a href="#menu">Settings</a>
</header>
<!-- Menu -->
<nav id="menu">
<!-- <ul class="links">
<li><a href="index.html">Home</a></li>
<li><a href="elements.html">Elements</a></li>
</ul> -->
<form>
<ul class="actions stacked">
<li><button title="apply" type="button" id="applyChanges" class="button primary fit">Apply
Changes</button></li>
</ul>
<h3>Applies to the serial that is about to be set</h3>
<div class="col-12">
<label for="timeOfDaySelector">Time of Day</label>
<select title="todSelect" name="timeOfDaySelector" id="timeOfDaySelector">
<option id="Day" value="day">Day</option>
<option id="Night" value="night">Night</option>
</select>
</div>
</br>
<div class="col-12">
<label for="terrSelect">Terrain</label>
<select title="terrainSelect" name="terrSelect" id="terrSelect">
<option id="Open" value="Open">Open</option>
<option id="Close" value="Close">Close</option>
<option id="Extreme" value="Xtreme">Extreme</option>
</select>
</div>
</br>
<div class="col-12">
<label for="tacNonTac">Tactical</label>
<select title="tacNonTac" name="tacNonTac" id="tacNonTac">
<option id="No" value="NonTac">No</option>
<option id="Yes" value="Tac">Yes</option>
</select>
</div>
</br>
<h3>Applies to all serials</h3>
<div class="col-12">
<label for="unitOfAngle">Unit of Angle</label>
<select title="unitOfAngle" name="unitOfAngle" id="unitOfAngle">
<option id="Nato Mils" value="mils">Nato Mils</option>
<option id="Degrees" value="degrees">Degrees</option>
</select>
</div>
</br>
<div class="col-12">
<label for="unitsOfMeasure">Units of Measure</label>
<select title="unitsOfMeasure" name="unitsOfMeasure" id="unitsOfMeasure">
<optgroup label="Metric">
<option id="Meters" value="meters">Meters</option>
<option id="Kilometers" value="kilometers">Kilometers</option>
</optgroup>
<optgroup label="Imperial">
<option id="Feet" value="feet">Feet</option>
<option id="Yards" value="yards">Yards</option>
<option id="Miles" value="miles">Miles</option>
</optgroup>
</select>
</div>
<div class="col-12">
<label for="timeFormat">Time Format</label>
<select title="timeFormat" name="timeFormat" id="timeFormat">
<option value=":mm">:mm</option>
<option value="h:mm">h:mm</option>
</select>
</div>
<div class="col-12">
<br>
<h3>Magnetic Variation</h3>
<label for="eastWest">Easterly/Westerly</label>
<select title="eastWest" name="eastWest" id="eastWest">
<option id="Easterly" value="east">Easterly</option>
<option id="Westerly" value="west">Westerly</option>
</select>
<h4>Grid-Magnetic Angle</h4>
<input id="gridMA" title="gridMagVariation" type="number">
</div>
</form>
</nav>
<!-- Banner -->
<section id="banner">
<div class="inner">
<div class="content">
<h2>Navigation Data Sheet Generator</h2>
<p>Safe yourself time, quickly and easily generate a highly accurate Nav Data Sheet for your next
instructional or training activity</p>
</div>
<ul class="actions stacked">
<li><a href="#one" class="button primary major">Get Started</a></li>
<li><a href="https://www.ragsdevelopment.com/" target="_blank" rel="noreferrer noopener"
class="button major">More Info</a></li>
</ul>
</div>
</section>
<!-- Two -->
<section id="one" class="wrapper style2">
<div class="inner">
<header class="major">
<h2>Nav Data Sheet</h2>
<p>Insert grids using 4, 6, 8 or 10 figure grid references. Switch between units,
imperial or metric, Nato mils or degrees. Add modifiers such as terrain, time of day, and
tactical situation to more accurately gauge the likely amount of time your trip will take.
Add going and remarks to more vividly describe the path taken. Grid-Magnetic Variation can be added
in Settings</p>
</header>
<form>
<div>
<section>
<div class="warningWrapper">
<p id="warning"></p>
</div>
<ul class="addFeatureArea">
<li><button id="add" type="button"
class="button primary icon solid fas fa-plus-square fa-2x">ADD/EDIT</button></li>
<li>
<div class="col-12">
<label class="serialLabel" for="serialSelector">Serial</label>
<select title="serialSelect" name="serialSelector" id="serialSelector">
<option value="1">1</option>
</select>
</div>
</li>
<li><input id="fromInput" placeholder="From 321 456" type="text" title="from"></input></li>
<li><input id="toInput" placeholder="To 312 465" type="text" title="to"></input></li>
</ul>
<ul class="longTextInput">
<li><textarea placeholder="Going: Long, Hard and Gutwrenching" id="goingInput"
title="going"></textarea></li>
<li><textarea placeholder="Remarks: View is quite nice, totally worth it" id="remarksInput"
title="remarks"></textarea></li>
</ul>
<div class="table-wrapper">
<table id="fullTable" class="alt">
<caption id="tableTitle">
<h4 id="printTitle">Navigation Data Sheet</h4>
</caption>
<thead>
<tr>
<th id="serialHeader" scope="col">Serial</th>
<th id="fromHeader" scope="col">Grid From</th>
<th id="toHeader" scope="col">Grid To</th>
<th id="bearingHeader" scope="col">Bearing<br>(mils)</th>
<th id="distanceHeader" scope="col">Distance<br>(m)</th>
<th id="timeHeader" scope="col">Time<br>(:mm)</th>
<th id="goingHeader" scope="col">Going</th>
<th id="remarksHeader" scope="col">Remarks</th>
</tr>
</thead>
<tbody id="sheet">
</tbody>
</table>
</div>
</section>
</div>
<footer class="major">
<ul class="actions special">
<li><a id="settings" type="button" href="#menu" class="button major "><span
class="fas fa-cog">Settings</span></a></li>
<li><button id="delete" type="button" type="button"
class=" button icon solid removeButton fas fa-trash fa-2x">REMOVE</button></li>
<li><button id="editTitle" type="button" class="button icon solid fas fa-user-edit fa-2x">EDIT
TITLE</button></li>
<!-- <button id="pdf" type="button" class="button icon solid fas fa-file-pdf fa-2x">PDF</button> -->
<li class="dropDownHeader">
<div>
<button type="button" class="button icon solid fas fa-download fa-2x">DOWNLOAD</button>
<div class="dropDown">
<button id="csv" type="button"
class="button icon solid fas fa-file-csv fa-2x ">SPREADSHEET</button>
<button id="json" type="button"
class="button icon solid fas fa-file-alt fa-2x ">JSON</button>
<button id="txt" type="button"
class="button icon solid fas fa-file-code fa-2x ">TXT</button>
</div>
</div>
</li>
<li>
<button id="print" type="button" class="button icon solid fas fa-print fa-2x">PRINT</button>
</li>
</ul>
</footer>
</form>
</div>
</section>
<!-- Footer -->
<footer id="footer">
<div class="inner">
<ul class="icons">
<li><a href="https://github.com/ConnoisseurOfCookies" class="icon brands fa-github" target="_blank"
rel="noreferrer noopener"><span class="label">GitHub</span></a></li>
<li><a href="https://www.linkedin.com/in/ragsdevelopment/" class="icon brands fa-linkedin-in"
target="_blank" rel="noreferrer noopener"><span class="label">LinkedIn</span></a></li>
<li><a href="mailto:[email protected]" class="icon solid fa-envelope"><span
class="label">Envelope</span></a></li>
</ul>
<ul class="contact">
<li>Townsville, QLD</li>
<li>Australia</li>
<li>+61 4 74783097</li>
</ul>
<ul class="links">
<li><a href="https://github.com/ConnoisseurOfCookies/navDataGenerator#howToUse" target="_blank"
rel="noreferrer noopener">FAQ</a></li>
<li><a href="mailto:[email protected]">Support</a></li>
<li><a href="https://github.com/ConnoisseurOfCookies/navDataGenerator/blob/main/LICENSE.md"
target="_blank" rel="noreferrer noopener">Terms</a></li>
<li><a href="https://www.ragsdevelopment.com#contact" target="_blank" rel="noreferrer noopener">Contact</a></li>
</ul>
<p class="copyright">©GNU AFFERO GENERAL PUBLIC LICENSE</p>
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/tableHTMLExport.js"></script>
<script src="assets/js/jspdf.min.js"></script>
<script src="assets//js/jspdf.plugin.autotable.min.js"></script>
<script src="assets/js/jquery.scrollex.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/printThis.js"></script>
<script src="assets/js/main.js"></script>
</body>
</html>