Files
bio-performx/report_gen/page_3.html
T

84 lines
3.5 KiB
HTML

<div class="w-full page bg-white">
<!-- Header Section -->
<div class="bg-black text-white px-6 py-4 flex items-center justify-between">
<div class="flex items-center">
<div class="text-lg font-bold mr-2">ISHP</div>
<div class="w-6 h-4 bg-cyan-400 mr-8"></div>
</div>
<div class="flex space-x-8 text-sm">
<span>Name: {{ patient_name | default('Keirstyn Moran') }}</span>
<span>Age: {{ age | default('34') }}</span>
<span>Height: {{ height | default('5\'4"') }}</span>
<span>Weight: {{ weight | default('123lbs') }}</span>
<span>Focus: {{ focus | default('Endurance') }}</span>
</div>
</div>
<!-- Main Content -->
<div class="px-8 py-6">
<!-- Page Title -->
<h1 class="text-3xl font-bold text-black mb-6">Nutrition Guidelines</h1>
<!-- Section Title -->
<h2 class="text-xl font-bold text-black mb-2">Ultrasound & Body Composition Assessment</h2>
<p class="text-gray-700 text-sm mb-8">Designed to track and optimize exercise and diet. Its proven technology can accurately measure tissue structure and body composition.</p>
<!-- Body Composition Section -->
<div class="mb-8">
<h3 class="text-2xl font-bold text-center text-black mb-6">Body Composition</h3>
<!-- Body Composition Chart -->
<div class="flex justify-center mb-8">
<div class="relative">
<img src="{{ body_composition_chart}}"
alt="Body Composition Chart"
class="w-80 h-80 object-contain">
<!-- Chart Labels -->
<div class="absolute top-4 left-1/2 transform -translate-x-1/2 text-center">
<div class="text-lg font-semibold text-gray-700">Fat Mass ({{ fat_mass | default('27.6lbs') }})</div>
<div class="text-lg font-semibold text-gray-700">{{ fat_percentage | default('22.4%') }}</div>
</div>
<div class="absolute bottom-4 right-8 text-center">
<div class="text-lg font-semibold text-gray-700">Lean Mass ({{ lean_mass | default('95.4lbs') }})</div>
<div class="text-lg font-semibold text-gray-700">{{ lean_percentage | default('77.6%') }}</div>
</div>
</div>
</div>
<!-- Body Fat Percentage Section -->
<div class="mb-8">
<h4 class="text-xl font-bold text-center text-black mb-4">Body Fat Percent - {{ body_fat_percent | default('22.4%') }}</h4>
<!-- Body Fat Chart -->
<div class="flex justify-center">
<img src="{{ body_fat_chart}}"
alt="Body Fat Percentage Chart"
class="w-full max-w-2xl h-32 object-contain">
</div>
<!-- Age Range Label -->
<div class="flex justify-start mt-2 ml-8">
<span class="text-sm font-semibold text-gray-700">{{ age_range | default('20-39') }}</span>
<span class="text-sm text-gray-700 ml-1">({{ gender | default('F') }})</span>
</div>
</div>
</div>
</div>
<!-- Footer Section -->
<div class="absolute bottom-0 left-0 right-0 bg-black text-white px-6 py-3">
<div class="flex justify-between items-center text-sm">
<div class="flex space-x-8">
<span>CONTACT: {{ contact_email | default('info@ishplabs.com') }}</span>
<span>WEBSITE: {{ website | default('www.ishplabs.com') }}</span>
<span>SOCIAL: {{ social | default('@ishplabs') }}</span>
</div>
<div class="bg-white text-black font-bold px-3 py-1 text-lg">
{{ page_number | default('4') }}
</div>
</div>
</div>
</div>