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

Daily Calorie Dashboard ({{ today }})

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