{% extends "base_qua.html" %} {% block css %} body { background: #E4F6D5 !important; color: #000; } @page { /* margin: 1cm 1cm 1cm 1cm; */ background: #E4F6D5 !important; margin: 50px; @bottom-center { content: "Page " counter(page) " of " counter(pages); font-family: sans-serif; font-size: 0.8em; } @bottom-right { content: element(footer); position: absolute; right: 0; top: 0; font-family: sans-serif; font-size: 1em; } } @page :first { background: #fff !important; margin: 50px; border-bottom: None; @bottom-center { content: normal; } } .footer { position: running(footer); /*margin-bottom:70px; padding-right: 20px; display: block;*/ text-align: center; color: #000; font-style: italic; font-weight: bold; } .s2_1{font-size:18px;font-family:Avenir-Roman_12;color:#5E6063;letter-spacing: 20px;} .s3_1{font-size:29px;font-weight: bold;font-style: italic; font-family:Lato-BlackItalic_13;color:#3C3D3A;-webkit-text-stroke:1.1px #3C3D3A;text-stroke:1.1px #3C3D3A;} .s4_1{font-size:52px;font-weight: bold;font-family:JosefinSans-Bold_1n;color:#77876A;} .s5_1{font-size:18px;font-weight: bold;font-family:Avenir-Roman_12;color:#5E6063;-webkit-text-stroke:0.7px #5E6063;text-stroke:0.7px #5E6063;letter-spacing: 15px;} /*h1 {font-size:52px !important;font-weight: bold;}*/ .big1 {font-size:40px !important;font-weight: bold;margin: 0; color: #3C3D3A} .big2 {font-size:28px !important;font-weight: bold;font-style: italic; margin: 10px; color: #77876A !important} table {width: 100%} th { font-size: 16px; font-family: JosefinSans-Bold_1n; color: #3C3D3A; } table.custom_table, .custom_table th, .custom_table td { backgroung: #fff; } {% endblock %} {% block body %}

Nutrition Results

{% endblock %} {% block outcometable %} {% for item in table2 %}

{{item['trait']}}

{{item['summary']}} {% for oc in item['all_outcomes'] %} {% set cleaned_oc = oc|remove_unwanted_chars %} {% if oc.endswith('_sss_') %} {%endif%} {{cleaned_oc.data}} {% if not loop.last %} {% endif %} {% endfor %} {% endfor %} {% endblock%} {% block recommendations %} {% endblock %}