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
|
<!DOCTYPE html>
<!-- vim:set nowrap: -->
<html>
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<meta charset="UTF-8">
<title>ALGERIA</title>
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/play.css">
<script defer src="/common/play.js"></script>
<script defer src="play.js"></script>
<style>
main { background-color: dimgray }
#role_FLN .role_name { background-color: #006633; color: white;}
#role_FRA .role_name { background-color: #002654; color: white; }
#mapwrap {
width: 1400px;
height: 824px;
box-shadow: 0px 1px 10px #0008;
}
#map {
width: 1400px;
height: 824px;
background-size: 1400px 824px;
background-position: center;
background-image: url(map.jpg);
}
#map div {
position: absolute;
transition-property: top, left;
transition-duration: 1s;
transition-timing-function: ease;
}
.counter {
width: 68px;
height: 68px;
background-repeat: no-repeat;
background-size: 68px 68px;
background-position: center;
border-width: 2px;
border-style: solid;
box-shadow: 0 0 0 1px #222, 1px 2px 4px #0008;
}
.counter-map {
width: 48px;
height: 48px;
background-size: 48px 48px;
border-width: 1px;
}
.counter-med {
width: 35px;
height: 35px;
background-size: 35px 35px;
border-width: 1px;
}
.counter-mini {
width: 24px;
height: 24px;
background-size: 24px 24px;
border-width: 1px;
}
.selected {
border-color: yellow;
}
.counter.fr_al_5_mob_inf { background-image: url(counters/fr_al_5_mob_inf.png) }
.counter.fr_al_7_mob_arm { background-image: url(counters/fr_al_7_mob_arm.png) }
.counter.fr_al_static { background-image: url(counters/fr_al_static.png) }
.counter.fr_div_7_inf { background-image: url(counters/fr_div_7_inf.png) }
.counter.fr_div_25 { background-image: url(counters/fr_div_25.png) }
.counter.fr_elite_9_inf { background-image: url(counters/fr_elite_9_inf.png) }
.counter.fr_elite_9_mar { background-image: url(counters/fr_elite_9_mar.png) }
.counter.fr_elite_9_para { background-image: url(counters/fr_elite_9_para.png) }
.counter.fr_elite_10 { background-image: url(counters/fr_elite_10.png) }
.counter.fr_reg_6_inf { background-image: url(counters/fr_reg_6_inf.png) }
.counter.fr_al_5_mob_inf.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_al_5_mob_inf.png) }
.counter.fr_al_7_mob_arm.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_al_7_mob_arm.png) }
.counter.fr_al_static.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_al_static.png) }
.counter.fr_div_7_inf.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_div_7_inf.png) }
.counter.fr_div_25.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_div_25.png) }
.counter.fr_elite_9_inf.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_elite_9_inf.png) }
.counter.fr_elite_9_mar.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_elite_9_mar.png) }
.counter.fr_elite_9_para.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_elite_9_para.png) }
.counter.fr_elite_10.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_elite_10.png) }
.counter.fr_reg_6_inf.neutralized { background-image: url(counters/neutralized.png), url(counters/fr_reg_6_inf.png) }
.counter.front { background-image: url(counters/front.png) }
.counter.cadre { background-image: url(counters/cadre.png) }
.counter.company { background-image: url(counters/company.png) }
.counter.front.neutralized { background-image: url(counters/neutralized.png), url(counters/front.png) }
.counter.cadre.neutralized { background-image: url(counters/neutralized.png), url(counters/cadre.png) }
.counter.company.neutralized { background-image: url(counters/neutralized.png), url(counters/company.png) }
.counter.psl-fln { background-image: url(counters/psl.png) }
.counter.psl-fra { background-image: url(counters/psl_fr.png) }
.counter.ap { background-image: url(counters/ap.png) }
.counter.naval-pts { background-image: url(counters/naval.png) }
.counter.helo-pts-max { background-image: url(counters/helo_max.png) }
.counter.helo-pts-avail { background-image: url(counters/helo_avail.png) }
.counter.air-pts-max { background-image: url(counters/air_max.png) }
.counter.air-pts-avail { background-image: url(counters/air_avail.png) }
.counter.border_zone { background-image: url(counters/border.png)}
.counter.remote { background-image: url(counters/remote.png)}
.counter.terror { background-image: url(counters/terror.png)}
.counter.control_fln { background-image: url(counters/control.png)}
.counter.control_fra { background-image: url(counters/control_fr.png)}
.counter.control_neut { background-image: url(counters/neut.png)}
.counter.oas_fln { background-image: url(counters/oas_fln.png)}
.counter.oas_fra { background-image: url(counters/oas_fr.png)}
.counter.oas { background-image: url(counters/oas.png)}
.panel {
max-width: 900px;
margin: 36px auto;
background-color: #555;
}
.panel_header {
background-color: #444;
color: white;
user-select: none;
font-weight: bold;
text-align: center;
padding: 3px 1em;
}
.panel_body {
display: flex;
justify-content: start;
flex-wrap: wrap;
padding: 20px;
gap: 14px;
}
.track {
position: relative;
}
.track div {
position: absolute;
}
#psl_track {
width: 868px;
height: 821px;
background-size: 868px 821px;
background-image: url(psl_track.png);
}
#air_naval_track {
width: 813px;
height: 112px;
background-size: 813px 112px;
background-image: url(air-helo_track.png);
}
</style>
</head>
<body>
<header>
<div id="toolbar">
<div class="menu">
<div class="menu_title"><img src="/images/cog.svg"></div>
<div class="menu_popup">
<a class="menu_item" href="info/algeria_en_v1.2.pdf" target="_blank">Rules</a>
<a class="menu_item" href="info/legend.html" target="_blank">Legend</a>
<a class="menu_item" href="info/charts.html" target="_blank">Charts</a>
<div class="resign menu_separator"></div>
<div class="resign menu_item" onclick="confirm_resign()">Resign</div>
</div>
</div>
<div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div>
</div>
<div id="prompt"></div>
<div id="actions"></div>
</header>
<aside>
<div id="roles">
<div class="role" id="role_FLN">
<div class="role_name">
FLN –
<span class="role_user"></span>
</div>
</div>
<div class="role" id="role_FRA">
<div class="role_name">
FRA –
<span class="role_user"></span>
</div>
</div>
</div>
<div id="log"></div>
</aside>
<main>
<div id="mapwrap" class="">
<div id="map">
<div class="counter counter-map fr_div_7_inf selected" style="left:125px;top:187px;"></div>
<div class="counter counter-map fr_div_7_inf neutralized" style="left:184px;top:187px;"></div>
<div class="counter counter-map oas" style="left:680px;top:85px;"></div>
<div class="counter counter-map oas_fln" style="left:740px;top:85px;"></div>
<div class="counter counter-map oas_fra" style="left:800px;top:85px;"></div>
<div class="counter counter-mini control_fln" style="left:200px"></div>
<div class="counter counter-mini control_fra" style="left:240px"></div>
<div class="counter counter-mini control_neut" style="left:280px"></div>
<div class="counter counter-mini terror" style="left:1000px;top:10px;"></div>
<div class="counter counter-mini remote" style="left:1000px;top:60px;"></div>
<div class="counter counter-med border_zone" style="left:20px;top:530px;"></div>
<div class="counter counter-med border_zone" style="left:1350px;top:250px;"></div>
</div>
</div>
<div id="fra_supply_panel" class="panel">
<div id="fra_supply_header" class="panel_header">French Supply</div>
<div id="fra_supply" class="panel_body">
<div class="counter fr_div_7_inf"></div>
<div class="counter fr_div_25"></div>
<div class="counter fr_reg_6_inf"></div>
<div class="counter fr_elite_9_inf"></div>
<div class="counter fr_elite_9_mar"></div>
<div class="counter fr_elite_9_para"></div>
<div class="counter fr_elite_10"></div>
<div class="counter fr_al_5_mob_inf"></div>
<div class="counter fr_al_7_mob_arm"></div>
<div class="counter fr_al_static"></div>
</div>
</div>
<div id="fln_supply_panel" class="panel">
<div id="fln_supply_header" class="panel_header">FLN Supply</div>
<div id="fln_supply" class="panel_body">
<div class="counter front"></div>
<div class="counter cadre"></div>
<div class="counter company"></div>
</div>
</div>
<div id="psl_panel" class="panel">
<div id="psl_header" class="panel_header">PSL Track</div>
<div id="psl" class="panel_body">
<div id="psl_track" class="track">
<div class="counter ap" style="left:20px;top:15px"></div>
<div class="counter psl-fln" style="left:20px;top:414px"></div>
<div class="counter psl-fra" style="left:441px;top:494px"></div>
</div>
</div>
</div>
<div id="air_naval_panel" class="panel">
<div id="air_naval_header" class="panel_header">Air / Naval Track</div>
<div id="air_naval" class="panel_body">
<div id="air_naval_track" class="track">
<div class="counter naval-pts" style="left:171px;top:29px"></div>
<div class="counter helo-pts-max" style="left:338px;top:10px"></div>
<div class="counter helo-pts-avail" style="left:478px;top:10px"></div>
<div class="counter air-pts-max" style="left:618px;top:10px"></div>
<div class="counter air-pts-avail" style="left:758px;top:10px"></div>
</div>
</div>
</div>
</main>
<footer id="status"></footer>
</body>
|