From e708bec6cd76c2686de4158dde4d04f72a3c300d Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Wed, 6 May 2026 12:21:26 -0700 Subject: init: lumiere film diary --- templates/index.html | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 templates/index.html (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..52c633f --- /dev/null +++ b/templates/index.html @@ -0,0 +1,64 @@ +{% extends "base.html" %} + +{% block title %}{{ shelf_meta.title }} · Lumière{% endblock %} + +{% block content %} +
+

{{ shelf_meta.eyebrow }}

+
+

{{ shelf_meta.title }}

+ {% if active_shelf == 'queue' %} + Surprise me + {% endif %} +
+
+ + {% if imported is not none %} +
{{ imported }} entries imported.
+ {% endif %} + + {% if skipped is not none and skipped %} +
{{ skipped }} duplicate entries skipped.
+ {% endif %} + + {% if cleared is not none %} +
{{ cleared }} entries cleared.
+ {% endif %} + + {% if deduped is not none %} +
{{ deduped }} duplicate entries removed.
+ {% endif %} + + {% if empty_queue is not none %} +
The queue is empty. Add a film to get a random pick.
+ {% endif %} + + {% if enriched is not none %} +
{{ enriched }} entries enriched from TMDB.
+ {% endif %} + + {% if films %} +
+ {% if active_shelf == 'diary' and grouped_films %} + {% for group in grouped_films %} +
+

{{ group.month }}

+ {% for film in group.films %} + {% include "_film_card.html" %} + {% endfor %} +
+ {% endfor %} + {% else %} + {% for film in films %} + {% include "_film_card.html" %} + {% endfor %} + {% endif %} +
+ {% else %} +
+

{{ shelf_meta.empty_title }}

+

{{ shelf_meta.empty_text }}

+ Add Film +
+ {% endif %} +{% endblock %} -- cgit v1.3-2-g0d8e