summaryrefslogtreecommitdiff
path: root/templates/_feed_partial.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/_feed_partial.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/_feed_partial.html')
-rw-r--r--templates/_feed_partial.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/_feed_partial.html b/templates/_feed_partial.html
new file mode 100644
index 0000000..e22cdde
--- /dev/null
+++ b/templates/_feed_partial.html
@@ -0,0 +1,14 @@
+{% if active_shelf == 'diary' and grouped_films %}
+ {% for group in grouped_films %}
+ <div class="month-group" data-month="{{ group.month }}">
+ <p class="month-label">{{ group.month }}</p>
+ {% for film in group.films %}
+ {% include "_film_card.html" %}
+ {% endfor %}
+ </div>
+ {% endfor %}
+{% else %}
+ {% for film in films %}
+ {% include "_film_card.html" %}
+ {% endfor %}
+{% endif %}