diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:29:53 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:35:44 +0100 |
commit | 9511862b5c66f07ac9a3654393d823a599dcd84d (patch) | |
tree | c0037dcbccd798974ed1dbe0ec7123ae7a14d8f4 /play.html | |
parent | b843d6d1651412e4d6f719544254df8b1da6b00d (diff) | |
download | plantagenet-9511862b5c66f07ac9a3654393d823a599dcd84d.tar.gz |
Update to newest RTT server framework.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 57 |
1 files changed, 25 insertions, 32 deletions
@@ -7,9 +7,9 @@ <title>PLANTAGENET</title> <link id="favicon" rel="icon" href="favicons/favicon_warwick.png"> <link rel="stylesheet" href="/fonts/fonts.css"> -<link rel="stylesheet" href="/common/play.css"> +<link rel="stylesheet" href="/common/client.css"> <link rel="stylesheet" href="play.css"> -<script defer src="/common/play.js"></script> +<script defer src="/common/client.js"></script> <script defer src="data.js"></script> <script defer src="play.js"></script> </head> @@ -17,45 +17,38 @@ <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="menu_item" onclick="send_save()">🐞 Save</div> - <div class="menu_item" onclick="send_restore()">🐞 Restore</div> - <div class="menu_separator"></div> - <div class="menu_item" onclick="send_restart()">⚠ Restart</div> - <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> + <details> + <summary><img src="/images/cog.svg"></summary> + <menu> + <li><a target="_blanK" href="/plantagenet/info/rulebook.html">Rules of Play</a> + <li><a target="_blanK" href="/plantagenet/info/playbook.html">Background Book</a> + <li><a target="_blanK" href="/plantagenet/info/charts.html">Reference Sheets</a> + <li><a target="_blanK" href="/plantagenet/info/cards.html">Arts of War</a> + <li class="debug" onclick="send_save()">🐞 Save + <li class="debug" onclick="send_restore()">🐞 Restore + <li class="debug" onclick="send_restart()">⚠ Restart + <li class="debug separator"> + <li class="resign separator"> + <li class="resign" onclick="confirm_resign()">Resign + </menu> + </details> + <button onclick="toggle_pieces()"><img src="/images/earth-africa-europe.svg"></button> </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 class="role_name"> York </div> + <div class="role_stat">0 Held</div> + <div class="role_user">-</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 class="role_name"> Lancaster </div> + <div class="role_stat">0 Held</div> + <div class="role_user">-</div> </div> - <div class="card_info"><div id="command" class="card york aow_back"></div></div> + <div id="turn_info"><div id="command" class="card york aow_back"></div></div> </div> <div id="log"></div> </aside> |