From fcc687b97d0acb878d2167a2ef47939b8bc47598 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Sat, 23 Apr 2022 12:38:19 -0500 Subject: Add select page (it sucks) --- app/templates/workout/record.html | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) (limited to 'app/templates/workout/record.html') diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html index 1a544fc..bc6b695 100644 --- a/app/templates/workout/record.html +++ b/app/templates/workout/record.html @@ -5,32 +5,8 @@
-

Leg Day

-
- -
-
+ +
-- cgit v1.2.3 From 5d08424481a8a6ae1b69c96a6ee43394d9aa8963 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Sat, 23 Apr 2022 13:24:57 -0500 Subject: Start workout record page --- app/templates/workout/record.html | 45 +++++++++++++++++++++++++++++++++++---- 1 file changed, 41 insertions(+), 4 deletions(-) (limited to 'app/templates/workout/record.html') diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html index bc6b695..6463fe4 100644 --- a/app/templates/workout/record.html +++ b/app/templates/workout/record.html @@ -1,12 +1,49 @@ {% extends 'base/layout.html' %} {% block content %} - -
+
- -
+

Record {{ workout.name }}

+
+ {% for exercise in workout.exercises %} +

{{ exercise.name }}

+
+
+
+ +
+ +
+
+
+ +
+ +
+
+ + +

+ + + +

+
+
+ +
+ + +
+ {% endfor %} +
+
-- cgit v1.2.3 From 404bba9d518271533d5e4c83dabd8541726bf248 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Sat, 23 Apr 2022 14:15:35 -0500 Subject: Move routes into seperate folder --- app/templates/workout/record.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'app/templates/workout/record.html') diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html index 6463fe4..0908ef8 100644 --- a/app/templates/workout/record.html +++ b/app/templates/workout/record.html @@ -22,13 +22,12 @@
- - -

+ +

@@ -47,4 +46,6 @@ + + {% endblock %} -- cgit v1.2.3 From 3d0202b4faaef7ff0900bcfefca4c88907a2b6d4 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Sat, 23 Apr 2022 15:08:27 -0500 Subject: Update record workout page --- app/templates/workout/record.html | 64 ++++++++++++++++++++------------------- 1 file changed, 33 insertions(+), 31 deletions(-) (limited to 'app/templates/workout/record.html') diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html index 0908ef8..3dfb2c8 100644 --- a/app/templates/workout/record.html +++ b/app/templates/workout/record.html @@ -7,39 +7,41 @@

Record {{ workout.name }}

{% for exercise in workout.exercises %} -

{{ exercise.name }}

-
-
-
- -
- -
-
-
- -
- -
-
- - -
-
- +

{{ exercise.name }}

+ + + + + + + + + {% for i in range(exercise.sets) %} + + + + + + + {% endfor %} + +
SetlbsRepsDone
{{ i }} + +
- - + +
+
{% endfor %}
-- cgit v1.2.3 From 4f1e55112138a1f3b4be3bf23e3740ae3effac35 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Sat, 23 Apr 2022 15:48:45 -0500 Subject: Add javascript to add sets while recording workout --- app/templates/workout/record.html | 83 ++++++++++++++++++--------------------- 1 file changed, 39 insertions(+), 44 deletions(-) (limited to 'app/templates/workout/record.html') diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html index 3dfb2c8..94fe611 100644 --- a/app/templates/workout/record.html +++ b/app/templates/workout/record.html @@ -1,52 +1,47 @@ -{% extends 'base/layout.html' %} +{% extends 'base/form.html' %} -{% block content %} -
-
-
-

Record {{ workout.name }}

-
- {% for exercise in workout.exercises %} -

{{ exercise.name }}

- - - - - - - - - {% for i in range(exercise.sets) %} - - - - - - - {% endfor %} - -
SetlbsRepsDone
{{ i }} - -
-
-