Refactor code structure for improved readability and maintainability
This commit is contained in:
+6
-6
@@ -44,11 +44,11 @@ page_5_context = {
|
||||
"fuel_source_chart": image_to_base64(
|
||||
"/home/oluwasanmi/Documents/Work/MKD/report_generation/graphs/fuel_source_chart.png"
|
||||
),
|
||||
"resting_calories": 1540,
|
||||
"neat_calories": 310,
|
||||
"weight_loss_calories": 1725,
|
||||
"resting_calories": 1385,
|
||||
"neat_calories": "null",
|
||||
"weight_loss_calories": "null",
|
||||
"weight_loss_rate": "1lb/week",
|
||||
"total_calories": 3575,
|
||||
"total_calories": "null",
|
||||
}
|
||||
|
||||
page_6_context = {
|
||||
@@ -108,8 +108,8 @@ page_8_context = {
|
||||
"zone1_bpm": "81-96bpm",
|
||||
"zone2_bpm": "96-100bpm",
|
||||
"zone3_bpm": "100-178bpm",
|
||||
"zone4_bpm": "178-188bpm",
|
||||
"zone5_bpm": "188-198bpm",
|
||||
"zone4_bpm": "178-189bpm",
|
||||
"zone5_bpm": "189-199bpm",
|
||||
"zone1_speed": "3.5mph",
|
||||
"zone2_speed": "3.5-4.0mph",
|
||||
"zone3_speed": "4.0-6.5mph",
|
||||
|
||||
Reference in New Issue
Block a user