Skip to content

Commit

Permalink
Merge pull request #6 from kdmukai/dev
Browse files Browse the repository at this point in the history
Regenerated for v0.8.5-rc1
  • Loading branch information
kdmukai authored Dec 24, 2024
2 parents a4d589e + e0199ce commit 54b3ca6
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 4 deletions.
62 changes: 59 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,23 @@ <h3>SettingsQR</h3>
</td>
</tr>

<tr>
<td class="label">
Language

</td>
<td>

<select name="lang" id="lang" class="form-select" onchange="buildConfig();" autocomplete="off">

<option value="en" selected>English</option>

<option value="es" >Español</option>

</select>

</td>

<tr>
<td class="label">
Persistent settings
Expand Down Expand Up @@ -279,9 +296,11 @@ <h3>SettingsQR</h3>

<label for="scripts_nat"><input type="checkbox" name="scripts" id="scripts_nat" value="nat" checked onchange="buildConfig();" autocomplete="off">&nbsp;Native Segwit</label><br/>

<label for="scripts_nes"><input type="checkbox" name="scripts" id="scripts_nes" value="nes" checked onchange="buildConfig();" autocomplete="off">&nbsp;Nested Segwit (legacy)</label><br/>
<label for="scripts_nes"><input type="checkbox" name="scripts" id="scripts_nes" value="nes" checked onchange="buildConfig();" autocomplete="off">&nbsp;Nested Segwit</label><br/>

<label for="scripts_leg"><input type="checkbox" name="scripts" id="scripts_leg" value="leg" onchange="buildConfig();" autocomplete="off">&nbsp;Legacy</label><br/>

<label for="scripts_tr"><input type="checkbox" name="scripts" id="scripts_tr" value="tr" onchange="buildConfig();" autocomplete="off">&nbsp;Taproot</label><br/>
<label for="scripts_tr"><input type="checkbox" name="scripts" id="scripts_tr" value="tr" checked onchange="buildConfig();" autocomplete="off">&nbsp;Taproot</label><br/>

<label for="scripts_cus"><input type="checkbox" name="scripts" id="scripts_cus" value="cus" onchange="buildConfig();" autocomplete="off">&nbsp;Custom Derivation</label><br/>

Expand Down Expand Up @@ -343,7 +362,7 @@ <h3>SettingsQR</h3>

<tr>
<td class="label">
CompactSeedQR
Compact SeedQR

</td>
<td>
Expand All @@ -367,6 +386,21 @@ <h3>SettingsQR</h3>

</td>

<tr>
<td class="label">
Electrum seeds

<div class="help_text">Native Segwit only</div>

</td>
<td>

<div class="form-check form-switch">
<input type="checkbox" name="electrum" id="" class="form-check-input" value="E" onchange="buildConfig();" autocomplete="off">
</div>

</td>

<tr>
<td class="label">
Message signing
Expand Down Expand Up @@ -456,6 +490,13 @@ <h3>SettingsQR</h3>



settings.push(`lang=${$("#lang").val()}`);


// TODO: multiselect types can't be blank



if ($("input[name='persistent']:checked").length > 0) {
settings.push(`persistent=${$("input[name='persistent']:checked").map(function () {return this.value;}).get().join()}`);
}
Expand Down Expand Up @@ -592,6 +633,21 @@ <h3>SettingsQR</h3>



// TODO: multiselect types can't be blank



if ($("input[name='electrum']:checked").length > 0) {
settings.push(`electrum=${$("input[name='electrum']:checked").map(function () {return this.value;}).get().join()}`);
}

if ($("input[name='electrum']:not(:checked)").length > 0) {
// Set "D" for disabled
settings.push(`electrum=D`);
}



// TODO: multiselect types can't be blank


Expand Down
2 changes: 1 addition & 1 deletion src/seedsigner
Submodule seedsigner updated 145 files

0 comments on commit 54b3ca6

Please sign in to comment.