Refactor code structure for improved readability and maintainability
This commit is contained in:
Binary file not shown.
+6
-6
@@ -44,11 +44,11 @@ page_5_context = {
|
|||||||
"fuel_source_chart": image_to_base64(
|
"fuel_source_chart": image_to_base64(
|
||||||
"/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/fuel_source_chart.png"
|
"/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/fuel_source_chart.png"
|
||||||
),
|
),
|
||||||
"resting_calories": 1540,
|
"resting_calories": 1385,
|
||||||
"neat_calories": 310,
|
"neat_calories": "null",
|
||||||
"weight_loss_calories": 1725,
|
"weight_loss_calories": "null",
|
||||||
"weight_loss_rate": "1lb/week",
|
"weight_loss_rate": "1lb/week",
|
||||||
"total_calories": 3575,
|
"total_calories": "null",
|
||||||
}
|
}
|
||||||
|
|
||||||
page_6_context = {
|
page_6_context = {
|
||||||
@@ -108,8 +108,8 @@ page_8_context = {
|
|||||||
"zone1_bpm": "81-96bpm",
|
"zone1_bpm": "81-96bpm",
|
||||||
"zone2_bpm": "96-100bpm",
|
"zone2_bpm": "96-100bpm",
|
||||||
"zone3_bpm": "100-178bpm",
|
"zone3_bpm": "100-178bpm",
|
||||||
"zone4_bpm": "178-188bpm",
|
"zone4_bpm": "178-189bpm",
|
||||||
"zone5_bpm": "188-198bpm",
|
"zone5_bpm": "189-199bpm",
|
||||||
"zone1_speed": "3.5mph",
|
"zone1_speed": "3.5mph",
|
||||||
"zone2_speed": "3.5-4.0mph",
|
"zone2_speed": "3.5-4.0mph",
|
||||||
"zone3_speed": "4.0-6.5mph",
|
"zone3_speed": "4.0-6.5mph",
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 262 KiB After Width: | Height: | Size: 291 KiB |
Binary file not shown.
+4
-4
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user