{% extends "base.html" %} {% set active_nav = "timeline" %} {% block title %}Drinking Window Timeline — Cellarbrain Explorer{% endblock %} {% block page_title %}Drinking Window Timeline{% endblock %} {% block content %} {% if rows %}

{{ count }} stored wine{{ '' if count == 1 else 's' }} with a defined drinking window. Each bar runs from drink_from to drink_until; the inner darker band is the optimal range. The vertical line marks today.

Show table view
{% for r in rows %} {% endfor %}
WineVintageProducerStatus DrinkOptimalStock
{{ r.wine_name }} {{ r.vintage or "—" }} {{ r.winery_name or "—" }} {{ r.drinking_status or "—" }} {{ r.drink_from }}–{{ r.drink_until }} {{ r.optimal_from or "?" }}–{{ r.optimal_until or "?" }} {{ r.bottles_stored }}
{% else %}

No wines have a defined drinking window with stored stock.

{% endif %} {% endblock %} {% block scripts %} {% if rows %} {% endif %} {% endblock %}