-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.html
82 lines (74 loc) · 3.69 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
81
82
<!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">
<p><b>ZHU Custom Enroute Splits</b></p>
<ol style="font-size: small; line-height: 1.5em; margin-left: -25px;">
<li>Toggle desired sector strata.</li>
<li>Select a color and click sectors to paint.</li>
<li>Right-click to create a label.</li>
</ol>
<p><a href="index.html"><button class="blue" style="width: fit-content;">Back to Menu</button></a></p>
</div>
<div class="float-child">
<p><b>Map Controls</b></p>
<p><button onclick="toggleStrata()" id="toggleStrata" class="blue">Show High</button>
<p><button onclick="toggleTracon()" id="toggleTracon" class="blue">TRACONs</button>
<p><button onclick="resetMap()" class="red">Reset Map</button>
<p><button id="exportMap">Export Map</button>
</div>
<div class="float-child">
<p><b>Sector Colors & Labels</b>
<p>
<button class="colorBtn" style="background-color: #173f5f;" onclick="setColor('#173f5f')"></button>
<button class="colorBtn" style="background-color: #20639b;" onclick="setColor('#20639b')"></button>
<button class="colorBtn" style="background-color: #3caea3;" onclick="setColor('#3caea3')"></button>
<button class="colorBtn" style="background-color: #f6d55c;" onclick="setColor('#f6d55c')"></button>
<button class="colorBtn" style="background-color: #ed553b;" onclick="setColor('#ed553b')"></button>
<p>
<button id="removeLabelsButton" class="red" style="width: fit-content;">Reset Labels</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>24</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>
<script src="custom.js"></script>
<script src="https://unpkg.com/leaflet-image/leaflet-image.js"></script>
</body>
</html>