diff --git a/main.py b/main.py index 06c36be..8b1e58e 100644 --- a/main.py +++ b/main.py @@ -15,16 +15,21 @@ header_context = { "focus": "Endurance", } -footer_context = [{ - "contact_email": "info@ishplabs.com ", - "website": "www.ishplabs.com", - "social": "@ishplabs", - "page_number": i + 1, -} for i in range(len(context_list))] +footer_context = [ + { + "contact_email": "info@ishplabs.com ", + "website": "www.ishplabs.com", + "social": "@ishplabs", + "page_number": i + 1, + } + for i in range(len(context_list)) +] header_html = env.get_template("header.html").render(header_context) -footer_html_list = [env.get_template("footer.html").render(context) for context in footer_context] +footer_html_list = [ + env.get_template("footer.html").render(context) for context in footer_context +] for i, context in enumerate(context_list): template = env.get_template(f"page_{i + 1}.html").render(context) @@ -84,6 +89,10 @@ html_doc = f""" max-height: 200px; object-fit: contain; }} + /* Larger images for specific charts */ + .chart-large {{ + max-height: 500px !important; + }} diff --git a/multi_page_report.pdf b/multi_page_report.pdf index fa73b85..f0e99dc 100644 Binary files a/multi_page_report.pdf and b/multi_page_report.pdf differ diff --git a/report_gen/page_18.html b/report_gen/page_18.html index 410985d..1001d1e 100644 --- a/report_gen/page_18.html +++ b/report_gen/page_18.html @@ -25,11 +25,13 @@
-

Body Fat Percent Master Chart

+

+ Body Fat Percent Master Chart +

Body Fat Percentage
diff --git a/report_gen/page_9.html b/report_gen/page_9.html index 12850de..01ba125 100644 --- a/report_gen/page_9.html +++ b/report_gen/page_9.html @@ -1,21 +1,21 @@
+ +
+ +
+ Fuel Utilization Report - Institute of Science, Health and Performance +
- -
- -
- Fuel Utilization Report - Institute of Science, Health and Performance + +
+

+ Client: {{ client_name | default('Keirstyn Moran') }} | + Assessment Date: {{ assessment_date | default('July 29 2025') }} +

+
- - -
-

- Client: {{ client_name | default('Keirstyn Moran') }} | - Assessment Date: {{ assessment_date | default('July 29 2025') }} -

-
-
-