summaryrefslogtreecommitdiff
path: root/play.html
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2024-11-24 15:53:08 +0100
committerTor Andersson <tor@ccxvii.net>2024-11-24 15:53:08 +0100
commita2ea835f0df0f1bcd5d50792679626f85f39cc75 (patch)
tree00348fc4aad99451539d515f3caffa56f1636799 /play.html
parent090b2edecbc7bb5dad76d5ed50570f6b413ff462 (diff)
downloadmaria-a2ea835f0df0f1bcd5d50792679626f85f39cc75.tar.gz
Validate promises.
Rework movement restarts. Use "Reject" instead of "Refuse". Use "Resume" after jumping back in time. # Conflicts: # rules.js
Diffstat (limited to 'play.html')
-rw-r--r--play.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/play.html b/play.html
index 09b9854..85d064f 100644
--- a/play.html
+++ b/play.html
@@ -82,6 +82,7 @@
<div id="pc_show" style="display:flex;flex-wrap:wrap;gap:18px;">
</div>
</div>
+ <div class="deal" id="subsidy_list"></div>
<div class="deal" id="active_deal_list"></div>
<div class="deal" id="proposed_deal_list"></div>
</div>
@@ -149,7 +150,7 @@
<dialog id="propose_deal_dlog">
<form id="propose_deal_form">
- <select name="a_power">
+ <select name="a_power" onchange="update_deal_options()">
<option value="0">France</option>
<option value="1">Prussia</option>
<option value="2">Pragmatic Army</option>
@@ -158,10 +159,15 @@
<option value="5">Saxony</option>
</select>
<br>
+ <label><input type="checkbox" name="a_phase_politics">Politics</label>
+ <label><input type="checkbox" name="a_phase_movement">Movement</label>
+ <label><input type="checkbox" name="a_phase_retreat">Retreat</label>
+ <label id="a_hussars_label"><input type="checkbox" name="a_phase_hussars">Hussars</label>
+ <br>
<textarea name="a_promise" placeholder="Promise..." rows=3 cols=40></textarea>
<br><br>
- <select name="b_power">
+ <select name="b_power" onchange="update_deal_options()">
<option value="0">France</option>
<option value="1">Prussia</option>
<option value="2">Pragmatic Army</option>
@@ -170,6 +176,11 @@
<option value="5">Saxony</option>
</select>
<br>
+ <label><input type="checkbox" name="b_phase_politics">Politics</label>
+ <label><input type="checkbox" name="b_phase_movement">Movement</label>
+ <label><input type="checkbox" name="b_phase_retreat">Retreat</label>
+ <label id="b_hussars_label"><input type="checkbox" name="b_phase_hussars">Hussars</label>
+ <br>
<textarea name="b_promise" placeholder="Promise..." rows=3 cols=40></textarea>
<br><br>