summaryrefslogtreecommitdiff
path: root/templates/index.html
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2026-05-15 01:50:15 -0700
committerTyler Hoang <tyler@tylerhoang.xyz>2026-05-15 01:50:15 -0700
commit20c1d02b40bcb9abb5882d0503e596c82e9819bb (patch)
treea2e8918b7f742b23a580daff7f844c576f31c33d /templates/index.html
parent19f2fc05387ed0d7ad5f5fcb2fa92573ece1eae0 (diff)
Refine Lumi stats and detail UX
Diffstat (limited to 'templates/index.html')
-rw-r--r--templates/index.html10
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/index.html b/templates/index.html
index 7e74c07..5820cf4 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -10,9 +10,13 @@
<p class="shelf-hero-text">{{ shelf_meta.empty_text }}</p>
</div>
<div class="shelf-hero-meta">
- <div class="shelf-stat">
- <span class="summary-label">Entries</span>
- <strong>{{ total_films or 0 }}</strong>
+ <div class="shelf-hero-stats">
+ {% for stat in shelf_snapshot %}
+ <div class="shelf-stat">
+ <span class="summary-label">{{ stat.label }}</span>
+ <strong>{{ stat.value }}</strong>
+ </div>
+ {% endfor %}
</div>
{% if active_shelf == 'queue' %}
<a class="button-link" href="/queue/random">Surprise me</a>