-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
98 lines (81 loc) · 3.3 KB
/
index.html
File metadata and controls
98 lines (81 loc) · 3.3 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Flight Visualizer</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles/main.css">
</head>
<body>
<!-- Map Container -->
<!-- Map Container -->
<div id="map"></div>
<!-- Custom Zoom Controls -->
<div class="map-controls">
<button id="zoom-in" class="control-btn">+</button>
<button id="zoom-out" class="control-btn">−</button>
</div>
<!-- Landmark Legend -->
<div id="landmark-legend" class="legend-container hidden">
<h4>Landmarks</h4>
<label class="legend-item">
<input type="checkbox" id="tier-1-check" checked>
<span class="custom-checkbox"></span>
<span class="dot tier-1"></span>
<span class="legend-label">Global</span>
</label>
<label class="legend-item">
<input type="checkbox" id="tier-2-check" checked>
<span class="custom-checkbox"></span>
<span class="dot tier-2"></span>
<span class="legend-label">National</span>
</label>
<label class="legend-item">
<input type="checkbox" id="tier-3-check">
<span class="custom-checkbox"></span>
<span class="dot tier-3"></span>
<span class="legend-label">Local</span>
</label>
</div>
<!-- UI Overlay -->
<div class="ui-container">
<!-- Header -->
<div class="header">
<h1>Flight Visualizer</h1>
</div>
<!-- Flight Search -->
<div id="search-section" class="card disabled">
<div id="stops-container">
<div class="input-group" data-type="origin">
<span class="drag-handle">⠿</span>
<input type="text" id="origin-input" placeholder="Origin (e.g. JFK)" autocomplete="off">
<div id="origin-suggestions" class="suggestions"></div>
</div>
<!-- Dynamic Stops Go Here -->
<div id="layovers-container"></div>
<div class="input-group" data-type="dest">
<span class="drag-handle">⠿</span>
<input type="text" id="dest-input" placeholder="Destination (e.g. LHR)" autocomplete="off">
<div id="dest-suggestions" class="suggestions"></div>
</div>
</div>
<button id="add-layover-btn" class="secondary-btn">+ Add Stop</button>
<button id="track-btn">Track Flight</button>
</div>
<!-- Status/Info -->
<div id="flight-info" class="card hidden">
<div class="route-info">
<span id="route-origin">---</span>
<span class="arrow">✈</span>
<span id="route-dest">---</span>
</div>
<p id="distance-info"></p>
</div>
</div>
<div id="notification-container"></div>
<script type="module" src="/src/main.js"></script>
</body>
</html>