1ae1ec2369
- Created requirements.txt with a comprehensive list of dependencies. - Added tailwindconfig.js for Tailwind CSS configuration. - Introduced truth_report.html with structured content and Tailwind CSS styling for a visually appealing layout.
68 lines
2.5 KiB
HTML
68 lines
2.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="data:image/png;base64, {{ body_composition_chart}}"
|
|
alt="Body Composition Chart"
|
|
class="w-80 h-80 object-contain">
|
|
|
|
<!-- Chart Labels -->
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Body Fat Percentage Section -->
|
|
<div class="mb-8">
|
|
|
|
<!-- Body Fat Chart -->
|
|
<div class="flex justify-center">
|
|
<img src="data:image/png;base64, {{ body_fat_chart }}"
|
|
alt="Body Fat Percentage Chart" >
|
|
</div>
|
|
|
|
<!-- Age Range Label -->
|
|
</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>
|