From ed1823168fb6f3256bcd7397b4d4de462a3f1781 Mon Sep 17 00:00:00 2001 From: stilbruch Date: Wed, 6 Apr 2022 14:17:40 -0500 Subject: Exercises are now properly stored in the database --- app/templates/home.html | 78 +++++++++++++-------------------------- app/templates/workout/manage.html | 6 +++ 2 files changed, 31 insertions(+), 53 deletions(-) create mode 100644 app/templates/workout/manage.html (limited to 'app/templates') diff --git a/app/templates/home.html b/app/templates/home.html index fb47a68..693e03b 100644 --- a/app/templates/home.html +++ b/app/templates/home.html @@ -10,7 +10,7 @@ Hello, {{ current_user.username }}.

- %subtitle% + Welcome Back

@@ -45,6 +45,30 @@
+
+
+
+

+ My Workouts +

+
+
+
+ + + {% for workout in current_user.workouts %} + + + + + + {% endfor %} + +
{{ workout.name }}{{ workout.exercises.count() }} exercisesEdit
+
+
+
+
@@ -80,58 +104,6 @@
-
-
-
-

- Inventory Search -

- - - - - -
-
-
-
- - - - - - - -
-
-
-
-
-
-

- User Search -

- - - - - -
-
-
-
- - - - - - - -
-
-
-
-
diff --git a/app/templates/workout/manage.html b/app/templates/workout/manage.html new file mode 100644 index 0000000..95f03f5 --- /dev/null +++ b/app/templates/workout/manage.html @@ -0,0 +1,6 @@ +{% extends 'base/layout.html' %} + +{% block content %} +
+
+{% endblock %} -- cgit v1.2.3