summaryrefslogtreecommitdiff
path: root/play.html
blob: c0ef2a1d526557641534d0c3f99902c157f29a55 (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
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
<!DOCTYPE html>
<!-- vim:set nowrap: -->
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1">
<meta charset="utf-8">
<title>PLANTAGENET</title>
<link rel="icon" href="favicon_york.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" target="_blanK" href="/plantagenet/info/rulebook.html">Rules of Play</a>
				<a class="menu_item" target="_blanK" href="/plantagenet/info/playbook.html">Background Book</a>
				<a class="menu_item" target="_blanK" href="/plantagenet/info/reference.html">Reference Sheets</a>
				<a class="menu_item" target="_blanK" href="/plantagenet/info/cards.html">Arts of War</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_pieces()"><img src="/images/earth-africa-europe.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_York">
			<div class="role_name">
				York
				<div class="role_held">0 Held</div>
				<div class="role_user">-</div>
			</div>
		</div>
		<div class="role" id="role_Lancaster">
			<div class="role_name">
				Lancaster
				<div class="role_held">0 Held</div>
				<div class="role_user">-</div>
			</div>
		</div>
		<div class="card_info"><div id="command" class="card york aow_back"></div></div>
	</div>
	<div id="log"></div>
</aside>

<main>

<!-- MAP, TUCKED, EVENTS -->
<section id="sec_map">

<div id="mapwrap">
<div id="map">

<div id="locales"></div>
<div id="boxes"></div>

<div id="pieces">
	<div id="turn" class="marker circle turn levy"></div>
	<div id="end" class="marker circle end"></div>
	<div id="ip" class="marker square ip"></div>
	<div id="towns" class="marker square towns"></div>
	<div id="cities" class="marker square cities"></div>
	<div id="fortresses" class="marker square fortresses"></div>
	<div id="victory_check" class="marker square victory_check"></div>
</div>

</div>
</div>

<div id="events_panel" class="panel hide">
<div id="events_header" class="panel_header">Events</div>
<div id="events" class="panel_body"></div>
</div>
</div>

</section>

<!-- BATTLE / ARTS OF WAR -->
<section id="sec_battle">

<div id="arts_of_war_panel" class="panel hide">
<div id="arts_of_war_header" class="panel_header">Arts of War</div>
<div id="arts_of_war" class="panel_body"></div>
</div>

<div id="battle_panel" class="panel hide">
<div id="battle_header" class="panel_header">Battle</div>
<div id="battle_grid">
	<div class="grid_array att" id="grid_a1"></div>
	<div class="grid_array att" id="grid_a2"></div>
	<div class="grid_array att" id="grid_a3"></div>
	<div class="grid_array def" id="grid_d1"></div>
	<div class="grid_array def" id="grid_d2"></div>
	<div class="grid_array def" id="grid_d3"></div>
</div>
</div>

<div id="reserves_panel" class="panel hide">
<div id="reserves_header" class="panel_header">Reserves</div>
<div id="reserves" class="panel_body"></div>
</div>

</section>

<!-- LORD MATS, HAND, PLAN -->
<section id="sec_lords">

<div class="panel court_panel">
<div id="court1_header" class="panel_header">Lords</div>
<div id="court1" class="panel_body court_body"></div>
</div>

<div id="hand_panel" class="panel hide">
<div id="hand_header" class="panel_header">Hand</div>
<div id="hand" class="panel_body"></div>
</div>
</div>

<div id="plan_panel" class="panel hide">
<div id="plan_header" class="panel_header">Plan</div>
<div id="plan" class="panel_body"></div>
<div id="plan_actions" class="panel_body"></div>
</div>

<div class="panel court_panel">
<div id="court2_header" class="panel_header">Lords</div>
<div id="court2" class="panel_body court_body"></div>
</div>

</section>

</main>

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

</body>