consistent spacing for reformating #7

Closed
lastlink wants to merge 11 commits from no-acme into no-acme
2 changed files with 4 additions and 4 deletions
Showing only changes of commit 0355354654 - Show all commits

4
app.js
View File

@ -128,7 +128,7 @@
$$('button').map(function ($el) { $el.disabled = true; });
var opts = {
jwk: JSON.parse($('textarea[name="JWK"]').value),
jwk: JSON.parse($('textarea[name="jwk"]').value),
claims: {
exp: "1h",
iss: document.getElementById(`-acmeDomains`).value
@ -165,7 +165,7 @@
$('.js-generate').hidden = false;
$('.js-sign').hidden = false;
$('textarea[name="JWK"]').value = JSON.stringify({
$('textarea[name="jwk"]').value = JSON.stringify({
"crv": "P-256",
"d": "LImWxqqTHbP3LHQfqscDSUzf_uNePGqf9U6ETEcO5Ho",
"kty": "EC",

View File

@ -97,9 +97,9 @@
<input class="js-domains" type="text" id="-acmeDomains" value="example.com www.example.com">
</div>
<div>
<label for="pem">JWK:</label>
<label for="jwk">JWK:</label>
<br>
<textarea id="pem" name="pem"></textarea>
<textarea id="jwk" name="jwk"></textarea>
</div>
<button class="js-sign" hidden>Sign</button>
</form>