summaryrefslogtreecommitdiff
path: root/web/static/index.html
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-16 01:34:54 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-16 01:36:56 -0700
commit6a5cc149d373354941d046d3b3d851901fb4caf3 (patch)
tree773e7fd7135c50cd126eef34d720dcfe64f3a4e7 /web/static/index.html
parent72fa8e2849ab618fa66b776fd4af6d18d025fd51 (diff)
downloaddartboat-6a5cc149d373354941d046d3b3d851901fb4caf3.tar.gz
dartboat-6a5cc149d373354941d046d3b3d851901fb4caf3.tar.xz
web: support ending ongoing match; ui/colour tweaks
Ending a match while the computer is throwing currently results in data being written to the prompt because any scheduled C calls are not being cleared yet.
Diffstat (limited to 'web/static/index.html')
-rw-r--r--web/static/index.html11
1 files changed, 6 insertions, 5 deletions
diff --git a/web/static/index.html b/web/static/index.html
index 472247d..609161a 100644
--- a/web/static/index.html
+++ b/web/static/index.html
@@ -5,7 +5,7 @@
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Darts opponent for when you've got no friends.">
- <meta name="theme-color" content="#311d52">
+ <meta name="theme-color" content="#583a90">
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="manifest" href="dartboat.webmanifest">
<link rel="icon" type="image/png" sizes="48x48" href="icons/dartboat_48.png">
@@ -15,11 +15,12 @@
<body>
<div id="main">
<div id="titlebar">
- <div>dartboat™</div>
- <div title="Delay between computer's darts (ms)" class="input first"><label for="delay" class="icon">&#xf597;</label><input id="delay" data-opt="delay" maxlength="4" value=""></div>
- <div title="Difficulty (precision of computer's throws)" class="input"><label for="difficulty" class="icon">&#xf1de;</label><input id="difficulty" data-opt="difficulty" maxlength="2" value=""></div>
+ <div title="End match" class="button icon" id="key-exit">&#xf659;</div>
+ <div class="name">dartboat™</div>
+ <div title="Delay between computer's darts (ms)" class="opt-input first"><label for="delay" class="icon">&#xf597;</label><input id="delay" data-opt="delay" maxlength="4" value=""></div>
+ <div title="Difficulty (precision of computer's throws)" class="opt-input"><label for="difficulty" class="icon">&#xf1de;</label><input id="difficulty" data-opt="difficulty" maxlength="2" value=""></div>
<div title="Toggle controls side" class="button icon" id="flip-controls-button">&#xf1c3;</div>
- <div title="Help and info" class="button icon" data-modal="help-modal">&#xf50b;</div>
+ <div title="Help and info" class="button icon" data-modal="help-modal">&#xf50c;</div>
</div>
<div id="info">
<div id="oi">oi!</div>