diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-25 21:40:29 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-25 21:40:29 -0700 |
commit | d242170ae6145907544e1605a94c540ad0390f31 (patch) | |
tree | 50854169ae96a5963e7062f4cabca3e6223d7831 /web/static | |
parent | ea49bdfd2c83a0fced5a43015f5c1ce4f5dbce65 (diff) | |
download | dartboat-d242170ae6145907544e1605a94c540ad0390f31.tar.gz dartboat-d242170ae6145907544e1605a94c540ad0390f31.tar.xz |
web: more cleanup
Diffstat (limited to 'web/static')
-rw-r--r-- | web/static/dartboat.js | 4 | ||||
-rw-r--r-- | web/static/index.html | 2 | ||||
-rw-r--r-- | web/static/style.css | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/web/static/dartboat.js b/web/static/dartboat.js index cb8e9dd..9cedc4a 100644 --- a/web/static/dartboat.js +++ b/web/static/dartboat.js @@ -123,9 +123,9 @@ prompt_handlers.end_match = { } }; -prompt_handlers.match_mode = { +prompt_handlers.select_mode = { __proto__: prompt_handlers.default, - _keypad: 'match_mode', + _keypad: 'select_mode', submit() { let v = this._get_and_clear(); diff --git a/web/static/index.html b/web/static/index.html index e1384bb..1177e40 100644 --- a/web/static/index.html +++ b/web/static/index.html @@ -47,7 +47,7 @@ <div onclick="promptHandle('undo')" class="key" id="key_undo">UNDO</div> <div onclick="promptHandle('submit_rem')" class="key">REMAINING</div> </div> - <div id="keypad-match_mode" class="keypad"> + <div id="keypad-select_mode" class="keypad"> <div onclick="promptHandle('append', 1); promptHandle('submit')" class="key"><span class="keyboard-val">[1]</span> Play against bot</div> <div onclick="promptHandle('append', 2); promptHandle('submit')" class="key"><span class="keyboard-val">[2]</span> One-player scoreboard</div> <div onclick="promptHandle('append', 3); promptHandle('submit')" class="key"><span class="keyboard-val">[3]</span> Two-player scoreboard</div> diff --git a/web/static/style.css b/web/static/style.css index 519a437..e43a0c1 100644 --- a/web/static/style.css +++ b/web/static/style.css @@ -42,7 +42,7 @@ div#controls .keypad { display: contents; } -div#controls #keypad-match_mode .key { +div#controls #keypad-select_mode .key { grid-column: 1 / -1; padding-left: 0.4rem; |