diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-07-01 23:22:16 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | 7293b76b928687233bac13f45c5a56382de23dc9 (patch) | |
tree | 05b44a9101e8b7ade9866c0a8b35ec1155d74683 /play.html | |
parent | 6e345634c93c3a7000e30283a13b94080e913e27 (diff) | |
download | richard-iii-7293b76b928687233bac13f45c5a56382de23dc9.tar.gz |
Improve role and player name display with long user names.
Diffstat (limited to 'play.html')
-rw-r--r-- | play.html | 18 |
1 files changed, 12 insertions, 6 deletions
@@ -319,7 +319,7 @@ div.block { <div class="image_button" onclick="toggle_log()"><img src="/images/scroll-quill.svg"></div> <div class="image_button chat_button" onclick="toggle_chat()"><img src="/images/chat-bubble.svg"></div> - <div id="prompt" class="prompt">$PROMPT</div> + <div id="prompt" class="prompt">Connecting...</div> <button id="execute_clarence_button" onclick="on_button_execute_clarence()" class="hide"> Execute Clarence @@ -365,18 +365,24 @@ div.block { <div class="grid_role"> <div class="role one"> - <div class="role_vp" id="lancaster_vp"></div> - <div class="role_name">Lancaster (<span class="role_user">$USER</span>)</div> + <div class="role_name"> + Lancaster + <div class="role_vp" id="lancaster_vp"></div> + <div class="role_user">-</div> + </div> <div class="role_info"><div class="small_card card_back" id="lancaster_card"></div></div> </div> <div class="role two"> - <div class="role_vp" id="york_vp"></div> - <div class="role_name">York (<span class="role_user">$USER</span>)</div> + <div class="role_name"> + York + <div class="role_vp" id="york_vp"></div> + <div class="role_user">-</div> + </div> <div class="role_info"><div class="small_card card_back" id="york_card"></div></div> </div> - <div id="turn">$TURN</div> + <div id="turn">-</div> </div> |