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 ++--------------------------
app/templates/workout/select.html | 23 +++++++++++++++++++++++
2 files changed, 25 insertions(+), 26 deletions(-)
create mode 100644 app/templates/workout/select.html
(limited to 'app/templates')
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 @@
diff --git a/app/templates/workout/select.html b/app/templates/workout/select.html
new file mode 100644
index 0000000..c01a4f8
--- /dev/null
+++ b/app/templates/workout/select.html
@@ -0,0 +1,23 @@
+{% extends 'base/layout.html' %}
+
+{% block content %}
+
+
+ {% for workout in current_user.workouts %}
+
+ {% endfor %}
+
+
+
+{% endblock %}
--
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')
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')
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 316edff9e6b90ab310978c10adbeffa87d18e746 Mon Sep 17 00:00:00 2001
From: stilbruch
Date: Sat, 23 Apr 2022 14:26:59 -0500
Subject: Fix workout deleting option
---
app/templates/home.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'app/templates')
diff --git a/app/templates/home.html b/app/templates/home.html
index 9f8dfe9..c9aa90d 100644
--- a/app/templates/home.html
+++ b/app/templates/home.html
@@ -79,7 +79,7 @@
--
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/base/layout.html | 2 +-
app/templates/workout/record.html | 64 ++++++++++++++++++++-------------------
2 files changed, 34 insertions(+), 32 deletions(-)
(limited to 'app/templates')
diff --git a/app/templates/base/layout.html b/app/templates/base/layout.html
index 89ad385..fe83440 100644
--- a/app/templates/base/layout.html
+++ b/app/templates/base/layout.html
@@ -47,7 +47,7 @@
-
+
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 }}
+
-
-
+
+
+
{% 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/base/form.html | 2 +-
app/templates/workout/record.html | 83 ++++++++++++++++++---------------------
2 files changed, 40 insertions(+), 45 deletions(-)
(limited to 'app/templates')
diff --git a/app/templates/base/form.html b/app/templates/base/form.html
index 72083ae..9f356e0 100644
--- a/app/templates/base/form.html
+++ b/app/templates/base/form.html
@@ -4,7 +4,7 @@
-
{{ title }}
+
{% block title %}{% endblock %}
{% with messages = get_flashed_messages(with_categories=true) %}
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 }}
-
-