From eff104b1e2840ad40131e7ab811448a34a896f9f Mon Sep 17 00:00:00 2001 From: FivePixels Date: Sat, 23 Apr 2022 17:48:40 -0500 Subject: Begin logic on record.js for enter to tab handling, remove skip exercise button from record page. Add info about workout in card on select page, update edit to use units if they exist on an existing workout --- app/templates/workout/record.html | 1 - app/templates/workout/select.html | 21 ++++++++++++--------- 2 files changed, 12 insertions(+), 10 deletions(-) (limited to 'app/templates/workout') diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html index 94fe611..d1662e3 100644 --- a/app/templates/workout/record.html +++ b/app/templates/workout/record.html @@ -37,7 +37,6 @@ Add Set - Skip
diff --git a/app/templates/workout/select.html b/app/templates/workout/select.html index c01a4f8..7109c70 100644 --- a/app/templates/workout/select.html +++ b/app/templates/workout/select.html @@ -4,18 +4,21 @@
{% for workout in current_user.workouts %} -
-
-
-

{{ workout.name }}

-
-
-
- Start -
+
+
+
+

{{ workout.name }}

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

{{ exercise.sets }} x {{ exercise.units }} x {{ exercise.name }}

+ {% endfor %} + Start
+
{% endfor %}
-- cgit v1.2.3