summaryrefslogtreecommitdiff
path: root/templates/base.html
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2026-05-06 15:25:36 -0700
committerTyler Hoang <tyler@tylerhoang.xyz>2026-05-06 15:25:36 -0700
commit1bdf4ca8c0f51718124ffe5247ac133973d4f251 (patch)
tree2904145bdbc5d2a2164cd3cb6c95346e48afd4a5 /templates/base.html
parent051775337251b0c7036959901eacb58471100862 (diff)
Add authentication, public profile, and infinite scroll
- Implement session-based auth with argon2 password hashing - Add login form and logout button in nav - Create public /tyler profile page with curated stats - Implement infinite scroll for film lists (load 20 at a time) - Add lazy loading for poster images - Fix profile page CSS to use dark theme variables - Use consistent star character (✦) across all pages - Add /films/partial endpoint for pagination Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/base.html b/templates/base.html
index 168efde..1041c25 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -18,6 +18,9 @@
<a class="{% if active_page == 'stats' %}is-active{% endif %}" href="/stats">Stats</a>
<a class="{% if active_page == 'import' %}is-active{% endif %}" href="/import">Import</a>
<a class="button-link" href="/films/new">Add Film</a>
+ <form method="post" action="/logout" style="display: contents;">
+ <button type="submit" style="background: none; border: none; color: var(--muted); cursor: pointer; font-size: inherit; padding: 0;">Logout</button>
+ </form>
</nav>
</header>