summaryrefslogtreecommitdiff
path: root/play.html
blob: ea54426664abc231a4a514fdcfc44ee54a03d733 (plain)
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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<meta charset="utf-8">
<title>WATERLOO CAMPAIGN 1815</title>
<link rel="icon" href="favicon.png">
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/play.css">
<link rel="stylesheet" href="play.css">
<script defer src="/common/play.js"></script>
<script defer src="data.js"></script>
<script defer src="play.js"></script>
</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/rules.html" target="_blank">Rules</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 class="menu_separator"></div>
			<div class="menu_item" onclick="send_save()">&#x1F41E; Save</div>
			<div class="menu_item" onclick="send_restore()">&#x1F41E; Restore</div>
		</div>
	</div>
	<div class="icon_button" onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></div>
	<div class="icon_button" onclick="toggle_zoom()"><img src="/images/magnifying-glass.svg"></div>
	<div class="icon_button" onclick="toggle_log()"><img src="/images/scroll-quill.svg"></div>
	</div>
	<div id="prompt"></div>
	<div id="actions"></div>
</header>

<aside>
	<div id="roles">
		<div class="role" id="role_French">
			<div class="role_name">
				French
				<div class="role_user">-</div>
			</div>
		</div>
		<div class="role" id="role_Coalition">
			<div class="role_name">
				Coalition
				<div class="role_user">-</div>
			</div>
		</div>
	</div>
	<div id="log"></div>
</aside>

<main>

<div id="mapwrap">
<div id="map">
<div id="board"></div>
<div id="tracks"></div>
<div id="hexes"></div>
<div id="pieces">

<div id="marker_turn" class="marker large y1" style="top:1665px;left:53px"></div>
<div id="marker_remain" class="marker large y3 hide" style="top:1857px;left:129px"></div>
<div id="marker_french_moves" class="marker large y2 hide" style="top:1857px;left:129px"></div>
<div id="marker_prussian_moves" class="marker large y4 hide" style="top:1857px;left:129px"></div>

<div id="french_hq_1" class="hide french large y1"></div>
<div id="french_hq_2" class="hide french large y2"></div>
<div id="french_hq_3" class="hide french large y3"></div>
<div id="anglo_hq_1" class="hide anglo large y1"></div>
<div id="prussian_hq_1" class="hide prussian large y1"></div>

<div id="french_corps_1" class="hide french large y4"></div>
<div id="french_corps_2" class="hide french large y5"></div>
<div id="french_corps_3" class="hide french large y6"></div>
<div id="french_corps_4" class="hide french large y7"></div>
<div id="french_corps_5" class="hide french large y8"></div>
<div id="french_corps_6" class="hide french large y9"></div>
<div id="french_corps_7" class="hide french large y10"></div>
<div id="french_corps_8" class="hide french large y11"></div>

<div id="anglo_corps_1" class="hide anglo large y2"></div>
<div id="anglo_corps_2" class="hide anglo large y3"></div>
<div id="anglo_corps_3" class="hide anglo large y4"></div>
<div id="anglo_corps_4" class="hide anglo large y5"></div>
<div id="anglo_corps_5" class="hide anglo large y6"></div>

<div id="prussian_corps_1" class="hide prussian large y2"></div>
<div id="prussian_corps_2" class="hide prussian large y3"></div>
<div id="prussian_corps_3" class="hide prussian large y4"></div>
<div id="prussian_corps_4" class="hide prussian large y5"></div>
<div id="prussian_corps_5" class="hide prussian large y6"></div>

<div id="french_detachment_1" class="hide french small y1"></div>
<div id="french_detachment_2" class="hide french small y2"></div>
<div id="french_detachment_3" class="hide french small y3"></div>
<div id="french_detachment_4" class="hide french small y4"></div>
<div id="french_detachment_5" class="hide french small y5"></div>
<div id="french_detachment_6" class="hide french small y6"></div>

<div id="anglo_detachment_1" class="hide anglo small y1"></div>
<div id="anglo_detachment_2" class="hide anglo small y2"></div>
<div id="anglo_detachment_3" class="hide anglo small y3"></div>
<div id="anglo_detachment_4" class="hide anglo small y4"></div>

<div id="prussian_detachment_1" class="hide prussian small y1"></div>
<div id="prussian_detachment_2" class="hide prussian small y2"></div>
<div id="prussian_detachment_3" class="hide prussian small y3"></div>
<div id="prussian_detachment_4" class="hide prussian small y4"></div>
<div id="prussian_detachment_5" class="hide prussian small y5"></div>
<div id="prussian_detachment_6" class="hide prussian small y6"></div>

</div>
</div>
</div>
</main>

<footer id="status"></footer>

</body>