Add static forms on settings page to add new users/exercises

This commit is contained in:
Peter Stockings
2022-09-15 22:01:21 +10:00
parent d6ce0b061f
commit c4ee668d64
3 changed files with 231 additions and 18 deletions

6
app.py
View File

@@ -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():