From cdd28b6c0a3a6444b9ae79b123fe4fa7401de5ab Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Thu, 14 May 2026 01:31:34 -0700 Subject: Refine Lumi layouts and public profile --- templates/_film_card.html | 112 +++++++++++++++++++++++++++++----------------- 1 file changed, 70 insertions(+), 42 deletions(-) (limited to 'templates/_film_card.html') diff --git a/templates/_film_card.html b/templates/_film_card.html index a4e206f..6723821 100644 --- a/templates/_film_card.html +++ b/templates/_film_card.html @@ -7,8 +7,8 @@ {% endif %}
-
-
+
+

{{ film.title }}

{% if film.year %}{{ film.year }}{% endif %} @@ -21,6 +21,55 @@ {% endif %}

+ +
+ {{ film.shelf|title }} + {% if film.date_watched %}{{ film.date_watched }}{% endif %} + {% if film.runtime %}{{ film.runtime }} min{% endif %} + {% if film.rewatch %}Rewatch{% if film.rewatch_count %} #{{ film.rewatch_count }}{% endif %}{% endif %} +
+ + {% if film.language or film.genre or film.context or film.how_found or film.watched_with %} +
+ {% if film.language %} +
+ Lang + {{ film.language }} +
+ {% endif %} + {% if film.genre %} +
+ Genre + {{ film.genre }} +
+ {% endif %} + {% if film.context %} +
+ Context + {{ film.context }} +
+ {% endif %} + {% if film.how_found %} +
+ Found + {{ film.how_found }} +
+ {% endif %} + {% if film.watched_with %} +
+ With + {{ film.watched_with }} +
+ {% endif %} +
+ {% endif %} + + {% if film.notes %} +

{{ film.notes[:220] }}{% if film.notes|length > 220 %}...{% endif %}

+ {% endif %} +
+ +
{% if film.shelf == 'diary' %}
{% for value in range(1, 4) %} @@ -36,48 +85,27 @@ {% elif film.stars %} {% for _ in range(film.stars) %}✦{% endfor %} {% endif %} -
- -
- {{ film.shelf|title }} - {% if film.date_watched %}{{ film.date_watched }}{% endif %} - {% if film.runtime %}{{ film.runtime }} min{% endif %} - {% if film.language %}{{ film.language }}{% endif %} - {% if film.rewatch %}Rewatch{% if film.rewatch_count %} #{{ film.rewatch_count }}{% endif %}{% endif %} -
- {% if film.genre or film.context or film.how_found or film.watched_with %} -
- {% if film.genre %}{{ film.genre }}{% endif %} - {% if film.context %}{{ film.context }}{% endif %} - {% if film.how_found %}{{ film.how_found }}{% endif %} - {% if film.watched_with %}With {{ film.watched_with }}{% endif %} +
+ {% if film.shelf == 'queue' %} + Mark watched +
+ +
+ {% elif film.shelf == 'diary' %} +
+ +
+
+ +
+ {% else %} + Mark watched +
+ +
+ {% endif %}
- {% endif %} - - {% if film.notes %} -

{{ film.notes[:220] }}{% if film.notes|length > 220 %}...{% endif %}

- {% endif %} - -
- {% if film.shelf == 'queue' %} - Mark watched -
- -
- {% elif film.shelf == 'diary' %} -
- -
-
- -
- {% else %} - Mark watched -
- -
- {% endif %}
-- cgit v1.3-2-g0d8e