Show enc-key-prompt by default, hide only when key exists via JS
All checks were successful
Build and push Docker image / build (push) Successful in 11s
Test / test (push) Successful in 16s

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
marwin 2026-03-19 21:57:41 +01:00
parent b234f74115
commit 5ce9cec581
2 changed files with 5 additions and 1 deletions

View file

@ -1360,6 +1360,10 @@ body.dnd-mode .timer-display {
cursor: pointer;
}
.enc-key-prompt {
padding: 24px 0 16px;
}
.book-key-bar {
display: flex;
align-items: center;

View file

@ -278,7 +278,7 @@
<!-- ===== BOOKS TAB ===== -->
<section class="tab-panel" id="tab-books" style="display:none;">
{% if user.is_authenticated %}
<div id="enc-key-prompt" style="display:none;" class="enc-key-prompt">
<div id="enc-key-prompt" class="enc-key-prompt">
<p class="muted">Enter your password to unlock encrypted storage on this device.</p>
<div class="search-bar">
<input type="password" id="enc-key-password" class="search-input" placeholder="Your password…">