-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
713 lines (672 loc) · 36.6 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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Zenith Satellite Tracker</title>
<link rel="icon" type="image/x-icon" href="zenith.ico">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#4a90e2">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="Zenith">
<link rel="apple-touch-icon" href="assets/pwa_icons/ios/[email protected]">
<link rel="stylesheet" href="css/style.css">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
</head>
<body>
<div class="container">
<header>
<img src="assets/pwa_icons/windows/Square44x44Logo.scale-125.png" alt="Zenith Satellite Tracker" class="zenith-logo">
<h1>Zenith Satellite Tracker</h1>
<div class="header-buttons">
<button id="open-sat-panel-btn" class="sat-button-header">CSN Panel</button>
<button id="open-schedule" class="schedule-button">Schedule</button>
<button id="open-sked-planning" class="schedule-button">Sked Planning</button>
<button id="open-aprs" class="aprs-button">APRS</button>
<button id="open-options" class="options-button">Options</button>
<button id="open-help" class="help-button">Help</button>
</div>
</header>
<div class="dashboard">
<div class="sidebar">
<div class="passes-panel">
<h2>Upcoming Passes</h2>
<div id="upcoming-passes" class="panel-content">
<!-- Pass information will be added here dynamically -->
</div>
</div>
<div class="roves-panel">
<h2>Upcoming Roves</h2>
<div id="upcoming-roves" class="panel-content">
<!-- Rove information will be added here dynamically -->
</div>
</div>
</div>
<div class="map-container">
<!-- Replace Leaflet div with Canvas -->
<div id="map-container">
<canvas id="satellite-canvas" width="3600" height="1800"></canvas>
<!-- Keep existing controls inside -->
<div id="amsat-status-button" class="map-control-button" title="Report Satellite Status to AMSAT">
Report Status
</div>
<!-- Add other map controls if needed -->
</div>
<!-- Original map div commented out for reference
<div id="satellite-map">
<div id="amsat-status-button" class="map-control-button" title="Report Satellite Status to AMSAT">
Report Status
</div>
</div>
-->
<!-- Add AMSAT status dialog -->
<div id="amsat-status-dialog" class="modal">
<div class="modal-content">
<div class="modal-header">
<h2>Report Status to AMSAT</h2>
<span class="close amsat-close">×</span>
</div>
<div class="modal-body">
<div class="form-group">
<label>Satellite:</label>
<div id="amsat-satellite-name">--</div>
</div>
<div class="form-group">
<label>Status:</label>
<select id="amsat-status-select">
<option value="Heard">Heard</option>
<option value="Not Heard">Not Heard</option>
</select>
</div>
<div class="form-group">
<label>Callsign:</label>
<input type="text" id="amsat-callsign" placeholder="Enter your callsign">
</div>
<div class="form-group">
<label>Grid Square:</label>
<div id="amsat-gridsquare">--</div>
</div>
<div class="form-group">
<label>Time:</label>
<div id="amsat-time">--</div>
</div>
<div id="amsat-status-message" class="status-message"></div>
</div>
<div class="modal-footer">
<button id="submit-amsat-status">Submit Report</button>
</div>
</div>
</div>
<!-- Add before the satellite info panel -->
<div id="polar-radar-panel" class="polar-radar-panel">
<div class="info-header">
<h3 id="polar-radar-title">Pass Visualization</h3>
<button id="close-polar-radar" class="close-button">×</button>
</div>
<div class="polar-radar-content">
<canvas id="polar-radar-chart"></canvas>
</div>
</div>
<!-- Satellite info panel -->
<div id="satellite-info-panel" class="satellite-info-panel">
<div class="info-header">
<h3 id="info-satellite-name">Satellite Info</h3>
<div class="panel-controls">
<button id="minimize-satellite-info" class="minimize-button">−</button>
<button id="close-info-panel" class="close-button">×</button>
</div>
</div>
<div id="info-content" class="info-content">
<!-- Satellite information will be displayed here -->
</div>
</div>
<!-- CSN Technologies S.A.T Panel -->
<div id="sat-panel" class="sat-panel">
<div class="info-header">
<h3 id="sat-panel-title">CSN Technologies S.A.T</h3>
<span id="sat-connection-badge" class="status-badge"></span>
<div class="panel-controls">
<button id="minimize-sat-panel" class="minimize-button">−</button>
<button id="close-sat-panel" class="close-button">×</button>
</div>
</div>
<div id="sat-panel-content" class="sat-panel-content">
<!-- S.A.T information will be displayed here -->
<div id="sat-status-message" class="sat-status"></div>
<div id="sat-selected" class="sat-selected" style="display: none;"></div>
<!-- Rotator status table -->
<div class="sat-rotator-info">
<table>
<tr>
<td>Azimuth:</td>
<td id="sat-current-az">--</td>
<td>Elevation:</td>
<td id="sat-current-el">--</td>
</tr>
</table>
</div>
<!-- Transponder information -->
<div id="sat-transponder-info" class="sat-transponder-info">
<h4>Transponder</h4>
<div id="sat-transponder-desc">No transponder selected</div>
<div class="freq-grid">
<div class="freq-label">Uplink:</div>
<div id="sat-uplink-freq">--</div>
<div id="sat-uplink-mode">--</div>
<div class="freq-label">Downlink:</div>
<div id="sat-downlink-freq">--</div>
<div id="sat-downlink-mode">--</div>
</div>
<div id="sat-ctcss-container" style="display: none; margin-top: 10px; padding-top: 10px; border-top: 1px solid #ccc;">
<div style="display: flex; align-items: center; gap: 10px;">
<div class="freq-label">CTCSS:</div>
<select id="sat-ctcss-select">
<option value="0">Off</option>
<option value="67">67</option>
<option value="74">74.4</option>
<option value="88">88.5</option>
<option value="141">141.3</option>
</select>
</div>
</div>
</div>
</div>
<div class="sat-panel-buttons">
<button id="sat-radio-toggle" class="sat-button sat-enabled">Radio Enabled</button>
<button id="sat-lock-vfo" class="sat-button sat-enabled">Lock VFO</button>
<button id="sat-center" class="sat-button sat-center">Center</button>
</div>
<div class="sat-panel-buttons sat-panel-buttons-secondary">
<button id="sat-park" class="sat-button sat-park">Park Antennas</button>
</div>
</div>
</div>
</div>
</div>
<!-- Options Modal -->
<div id="options-modal" class="modal">
<div class="modal-content">
<div class="modal-header">
<h2>Options</h2>
<span class="close">×</span>
</div>
<div class="tab-navigation">
<button class="tab-button active" data-tab="satellites">Satellites</button>
<button class="tab-button" data-tab="general">General</button>
<button class="tab-button" data-tab="location">Observer Location</button>
<button class="tab-button" data-tab="radio">Radio</button>
<button class="tab-button" data-tab="hamsat">Hams.at</button>
<button class="tab-button" data-tab="aprs">APRS</button>
</div>
<div class="modal-body">
<div class="tab-content">
<!-- Satellites Tab -->
<div class="tab-pane active" id="satellites-tab">
<div class="satellite-selector">
<h3>Select Satellites</h3>
<div class="search-container">
<input type="text" id="satellite-search" placeholder="Search satellites...">
</div>
<div id="satellite-list">
<!-- Satellite checkboxes will be added here dynamically -->
</div>
<div class="modal-actions">
<button id="select-all">Select All</button>
<button id="deselect-all">Deselect All</button>
<button id="refresh-tle">Refresh TLEs</button>
<button id="show-manual-tle">Input TLEs Manually</button>
</div>
</div>
</div>
<!-- General Tab -->
<div class="tab-pane" id="general-tab">
<div class="general-settings">
<h3>General Settings</h3>
<div class="notifications-section">
<h4>Notifications</h4>
<div class="form-group">
<label>
<input type="checkbox" id="enable-notifications">
Enable Pass Notifications
</label>
<p class="help-text">You will receive notifications 15 minutes before a satellite pass begins.</p>
</div>
<div class="form-group notification-test">
<button id="test-notification" class="button secondary">Test Notification</button>
<p class="help-text">Send a sample notification to see how they will appear on your device.</p>
</div>
</div>
<!-- Additional general settings can be added here in the future -->
</div>
</div>
<!-- Observer Location Tab -->
<div class="tab-pane" id="location-tab">
<div class="location-settings">
<h3>Observer Location</h3>
<div class="location-form">
<div class="form-group">
<label for="callsign">Callsign:</label>
<input type="text" id="callsign" placeholder="Enter your callsign">
</div>
<div class="form-group">
<label for="latitude">Latitude:</label>
<input type="number" id="latitude" step="0.0001" value="51.5074">
</div>
<div class="form-group">
<label for="longitude">Longitude:</label>
<input type="number" id="longitude" step="0.0001" value="-0.1278">
</div>
<div class="form-group">
<label for="elevation">Elevation (m):</label>
<input type="number" id="elevation" value="0">
</div>
<div class="form-group">
<label for="min-elevation">Minimum Elevation (°):</label>
<input type="number" id="min-elevation" value="0" min="0" max="90">
<p class="help-text">Only show passes above this elevation angle</p>
</div>
<div class="location-actions">
<button id="use-geolocation" title="Use your current location">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"
fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round"
stroke-linejoin="round">
<circle cx="12" cy="12" r="10"></circle>
<point x="12" y="12" r="3"></point>
</svg>
Use My Location
</button>
</div>
</div>
</div>
</div>
<!-- Radio Tab -->
<div class="tab-pane" id="radio-tab">
<div class="radio-settings">
<h3>Radio Settings</h3>
<!-- CSN Technologies S.A.T Configuration -->
<div class="sat-config-section">
<h4>CSN Technologies S.A.T</h4>
<div class="form-group">
<label>
<input type="checkbox" id="enable-csn-sat">
Enable CSN Technologies S.A.T
</label>
</div>
<div class="form-group">
<label for="csn-sat-address">IP or Domain:</label>
<input type="text" id="csn-sat-address" value="rotator.local" placeholder="Enter IP address or domain">
<p class="help-text">Enter the IP address or domain of your CSN Technologies S.A.T</p>
</div>
</div>
<!-- Cloudlog API Configuration -->
<div class="cloudlog-config-section">
<h4>Cloudlog API</h4>
<div class="form-group">
<label>
<input type="checkbox" id="enable-cloudlog">
Enable Cloudlog API
</label>
</div>
<div class="form-group">
<label for="cloudlog-url">Cloudlog URL:</label>
<input type="text" id="cloudlog-url" placeholder="https://your.cloudlog.domain">
<p class="help-text">Enter the base URL of your Cloudlog installation</p>
</div>
<div class="form-group">
<label for="cloudlog-api-key">API Key:</label>
<input type="text" id="cloudlog-api-key" placeholder="Enter your Cloudlog API key">
<p class="help-text">Get your API key from your Cloudlog user settings</p>
</div>
</div>
<p>Additional radio configuration options will be added in a future update.</p>
</div>
</div>
<!-- Hams.at Tab -->
<div class="tab-pane" id="hamsat-tab">
<div class="api-settings">
<h3>Hams.at Configuration</h3>
<div class="api-form">
<div class="form-group">
<label for="hams-at-api-key">Hams.at API Key:</label>
<input type="text" id="hams-at-api-key" placeholder="Enter your Hams.at API key">
<p class="help-text">Get your API key from <a href="https://hams.at/users/settings" target="_blank">hams.at account settings</a></p>
</div>
<div class="form-group">
<label>
<input type="checkbox" id="enable-roves" checked>
Enable Upcoming Roves
</label>
</div>
<div class="form-group">
<label>
<input type="checkbox" id="show-unworkable-roves">
Show Unworkable Roves
</label>
</div>
</div>
</div>
</div>
<!-- APRS Tab -->
<div class="tab-pane" id="aprs-tab">
<div class="aprs-settings">
<h3>APRS Settings</h3>
<div class="form-group">
<label>
<input type="checkbox" id="enable-aprs">
Enable APRS
</label>
</div>
<div class="form-group">
<label for="aprs-server">WebSocket Server:</label>
<input type="text" id="aprs-server" placeholder="e.g. localhost">
</div>
<div class="form-group">
<label for="aprs-port">WebSocket Port:</label>
<input type="number" id="aprs-port" placeholder="e.g. 8765">
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button id="save-options">Save & Close</button>
</div>
</div>
</div>
</div>
<!-- Manual TLE Input Dialog -->
<div id="manual-tle-input" class="modal">
<div class="modal-content">
<div class="modal-header">
<h2>Manual TLE Input</h2>
<span class="close manual-close">×</span>
</div>
<div class="modal-body">
<div id="manual-tle-error" class="error-message"></div>
<p>Paste TLE data in 3-line format (Satellite Name, TLE Line 1, TLE Line 2):</p>
<p class="format-example">Example format:<br>
AO-91 (FOX-1B)<br>
1 43017U 17073E 23150.09546759 .00001976 00000-0 15688-3 0 9996<br>
2 43017 97.7000 182.9558 0025675 32.2147 328.1059 14.78059046296268</p>
<textarea id="tles-textarea" rows="15"></textarea>
<p>You can get TLEs from <a href="https://tle.oscarwatch.org"
target="_blank">https://tle.oscarwatch.org</a> or any other source.</p>
<div class="modal-actions">
<button id="submit-manual-tle">Submit TLEs</button>
<button id="cancel-manual-tle">Cancel</button>
</div>
</div>
</div>
</div>
<!-- Schedule Modal -->
<div id="schedule-modal" class="modal">
<div class="modal-content">
<div class="modal-header">
<h2>Satellite Pass Schedule</h2>
<span class="close schedule-close">×</span>
</div>
<div class="modal-body">
<div class="schedule-controls">
<div class="form-group">
<label for="schedule-satellite-filter">Filter by Satellite:</label>
<select id="schedule-satellite-filter">
<option value="all">All Satellites</option>
<!-- Satellite options will be added dynamically -->
</select>
</div>
<div class="form-group">
<label for="schedule-days">Schedule Days:</label>
<select id="schedule-days">
<option value="1">1 Day</option>
<option value="3">3 Days</option>
<option value="7">1 Week</option>
<option value="14">2 Weeks</option>
</select>
</div>
<button id="refresh-schedule" class="refresh-button">Refresh</button>
</div>
<div class="schedule-table-container">
<table id="pass-schedule-table" class="schedule-table">
<thead>
<tr>
<th>Satellite</th>
<th>Start Time</th>
<th>End Time</th>
<th>Max Elevation</th>
<th>Duration</th>
<th>Status</th>
</tr>
</thead>
<tbody id="pass-schedule-body">
<!-- Schedule data will be added here dynamically -->
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Sked Planning Modal -->
<div id="sked-planning-modal" class="modal">
<div class="modal-content">
<div class="modal-header">
<h2>Sked Planning</h2>
<span class="close sked-planning-close">×</span>
</div>
<div class="modal-body">
<div class="sked-planning-controls">
<div class="form-group">
<label for="sked-observer2-grid">Remote Station Grid Square:</label>
<input type="text" id="sked-observer2-grid" placeholder="e.g. IO91wm" maxlength="8">
<div id="sked-observer2-coords" class="small-text"></div>
</div>
<div class="form-group">
<label for="sked-satellite-filter">Filter by Satellite:</label>
<select id="sked-satellite-filter">
<option value="all">All Satellites</option>
<!-- Satellite options will be added dynamically -->
</select>
</div>
<div class="form-group">
<label for="sked-days">Schedule Days:</label>
<select id="sked-days">
<option value="1">1 Day</option>
<option value="3">3 Days</option>
<option value="7">1 Week</option>
<option value="14">2 Weeks</option>
</select>
</div>
<div class="form-group">
<label for="sked-min-elevation">Minimum Elevation (°):</label>
<select id="sked-min-elevation">
<option value="1">1°</option>
<option value="2">2°</option>
<option value="3">3°</option>
<option value="5" selected>5°</option>
<option value="10">10°</option>
<option value="15">15°</option>
<option value="20">20°</option>
</select>
</div>
<button id="refresh-sked-planning" class="refresh-button">Find Mutual Passes</button>
</div>
<div class="schedule-table-container">
<table id="sked-planning-table" class="schedule-table">
<thead>
<tr>
<th>Satellite</th>
<th>Start Time</th>
<th>End Time</th>
<th>Your Max El</th>
<th>Their Max El</th>
<th>Duration</th>
<th></th>
</tr>
</thead>
<tbody id="sked-planning-body">
<!-- Sked data will be added here dynamically -->
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- Help Modal -->
<div id="help-modal" class="modal">
<div class="modal-content">
<div class="modal-header">
<h2>Help</h2>
<span class="close help-close">×</span>
</div>
<div class="modal-body">
<div class="help-content">
<section class="help-section">
<h3>Getting Started</h3>
<p>Zenith is a satellite tracking application that helps you monitor satellite passes, plan contacts, and track amateur radio satellites.</p>
<p>To get started:</p>
<ol>
<li>Click the <strong>Options</strong> button to configure your location and select satellites to track.</li>
<li>Browse the map to see real-time satellite positions and footprints.</li>
<li>View upcoming passes in the sidebar panel on the left.</li>
</ol>
</section>
<section class="help-section">
<h3>Map Navigation</h3>
<p>The main map shows Earth with satellite positions in real-time:</p>
<ul>
<li><strong>Zoom</strong>: Use the scroll wheel or +/- buttons</li>
<li><strong>Pan</strong>: Click and drag the map</li>
<li><strong>Satellite Info</strong>: Click on a satellite marker for detailed information</li>
</ul>
</section>
<section class="help-section">
<h3>Satellite Selection</h3>
<p>To select which satellites to track:</p>
<ol>
<li>Click <strong>Options</strong> and go to the "Satellites" tab</li>
<li>Check the boxes for satellites you want to track</li>
<li>Use the search box to filter the satellite list</li>
<li>Click <strong>Save & Close</strong> to apply your selection</li>
</ol>
</section>
<section class="help-section">
<h3>Pass Predictions</h3>
<p>Upcoming satellite passes appear in the left sidebar:</p>
<ul>
<li><strong>Green</strong>: Currently visible passes</li>
<li><strong>Yellow</strong>: Upcoming passes</li>
<li><strong>Blue</strong>: Passes that will be visible soon</li>
</ul>
<p>Click on a pass to view detailed information about the satellite and to see a polar radar visualization of the pass.</p>
</section>
<section class="help-section">
<h3>Schedule View</h3>
<p>Click the <strong>Schedule</strong> button to see a detailed table of all upcoming passes. You can:</p>
<ul>
<li>Filter passes by satellite</li>
<li>Choose how many days to show in the schedule</li>
<li>View start/end times, maximum elevation, and duration</li>
</ul>
</section>
<section class="help-section">
<h3>Sked Planning</h3>
<p>Use the <strong>Sked Planning</strong> feature to find mutual visibility windows with another station:</p>
<ol>
<li>Enter the remote station's grid square</li>
<li>Select which satellites to include</li>
<li>Set minimum elevation and time period</li>
<li>Click "Find Mutual Passes" to see opportunities for contacts</li>
</ol>
</section>
<section class="help-section">
<h3>Roves Integration</h3>
<p>If you have a Hams.at API key, you can:</p>
<ul>
<li>View upcoming rover activations in the sidebar</li>
<li>Click a rove to open its details on Hams.at</li>
<li>Configure roves display in the Options under the "Hams.at" tab</li>
</ul>
</section>
<section class="help-section">
<h3>Radio Integration</h3>
<p>Zenith supports integration with CSN Technologies S.A.T for automatic satellite tracking with compatible rotators and radios.</p>
<p>To configure:</p>
<ol>
<li>Go to <strong>Options</strong> > "Radio" tab</li>
<li>Enable CSN Technologies S.A.T integration</li>
<li>Enter your device's IP address or domain name</li>
</ol>
</section>
</div>
</div>
</div>
</div>
<!-- APRS Panel -->
<div id="aprs-panel" class="aprs-panel">
<div class="info-header">
<h3 id="aprs-panel-title">APRS</h3>
<button id="aprs-toggle-debug" class="aprs-button debug-button">Show Debug</button>
<div class="panel-controls">
<button id="minimize-aprs-panel" class="minimize-button">−</button>
<button id="close-aprs-panel" class="close-button">×</button>
</div>
</div>
<div class="aprs-panel-content">
<div id="aprs-messages" class="aprs-messages"></div>
<div class="aprs-macros">
<button id="aprs-cq" class="aprs-button">CQ</button>
<button id="aprs-call-rpt" class="aprs-button">CALL RPT & GRID</button>
<button id="aprs-tu73" class="aprs-button">TU 73</button>
</div>
<div class="aprs-controls">
<div class="form-group">
<label for="aprs-to">To callsign:</label>
<input type="text" id="aprs-to" placeholder="To callsign" value="CQ">
</div>
<div class="form-group">
<label for="aprs-via">Via path:</label>
<input type="text" id="aprs-via" placeholder="Via path" value="WIDE1-1,WIDE2-1">
</div>
<div class="form-group">
<label for="aprs-message">Message:</label>
<input type="text" id="aprs-message" placeholder="Message text">
</div>
<div class="aprs-buttons">
<button id="aprs-send-message" class="aprs-button">Send Message</button>
<button id="aprs-send-position" class="aprs-button">Send Position</button>
</div>
</div>
<div class="aprs-table-container">
<table id="aprs-packets-table" class="aprs-table">
<thead>
<tr>
<th>Time</th>
<th>From</th>
<th>To</th>
<th>Message</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
</div>
<!-- Load Scripts -->
<!-- <script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script> -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/satellite.js/4.0.0/satellite.min.js"></script>
<script src="https://d3js.org/d3.v7.min.js"></script>
<script src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.13.7/js/jquery.dataTables.js"></script>
<script src="js/map_d3.js"></script>
<script src="js/aprs.js"></script>
<script src="js/csn.js"></script>
<script src="js/cloudlog.js"></script>
<script src="js/amsat_reporting.js"></script>
<script src="js/notification.js"></script>
<script src="js/pass_skeds.js"></script>
<script src="js/polar_plot.js"></script>
<script src="js/app.js"></script>
</body>
</html>