[wip] everything is stupid and i hate everyone and everything

the correct thing to do at this point is to factor out "show a yes/no popup
window to user"

the complexity in "open a window and then execute some code in the context of
that window" is mind-boggling

nothing works
This commit is contained in:
2023-10-07 23:14:14 -06:00
parent 853be87eeb
commit e677822f43
8 changed files with 125 additions and 173 deletions
+19
View File
@@ -0,0 +1,19 @@
<!DOCTYPE html>
<!-- HTML page for a "generic dialog" -->
<html lang="en">
<head>
<meta charset="utf-8">
</head>
<body>
<h1 id="title-h1"></h1>
<pre id="miscinfo"></pre>
<br>
<button id="good">Yes</button>
<br>
<button id="bad">No</button>
<body>
</html>
-20
View File
@@ -1,20 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Is this message good or bad?</title>
</head>
<body>
<h1>Do you want to sign this message?</h1>
<pre id="message"></pre>
<br>
<button id="good">Yes</button>
<br>
<button id="bad">No</button>
<script type="module" src="../dist/msg_confirm.js"></script>
<body>
</html>
-25
View File
@@ -1,25 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Do you want to sign this transaction?</title>
</head>
<body>
<h1>Do you want to sign this transaction?</h1>
<h2>Tx Base64</h2>
<pre id="tx-base64"></pre>
<h2>Tx Decomposed info</h2>
<pre id="tx-decomposed"></pre>
<br>
<button id="good">Yes</button>
<br>
<button id="bad">No</button>
<script type="module" src="../dist/tx_confirm.js"></script>
<body>
</html>