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-04-27 18:28:59 -0700 |
---|---|---|
committer | Catalin Mititiuc <webdevcat@proton.me> | 2024-04-27 18:30:03 -0700 |
commit | 0c1f7e2fde7ed6e05271c8aeb8d4babbf4f2188d (patch) | |
tree | b15c46880f7aa4e252df7928dbc5a2a2f5eef366 /public/index.html | |
parent | ce98e325656b8419b80d8c248e0469f3a9708322 (diff) |
Add ability to change maps
Diffstat (limited to 'public/index.html')
-rw-r--r-- | public/index.html | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/public/index.html b/public/index.html index ef12273..d8a91f9 100644 --- a/public/index.html +++ b/public/index.html @@ -104,7 +104,7 @@ Loading... </div> - <object type="image/svg+xml" data="map.svg"></object> + <object type="image/svg+xml" data="map1.svg"></object> <div id="status"> <span id="hex-counter">Distance: <span id="hex-count">-</span></span> @@ -134,6 +134,25 @@ <span class="inning-top">◓</span> <span class="inning-bottom">◒</span> </span> + + <dialog id="map-dialog"> + <form> + <p> + <label> + Map: + <select> + <option value="map1">Map1</option> + <option value="map2">Map2</option> + </select> + </label> + </p> + <div> + <button value="cancel" formmethod="dialog">Cancel</button> + <button id="confirm-btn" value="default">Confirm</button> + </div> + </form> + </dialog> + <button id="show-dialog">Change map</button> </div> <div id="record-sheet"> |