Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatalin Mititiuc <webdevcat@proton.me>2024-04-27 18:28:59 -0700
committerCatalin Mititiuc <webdevcat@proton.me>2024-04-27 18:30:03 -0700
commit0c1f7e2fde7ed6e05271c8aeb8d4babbf4f2188d (patch)
treeb15c46880f7aa4e252df7928dbc5a2a2f5eef366 /public/index.html
parentce98e325656b8419b80d8c248e0469f3a9708322 (diff)
Add ability to change maps
Diffstat (limited to 'public/index.html')
-rw-r--r--public/index.html21
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">