fixes and functions

This commit is contained in:
Mateusz Gruszczyński
2026-08-04 23:35:54 +02:00
parent 4b25085bb5
commit 248f4a3977
7 changed files with 28 additions and 16 deletions
+13 -5
View File
@@ -7,7 +7,7 @@
<meta name="color-scheme" content="dark light">
<title>__WORKSPACE_TITLE__ · RustPad</title>
__APP_THEME_BOOTSTRAP__
__APP_STYLESHEET__
__APP_STYLESHEET__
__APP_IMPORT_MAP__
__APP_ENTRYPOINT__
</head>
@@ -35,13 +35,21 @@
</div><button id="new-note-button" class="primary-button inline-button">New note</button>
</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 workspace and all its notes.</small></div>
<div class="workspace-password-card__controls"><input id="workspace-set-password" type="password" minlength="8" maxlength="128" autocomplete="new-password" placeholder="Min. 8 chars" required><button class="secondary-button" type="submit">Set</button></div>
<div class="workspace-password-card__copy"><strong>Protect workspace</strong><small>One password secures the
workspace and all its notes.</small></div>
<div class="workspace-password-card__controls"><input id="workspace-set-password" type="password"
minlength="8" maxlength="128" autocomplete="new-password" placeholder="Min. 8 chars"
required><button class="secondary-button" type="submit">Set</button></div>
<small id="workspace-password-error" class="form-message error" role="alert"></small>
</form>
<div class="notes-toolbar">
<label class="list-search"><span class="sr-only">Search notes</span><input id="notes-search" type="search" placeholder="Search notes…" autocomplete="off"></label>
<label class="page-size-label">Per page<select id="notes-per-page"><option value="25">25</option><option value="50">50</option><option value="100">100</option></select></label>
<label class="list-search"><span class="sr-only">Search notes</span><input id="notes-search" type="search"
placeholder="Search notes…" autocomplete="off"></label>
<label class="page-size-label">Per page<select id="notes-per-page">
<option value="25">25</option>
<option value="50">50</option>
<option value="100">100</option>
</select></label>
<span class="notes-toolbar__label">View</span>
<div class="notes-view-switch" role="group" aria-label="Notes view"><button type="button"
data-notes-view="grid" class="active" aria-pressed="true">Cards</button><button type="button"