diff --git a/app.py b/app.py index a07fe1e..b946972 100644 --- a/app.py +++ b/app.py @@ -91,6 +91,12 @@ def delete_topset(person_id, workout_id, topset_id): return redirect(url_for('get_workout', person_id=person_id, workout_id=workout_id)) +@ app.route("/settings") +@ swag_from('swagger/dashboard.yml') +def settings(): + return render_template('settings.html') + + @ app.context_processor def my_utility_processor(): diff --git a/templates/base.html b/templates/base.html index c7f1af0..239f608 100644 --- a/templates/base.html +++ b/templates/base.html @@ -71,18 +71,18 @@
+
diff --git a/templates/settings.html b/templates/settings.html new file mode 100644 index 0000000..14123ee --- /dev/null +++ b/templates/settings.html @@ -0,0 +1,207 @@ +{% extends 'base.html' %} + +{% block content %} + +
+
+
+
+

Users

+
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + +
+ # + + Name + +
+ 1 + + Gabe + + + Remove + +
+ 2 + + Michael + + + Remove + +
+
+
+
+
+ +
+
+
+ + +
+ +
+ +
+
+
+
+ +
+
+
+

Exercises

+
+
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
+ # + + Name + +
+ 1 + + Squat + + + Remove + +
+ 1 + + Deadlift + + + Remove + +
+ 1 + + Bench + + + Remove + +
+
+
+
+
+ +
+
+
+ + +
+ +
+ +
+
+
+ +
+
+ + +{% endblock %} \ No newline at end of file