summaryrefslogtreecommitdiff
path: root/play.html
blob: 29758908b23902df8335ef4252c4e53ad30a2f59 (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
<!DOCTYPE html>
<!-- vim:set nowrap: -->
<html lang="en">
<head>
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no, interactive-widget=resizes-content, viewport-fit=cover">
<meta name="theme-color" content="#444">
<meta charset="utf-8">
<title>MARIA</title>
<link rel="icon" href="favicon/maria.png">
<link rel="stylesheet" href="/fonts/fonts.css">
<link rel="stylesheet" href="/common/client.css">
<link rel="stylesheet" href="play.css">
<script defer src="/common/client.js"></script>
<script defer src="data.js"></script>
<script defer src="cards.js"></script>
<script defer src="play.js"></script>
</head>
<body>

<header>
	<div id="toolbar">
		<details>
			<summary><img src="/images/cog.svg"></summary>
			<menu>
				<li><a target="_blank" href="/maria/info/readme.html">Read me!</a>
				<li class="separator">
				<li><a target="_blank" href="/maria/info/MariaRules.pdf">Rules</a>
				<li><a target="_blank" href="/maria/info/aid.html">Playing Aid</a>
				<li><a target="_blank" href="/maria/info/cards.html">Political Cards</a>
			</menu>
		</details>
		<button onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></button>
	</div>
</header>

<aside>
	<div id="roles"></div>
	<div id="log"></div>
</aside>

<main>

<div id="mapwrap">
	<div id="map">
		<svg id="roads" width="2485" height="1654" style="position:absolute;z-index:1;pointer-events:none;"></svg>
		<div id="spaces"></div>
		<div id="markers"></div>
		<div id="pieces"></div>
	</div>
</div>

<div id="power_panel_list">

	<!-- Louis XV -->

	<div id="hand_france_panel" class="panel">
	<div id="hand_france_header" class="panel_header">France</div>
	<div id="hand_france" class="panel_body">
	</div>
	</div>

	<div id="hand_bavaria_panel" class="panel">
	<div id="hand_bavaria_header" class="panel_header">Bavaria</div>
	<div id="hand_bavaria" class="panel_body">
	</div>
	</div>

	<!-- Frederick -->

	<div id="hand_prussia_panel" class="panel">
	<div id="hand_prussia_header" class="panel_header">Prussia</div>
	<div id="hand_prussia" class="panel_body">
	</div>
	</div>

	<div id="hand_saxony_panel" class="panel">
	<div id="hand_saxony_header" class="panel_header">Saxony</div>
	<div id="hand_saxony" class="panel_body">
	</div>
	</div>

	<div id="hand_pragmatic_panel" class="panel">
	<div id="hand_pragmatic_header" class="panel_header">Pragmatic Army</div>
	<div id="hand_pragmatic" class="panel_body">
	</div>
	</div>

	<!-- Maria Theresa -->

	<div id="hand_austria_panel" class="panel">
	<div id="hand_austria_header" class="panel_header">Austria</div>
	<div id="hand_austria" class="panel_body">
	</div>
	</div>

	<!-- Political Display -->

	<div id="political_panel" class="panel">
	<div id="political_header" class="panel_header">Political Display</div>
	<div id="political_body">
		<div id="political_display">
			<div id="pol_tracks"></div>
			<div class="pc_pile card_pile" id="placed_prussia"></div>
			<div class="pc_pile card_pile" id="placed_france"></div>
			<div class="pc_pile card_pile" id="placed_pragmatic"></div>
			<div class="pc_pile card_pile" id="placed_austria"></div>
		</div>
		<div style="display:flex;flex-wrap:wrap;gap:18px;margin:18px;">
			<div id="pc_deck" class="card_pile"></div>
			<div id="pc_show" style="display:flex;flex-wrap:wrap;gap:18px;">
			</div>
		</div>
	</div>
	</div>

</div>

<div id="discard_pile_panel" class="panel">
<div id="discard_pile_header" class="panel_header">Decks &amp; Discard Piles</div>
<div id="discard_pile_body" class="panel_body">
	<div class="card_pile" id="discard_1"></div>
	<div class="card_pile" id="discard_2"></div>
	<div class="card_pile" id="discard_3"></div>
	<div class="card_pile" id="discard_4"></div>
</div>
</div>

</main>

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

</body>