This commit is contained in:
Mateusz Gruszczyński
2026-07-28 23:53:37 +02:00
parent bc25e49bd6
commit 09669ff330
28 changed files with 412 additions and 89 deletions
+10
View File
@@ -24,6 +24,16 @@
<p id="public-meta" class="public-meta"></p>
<article id="public-content" class="markdown-body public-content"></article>
</main>
<dialog id="public-password-dialog">
<form id="public-password-form" class="dialog-panel">
<h2>Protected page</h2>
<p>Enter the note password or sign in with an account that has access.</p>
<input id="public-password" type="password" autocomplete="current-password" minlength="8" maxlength="128" placeholder="Password">
<p id="public-password-error" class="form-message error"></p>
<button class="primary-button">Open page</button>
<a class="text-button" href="/">Back to home</a>
</form>
</dialog>
<div id="toast" class="toast"></div>
</body>