{% extends 'base.html' %} {% block title %}Daily Calorie Dashboard{% endblock %} {% block content %}

Daily Calorie Dashboard ({{ today }})

Macros
{% for macro in macros %}
{{ macro.name }}: {{ macro.current }} / {{ macro.target }}
{{ (macro.current - macro.target) }}{{ macro.unit }}
{{ min(macro.current, macro.target) }}{{ macro.unit }}
{% endfor %}
Items Eaten Today
{% for log in logs %}
({{ log.amount }}g) {{ log.food_item.name }} {{ log.food_item.energy_100 * log.amount / 100 }} kcal
{% endfor %}
‹ Previous + Add Item Next ›
{% endblock %}