This commit is contained in:
Mateusz Gruszczyński committed 2026-09-25 15:31:55 +02:00
1 parent 90e3c399ea
commit 57ad26878b
12 files changed
+477 -31

No files matched your search

+21 -4
View File
@@ -32,7 +32,12 @@
<div>
<h2>Notes</h2>
<p>Select a note or create a new one.</p>
</div><button id="new-note-button" class="primary-button inline-button">New note</button>
</div>
<div class="workspace-top__actions">
<button id="archived-notes-button" class="secondary-button inline-button" type="button" data-i18n="workspace.archive.title" hidden>Archived notes</button>
<button id="workspace-settings-button" class="secondary-button inline-button" type="button" aria-expanded="false" data-i18n="workspace.settings.title" hidden>Workspace settings</button>
<button id="new-note-button" class="primary-button inline-button" type="button">New note</button>
</div>
</section>
<form id="workspace-password-form" class="workspace-password-card" hidden>
<div class="workspace-password-card__copy"><strong>Protect workspace</strong><small>One password secures the
@@ -44,10 +49,10 @@
</form>
<form id="workspace-settings-form" class="workspace-settings-card" hidden>
<div class="workspace-settings-card__copy">
<strong>Deleted notes</strong>
<small>Workspace-wide setting. Archived notes disappear from the workspace but remain in the database with their history and files.</small>
<strong data-i18n="workspace.settings.deletedNotes">Deleted notes</strong>
<small data-i18n="workspace.settings.copy">Workspace-wide setting. Archived notes disappear from the workspace but remain in the database with their history and files.</small>
</div>
<label class="workspace-archive-toggle"><input id="archive-deleted-notes" type="checkbox"> Archive deleted notes instead of permanently deleting them</label>
<label class="workspace-archive-toggle"><input id="archive-deleted-notes" type="checkbox"> <span data-i18n="workspace.settings.archiveToggle">Archive deleted notes instead of permanently deleting them</span></label>
<button class="secondary-button" type="submit">Save</button>
<small id="workspace-settings-status" class="form-message" role="status"></small>
</form>
@@ -68,6 +73,18 @@
<section id="notes-list" class="notes-grid" aria-live="polite"></section>
<nav id="notes-pagination" class="pagination" aria-label="Notes pagination"></nav>
</main>
<dialog id="archived-notes-dialog" class="archived-notes-dialog">
<section class="dialog-panel archived-notes-panel">
<div class="archived-notes-panel__header">
<div>
<h2 data-i18n="workspace.archive.title">Archived notes</h2>
<p class="dialog-copy" data-i18n="workspace.archive.copy">Restore notes that were archived instead of permanently deleted.</p>
</div>
<button id="close-archived-notes" class="icon-button" type="button" aria-label="Close dialog">×</button>
</div>
<div id="archived-notes-list" class="archived-notes-list" aria-live="polite"></div>
</section>
</dialog>
<dialog id="identity-dialog">
<form id="identity-form" autocomplete="on" class="dialog-panel identity-panel">
<h2>Identify yourself</h2>