refactor with uhtml, dynamically swap out page template whenever hash changes in URL

This commit is contained in:
2024-02-01 21:33:11 -05:00
parent d2d91e6ab3
commit 01d817a206
8 changed files with 409 additions and 210 deletions

View File

@@ -67,28 +67,7 @@
</article>
</dialog>
<dialog class="key-manager" id="keyManagerModal">
<article>
<header>Key Manager</header>
<p>
If you'd like to manage your keys, you can do so here. You can export your keys to transfer to a different
device, or import keys exported from a different device.
</p>
<p>
Public Key:
<pre id="ecdhPublicKey"></pre>
</p>
<p>
Private Key:
<pre id="ecdhPrivateKey"></pre>
</p>
<p>
<button id="exportKeypair">Export Keys</button>
<button id="importKeypair">Import Keys</button>
<button id="closeKeyManager">Close</button>
</p>
</article>
</dialog>
<div id="keyManagerContainer"></div>
<main class="container">
<section>