index : btroops | |
Virtual board game-aid for BattleTroops, an infantry combat simulator wargame published by FASA in 1989. |
aboutsummaryrefslogtreecommitdiff |
diff options
author | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-29 10:29:54 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-07-29 10:29:54 -0700 |
commit | 63fb4139d5ac5207b057bce46c4288df982bbeb1 (patch) | |
tree | 80b2b0c839d94e3af04cc9f2df6c45c169f600d2 /public/index.html | |
parent | e746cfb216836e26a6c060558278d724bd3ed5d5 (diff) |
Add ability to deactivate/reactivate soldier records; make hex clearing work with right-click and add a confirmation modal dialog
Diffstat (limited to 'public/index.html')
-rw-r--r-- | public/index.html | 33 |
1 files changed, 22 insertions, 11 deletions
diff --git a/public/index.html b/public/index.html index d4a9733..870c79e 100644 --- a/public/index.html +++ b/public/index.html @@ -101,17 +101,17 @@ <p class="grenades"> <span>Hand Grenades</span> <label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg"> - <circle cx="0" cy="0" r="5" /> - </svg></label> + <circle cx="0" cy="0" r="5" /> + </svg></label> <label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg"> - <circle cx="0" cy="0" r="5" /> - </svg></label> + <circle cx="0" cy="0" r="5" /> + </svg></label> <label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg"> - <circle cx="0" cy="0" r="5" /> - </svg></label> + <circle cx="0" cy="0" r="5" /> + </svg></label> <label><input type='checkbox' checked /><svg viewBox="-7 -7 14 14" xmlns="http://www.w3.org/2000/svg"> - <circle cx="0" cy="0" r="5" /> - </svg></label> + <circle cx="0" cy="0" r="5" /> + </svg></label> </p> </template> @@ -361,9 +361,20 @@ <dialog id="clear-hex"> <p>Clear hex contents?</p> <div> - <form> - <button value="cancel" formmethod="dialog">Cancel</button> - <button value="confirm" formmethod="dialog">Confirm</button> + <form style="display: flex; flex-direction: row;"> + <div style="width: 50%;"> + <button + style="display: block; margin-right: auto;" + value="cancel" + formmethod="dialog" + >Cancel</button> + </div> + <div style="width: 50%;"> + <button + style="display: block; margin-left: auto;" + value="confirm" + >Confirm</button> + </div> </form> </div> </dialog> |