{% extends "base.html" %} {% block content %}
| Food Item | Serving | Cal | Protein | Carbs | Fat | Fiber | Sodium |
|---|---|---|---|---|---|---|---|
|
{{ meal_food.food.name }}
|
{{ meal_food.quantity }} × {{ meal_food.food.serving_size }}{{ meal_food.food.serving_unit }}
|
{{ "%.0f"|format(meal_food.food.calories * meal_food.quantity) }} | {{ "%.1f"|format(meal_food.food.protein * meal_food.quantity) }}g | {{ "%.1f"|format(meal_food.food.carbs * meal_food.quantity) }}g | {{ "%.1f"|format(meal_food.food.fat * meal_food.quantity) }}g | {{ "%.1f"|format((meal_food.food.fiber or 0) * meal_food.quantity) }}g | {{ "%.0f"|format((meal_food.food.sodium or 0) * meal_food.quantity) }}mg |
| Meal Totals | - | {{ "%.0f"|format(meal_detail.nutrition.calories) }} |
{{ "%.1f"|format(meal_detail.nutrition.protein) }}g
({{ meal_detail.nutrition.protein_pct or 0 }}%)
|
{{ "%.1f"|format(meal_detail.nutrition.carbs) }}g
({{ meal_detail.nutrition.carbs_pct or 0 }}%)
|
{{ "%.1f"|format(meal_detail.nutrition.fat) }}g
({{ meal_detail.nutrition.fat_pct or 0 }}%)
|
{{ "%.1f"|format(meal_detail.nutrition.fiber) }}g | {{ "%.0f"|format(meal_detail.nutrition.sodium) }}mg |
| Calories | Protein | Carbs | Fat | Fiber | Net Carbs | Sodium | Calcium |
|---|---|---|---|---|---|---|---|
|
{{ "%.0f"|format(day_totals.calories) }}
|
{{ "%.1f"|format(day_totals.protein) }}g
({{ day_totals.protein_pct or 0 }}%)
|
{{ "%.1f"|format(day_totals.carbs) }}g
({{ day_totals.carbs_pct or 0 }}%)
|
{{ "%.1f"|format(day_totals.fat) }}g
({{ day_totals.fat_pct or 0 }}%)
|
{{ "%.1f"|format(day_totals.fiber) }}g | {{ "%.1f"|format(day_totals.net_carbs or 0) }}g | {{ "%.0f"|format(day_totals.sodium) }}mg | {{ "%.0f"|format(day_totals.calcium) }}mg |