From 64c1400465874a40a4ade6eae40b01746b259c48 Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Thu, 26 Dec 2024 17:55:43 +1100 Subject: [PATCH] Include graphs into tabbed section --- app/templates/dashboard.html | 151 ++++++++++++++++------------------- 1 file changed, 68 insertions(+), 83 deletions(-) diff --git a/app/templates/dashboard.html b/app/templates/dashboard.html index 7e63b0f..9e30ffb 100644 --- a/app/templates/dashboard.html +++ b/app/templates/dashboard.html @@ -42,89 +42,6 @@ - -
- -
-

Graphs

- -
- - -
- -
-

Blood Pressure (mmHg)

- - - - - - - {% for value in range(50, 201, 50) %} - {{ value }} - {% endfor %} - - - {% for i in range(timestamps|length) %} - {{ timestamps[i] }} - {% endfor %} - - - - - - - - - - Blood - Pressure (mmHg) - Date - -
- - -
-

Heart Rate (bpm)

- - - - - - - {% for value in range(50, 201, 50) %} - {{ value }} - {% endfor %} - - - {% for i in range(timestamps|length) %} - {{ timestamps[i] }} - {% endfor %} - - - - - - Heart Rate - (bpm) - Date - -
-
-
-
@@ -174,6 +91,8 @@ class="px-4 py-2 text-sm font-medium border-b-2">Weekly View +
@@ -315,6 +234,72 @@ + +
+ +
+

Blood Pressure (mmHg)

+ + + + + + + {% for value in range(50, 201, 50) %} + {{ value }} + {% endfor %} + + + {% for i in range(timestamps|length) %} + {{ timestamps[i] }} + {% endfor %} + + + + + + + + + + Blood + Pressure (mmHg) + Date + +
+ + +
+

Heart Rate (bpm)

+ + + + + + + {% for value in range(50, 201, 50) %} + {{ value }} + {% endfor %} + + + {% for i in range(timestamps|length) %} + {{ timestamps[i] }} + {% endfor %} + + + + + + Heart Rate + (bpm) + Date + +
+
+