-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
184 lines (183 loc) · 7.9 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
<!-- Oscar Map -->
<!-- 版权所有:Sparrow He -->
<!-- 禁止一切侵权行为,购买使用授权请联系QQ:1441373096 -->
<html>
<head>
<title>XNATC 连飞地图</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="static/css/external/mdui.min.css" />
<link rel="stylesheet" href="static/css/external/leaflet.css">
<link rel="stylesheet" href="static/css/external/L.Control.Layers.Tree.css">
<link rel="stylesheet" href="static/css/ocsar-map-v2.core.css">
<script src="static/js/external/jquery-3.6.0.min.js"></script>
<script src="static/js/external/mdui.min.js"></script>
<script src="static/js/external/leaflet.js"></script>
<script src="static/js/external/leaflet.rotatedMarker.js"></script>
<script src="static/js/external/leaflet.MultiOptionsPolyline.min.js"></script>
<script src="static/js/external/L.Control.Layers.Tree.js"></script>
<script src="static/js/oscar-map-v2.core.js"></script>
</head>
<body class="mdui-drawer-body-left mdui-appbar-with-toolbar mdui-theme-primary-blue-grey" onload="init()">
<div class="mdui-appbar mdui-appbar-fixed">
<div class="mdui-toolbar mdui-color-theme">
<a href="javascript:;" class="mdui-typo-headline">XNATC 连飞地图</a>
<div class="mdui-toolbar-spacer"></div>
<div class="time">
<span id="time">11:45:14 UTC</span>
</div>
<a href="javascript:;" class="mdui-btn mdui-btn-icon mdui-ripple" mdui-dialog="{target: '#searchDialog'}">
<i class="mdui-icon material-icons">search</i>
</a>
<a href="javascript:updMap();" class="mdui-btn mdui-btn-icon mdui-ripple">
<i class="mdui-icon material-icons">refresh</i>
</a>
<a href="javascript:;" class="mdui-btn mdui-btn-icon mdui-ripple" mdui-dialog="{target: '#settingDialog'}">
<i class="mdui-icon material-icons">more_vert</i>
</a>
</div>
</div>
<div class="mdui-drawer" style="width: 450px;">
<div style="margin-top: 10px;">
<div id="tab" class="mdui-tab mdui-tab-centered mdui-tab-full-width">
<a href="#pilot" class="mdui-ripple"><p>飞行员</p></a>
<a href="#atc" class="mdui-ripple"><p>管制员</p></a>
<a href="#detail-body" class="mdui-ripple"><p>详情</p></a>
</div>
<div id="pilot" class="mdui-p-a-2">
<div class="mdui-table-fluid">
<table class="mdui-table">
<thead>
<tr>
<th>呼号</th>
<th>起飞</th>
<th>降落</th>
</tr>
</thead>
<tbody id="pilot-body">
</tbody>
</table>
</div>
</div>
<div id="atc" class="mdui-p-a-2">
<div class="mdui-table-fluid">
<table class="mdui-table">
<thead>
<tr>
<th>名称</th>
<th>频率</th>
</tr>
</thead>
<tbody id="atc-body">
</tbody>
</table>
</div>
</div>
<div id="detail-body" class="mdui-p-a-2">
<p>请先选中一个机组或管制员</p>
</div>
</div>
</div>
<div class="mdui-dialog" id="settingDialog">
<div class="mdui-dialog-title">设置</div>
<div class="mdui-dialog-content">
<label class="mdui-checkbox">
<input type="checkbox" id="show-pilot" checked/>
<i class="mdui-checkbox-icon"></i>
<span>显示飞行员</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="show-atc" checked/>
<i class="mdui-checkbox-icon"></i>
<span>显示管制员</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="show-range" checked/>
<i class="mdui-checkbox-icon"></i>
<span>显示管制范围</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="show-obs" checked/>
<i class="mdui-checkbox-icon"></i>
<span>显示非正式席位</span>
</label>
<br>
<span>地图选择:</span>
<label class="mdui-radio">
<input type="radio" name="map-select" checked id="osm" />
<i class="mdui-radio-icon"></i>
OpenStreetMap
</label>
<label class="mdui-radio">
<input type="radio" name="map-select" id="google" />
<i class="mdui-radio-icon"></i>
Google 卫星
</label>
<label class="mdui-radio">
<input type="radio" name="map-select" id="tianditu" />
<i class="mdui-radio-icon"></i>
天地图
</label>
<small>本设置刷新有效</small>
<br>
<span>标牌设置:</span>
<label class="mdui-checkbox">
<input type="checkbox" id="tag-icon"/>
<i class="mdui-checkbox-icon"></i>
<span>航司</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="tag-callsign"/>
<i class="mdui-checkbox-icon"></i>
<span>呼号</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="tag-leg"/>
<i class="mdui-checkbox-icon"></i>
<span>航段</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="tag-alt"/>
<i class="mdui-checkbox-icon"></i>
<span>高度</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="tag-type"/>
<i class="mdui-checkbox-icon"></i>
<span>机型</span>
</label>
<br>
<span>机组设置:</span>
<label class="mdui-checkbox">
<input type="checkbox" id="pilot-track" checked/>
<i class="mdui-checkbox-icon"></i>
<span>航迹</span>
</label>
<label class="mdui-checkbox">
<input type="checkbox" id="pilot-plan" checked/>
<i class="mdui-checkbox-icon"></i>
<span>计划航路</span>
</label>
<div class="mdui-typo">
<p><a href="thanks.html">致谢</a></p>
</div>
</div>
<div class="mdui-dialog-actions">
<button class="mdui-btn mdui-ripple" onclick="clickSettingSave()" mdui-dialog-confirm>OK</button>
</div>
</div>
<div class="mdui-dialog" id="searchDialog">
<div class="mdui-dialog-title">搜索</div>
<div class="mdui-dialog-content">
<div class="mdui-textfield">
<i class="mdui-icon material-icons">search</i>
<input class="mdui-textfield-input" id="callsign-search" placeholder="呼号"/>
</div>
</div>
<div class="mdui-dialog-actions">
<button class="mdui-btn mdui-ripple" onclick="" mdui-dialog-confirm>搜索</button>
</div>
</div>
<div id="map">
</div>
</body>
</html>