-
Notifications
You must be signed in to change notification settings - Fork 0
/
custom.html
80 lines (73 loc) · 3.32 KB
/
custom.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ZHU Custom Enroute Splits</title>
<!-- Include Leaflet CSS and JS -->
<link rel="stylesheet" href="https://unpkg.com/leaflet/dist/leaflet.css" />
<link rel="stylesheet" href="custom.css" />
<script src="https://unpkg.com/leaflet/dist/leaflet.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/dom-to-image.min.js"></script>
</head>
<body>
<div class="float-container clearfix">
<div class="float-child" style="text-align: center;">
<p><b>ZHU Custom Enroute Splits</b></p>
<p><a href="index.html"><button class="red">Back to Menu</button></a></p>
</div>
<div class="float-child">
<p><b>Instructions</b></p>
<ol style="font-size: small; line-height: 1.5em;">
<li>Press Define Splits</li>
<li>Click on each sector to assign to a split (1-5).</li>
<li>When finished coloring the splits, press Create Labels.</li>
<li>Click a spot on the map and enter the desired label text.</li>
<li>You can toggle back and forth between defining splits and creating labels.</li>
</ol>
<button onclick="startColoring()">Define Splits</button>
<button onclick="createLabels()" class="blue">Create Labels</button>
<p>
<button onclick="resetMap()" class="red">Reset</button>
<button id="exportMap" class="blue">Export Map</button>
</div>
<div class="float-child" style="text-align: center;">
<p><b>Specialty Consolidated</b></p>
<table>
<tbody style="font-size: small; line-height: 1.5em;">
<tr><td>AUS</td><td>83</td></tr>
<tr><td>CRP</td><td>87</td></tr>
<tr><td>LCH</td><td>43</td></tr>
<tr><td>LFK</td><td>38</td></tr>
<tr><td>NEW</td><td>27</td></tr>
<tr><td>OCN</td><td>53</td></tr>
<tr><td>RSG</td><td>50</td></tr>
</tbody>
</table>
</div>
<div class="float-child" style="text-align: center;">
<p><b>Specialty TRACON Ownership</b></p>
<table>
<tbody style="font-size: small; line-height: 1.5em;">
<tr><td>AUS</td><td>AUS, I90</td></tr>
<tr><td>CRP</td><td>CRP, VLY, NQI</td></tr>
<tr><td>LCH</td><td>LCH</td></tr>
<tr><td>LFK</td><td>POE</td></tr>
<tr><td>NEW</td><td>LFT, BTR, MSY, GPT, MOB</td></tr>
<tr><td>RSG</td><td>DLF, SAT</td></tr>
</tbody>
</table>
</div>
</div>
<div id="map" style="width: 1280px; height: 720px;"></div>
<div class="float-child">
<p><b>ToDo</b></p>
<ul>
<li>Toggle between high and low sectors.</li>
<li><span style="color: green;">Done 05/29/24 - Add lines for neighboring ARTCCs/FIRs.</span></li>
</ul>
</div>
<script src="custom.js"></script>
<script src="https://unpkg.com/leaflet-image/leaflet-image.js"></script>
</body>
</html>