diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-04-09 13:34:36 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-04-09 13:34:36 +0200 |
commit | 8aa0c245595620810f181a6b3f49d66a6bd6b090 (patch) | |
tree | b514fc7b9725e756d081821d5be0d64a4465d7b6 /ui/index.html | |
parent | c443ee613b0ece6f66288f718fadcc3b00797a5e (diff) |
add setup dialog on startup
Diffstat (limited to 'ui/index.html')
-rw-r--r-- | ui/index.html | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/ui/index.html b/ui/index.html index df66853..1183672 100644 --- a/ui/index.html +++ b/ui/index.html @@ -10,9 +10,19 @@ </head> <body> + <dialog id="setupDialog"> + <h1>Setup</h1> + <div>LFV status: <span id="lfvReadyValue">offline</span></div> + <div class="padtop"> + <button disabled value="true" id="lfvReadyBtn" onclick="api.msg.send.start(this)">start LFVs</button> + </div> + </dialog> + <script>document.getElementById("setupDialog").showModal()</script> <dialog id="sosDialog"> - <h1>SOS!!!</h1> - <button value="false" onclick="api.msg.send.sos(this)">stop!!</button> + <h1 class="blink">SOS!!!</h1> + <div class="padtop"> + <button value="false" onclick="api.msg.send.sos(this)">stop!!</button> + </div> </dialog> <div class="container"> <div class="section overview_control"> |