summaryrefslogtreecommitdiff
path: root/web/static/index.html
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-09 15:56:22 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-09 15:56:22 -0700
commit9ba644fd849ef7664be009e00206bf5eb1b85762 (patch)
tree2a154ab0891b4c4d070a547341893f47072f7b4e /web/static/index.html
parent22750c5853698817278cef512d253175ccc08c56 (diff)
downloaddartboat-9ba644fd849ef7664be009e00206bf5eb1b85762.tar.gz
dartboat-9ba644fd849ef7664be009e00206bf5eb1b85762.tar.xz
web: dynamically generate (list-mode) keypad keys
This is currently only for match mode selection, but we'll reuse it to implement more menus.
Diffstat (limited to 'web/static/index.html')
-rw-r--r--web/static/index.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/web/static/index.html b/web/static/index.html
index feea2d6..d9d8718 100644
--- a/web/static/index.html
+++ b/web/static/index.html
@@ -58,14 +58,9 @@
<div data-command="undo" class="key" id="key-undo">UNDO</div>
<div data-command="rem" class="key" id="key-rem">REMAINING</div>
</div>
- <div id="keypad-select_mode" class="keypad">
- <div data-command="append:1;submit" class="key"><span class="keyboard-val">[1]</span> Play against bot</div>
- <div data-command="append:2;submit" class="key"><span class="keyboard-val">[2]</span> One-player scoreboard</div>
- <div data-command="append:3;submit" class="key"><span class="keyboard-val">[3]</span> Two-player scoreboard</div>
- </div>
+ <div id="keypad-list" class="keypad"></div>
<div id="keypad-dartboard" class="keypad">
- <div id="dartboard-container">
- </div>
+ <div id="dartboard-container"></div>
</div>
</div>
<div id="visits"></div>