You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
886 B
HTML
22 lines
886 B
HTML
<div id="import_wallet">
|
|
<form hx-target="#show_wallets" hx-post="{{ url_for('wallet.add') }}" action="#" >
|
|
<label for="label">Label</label>
|
|
<input type="text" name="label" />
|
|
<label for="seed">Mnemonic Seed</label>
|
|
<p class="subtext">12, 13, or 25 word seeds</p>
|
|
<input type="password" name="seed" />
|
|
<label for="restore_height">Restore Height</label>
|
|
<input type="number" name="restore_height" value="-1" />
|
|
<button onclick="cancelImport()">Cancel</button>
|
|
<button onsubmit="cancelImport()" type="submit">Import</button>
|
|
</form>
|
|
<script>
|
|
function cancelImport() {
|
|
document.getElementById("import_wallet").innerHTML = "";
|
|
}
|
|
|
|
document.getElementById("import_wallet").addEventListener("submit", function() {
|
|
cancelImport();
|
|
})
|
|
</script>
|
|
</div> |