From 20c1d02b40bcb9abb5882d0503e596c82e9819bb Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Fri, 15 May 2026 01:50:15 -0700 Subject: Refine Lumi stats and detail UX --- templates/detail.html | 82 ++++++++++++++++++++++++++++++++------------------- 1 file changed, 51 insertions(+), 31 deletions(-) (limited to 'templates/detail.html') diff --git a/templates/detail.html b/templates/detail.html index f51372d..94612d7 100644 --- a/templates/detail.html +++ b/templates/detail.html @@ -27,7 +27,7 @@
-

{{ film.shelf|title }} Entry

+

Back to {{ film.shelf|title }}

{{ film.title }}

{% if film.original_title %}

{{ film.original_title }}

@@ -66,31 +66,51 @@
{% 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.stars %}{% for _ in range(film.stars) %}✦{% endfor %}{% endif %} +
- Edit - {% if film.shelf == 'queue' %} - Mark watched -
- -
- {% elif film.shelf == 'diary' %} -
- -
-
- -
- {% else %} - Mark watched -
- +
+ {% if film.shelf == 'queue' %} + Mark watched + {% elif film.shelf == 'abandoned' %} + Mark watched + {% else %} + Edit entry + {% endif %} +
+
+ {% if film.shelf != 'diary' %} + Edit + {% endif %} + {% if film.shelf == 'queue' %} + + + + {% elif film.shelf == 'diary' %} +
+ +
+
+ +
+ {% else %} +
+ +
+ {% endif %} +
+
+
+
- {% endif %} -
- -
+
@@ -191,6 +211,15 @@
+
+

Notes

+ {% if film.notes %} +
{{ film.notes }}
+ {% else %} +

No notes saved.

+ {% endif %} +
+ {% if tmdb_context %}

Summary

@@ -209,15 +238,6 @@
{% endif %} -
-

Notes

- {% if film.notes %} -
{{ film.notes }}
- {% else %} -

No notes saved.

- {% endif %} -
- {% if rewatch_history|length > 1 %}

Rewatches

-- cgit v1.3-2-g0d8e