jr popup: separate modals for keypairs and recover keypair

This commit is contained in:
2024-03-18 19:29:46 -06:00
parent 24089519ad
commit 53cce7598c
2 changed files with 22 additions and 4 deletions
+1
View File
@@ -5,5 +5,6 @@
{deps, ["local-tweetnacl-1.0.3", {deps, ["local-tweetnacl-1.0.3",
"local-awcp-0.2.3", "local-awcp-0.2.3",
"local-vdk_aecrypt-0.1.2", "local-vdk_aecrypt-0.1.2",
"local-vdk_aertext-0.1.0",
"local-vdk_aeser-0.1.1", "local-vdk_aeser-0.1.1",
"local-vdk_binary-0.1.0"]}. "local-vdk_binary-0.1.0"]}.
+21 -4
View File
@@ -22,7 +22,7 @@
</tr> </tr>
</table> </table>
<div style="margin-top: 5px; width: 95%; background: #d9ffd6; border: 1px solid #6c5d96; border-radius: 5px;"> <div style="margin-top: 5px; width: 95%; background: #d9ffd6; border: 1px solid #6c5d96; border-radius: 5px; padding: 5px;">
<table > <table >
<tr> <tr>
<td><img src="../art/keypair.svg" style="width: 32px; height: 32px;"></td> <td><img src="../art/keypair.svg" style="width: 32px; height: 32px;"></td>
@@ -31,18 +31,35 @@
</td> </td>
</tr> </tr>
</table> </table>
<!-- hidden if there are keypairs -->
<p id="no-keypairs">You have no keypairs yet. Either generate a new one or <p id="no-keypairs">You have no keypairs yet. Either generate a new one or
recover one you already have.</p> recover one you already have.</p>
<!-- keypairs added dynamically from page script -->
<ul id="keypairs"></ul> <ul id="keypairs"></ul>
<!-- recover from faert phrase -->
<!-- generate new keypair -->
<form> <form>
<button id="generate-btn">Generate New Keypair</button> <button id="generate-btn">Generate New Keypair</button>
</form> </form>
</div>
<!-- faert recovery -->
<div style="margin-top: 5px; width: 95%; background: #ffd6d9; border: 1px solid #6c5d96; border-radius: 5px; padding: 5px;">
<table >
<tr>
<td><img src="../art/keypair.svg" style="width: 32px; height: 32px;"></td>
<td style="justify-content: center; font-size: 28px; text-align: center; font-weight: bold">
RECOVER KEYPAIR FROM GajuPhrase
</td>
</tr>
</table>
<!-- recover from faert phrase --> <!-- recover from faert phrase -->
<form> <form>
<label for="faert-input">FÆRT Phrase:</label> <label for="faert-input">GajuPhrase:</label>
<input id="faert-input"></input> <input id="faert-input"></input>
<button id="faert-btn">Recover Keypair from FÆRT Phrase</button> <button id="faert-btn">Recover Keypair from GajuPhrase</button>
</form> </form>
<!-- recover from seed phrase <!-- recover from seed phrase
<form> <form>