+ {% block content %}
+ {% endblock %}
+
+
+ diff --git a/app.py b/app.py index 4778789..78953a9 100644 --- a/app.py +++ b/app.py @@ -1,12 +1,8 @@ -from flask import Flask +from flask import Flask, render_template app = Flask(__name__) + @app.route("/") def hello_world(): - return "
Hello, World!
" - - -@app.route("/test") -def test_route(): - return "Hello, test!
" \ No newline at end of file + return render_template('index.html', name='peter') diff --git a/templates/add_workout.html b/templates/add_workout.html new file mode 100644 index 0000000..cc9c18d --- /dev/null +++ b/templates/add_workout.html @@ -0,0 +1,56 @@ +{% extends 'base.html' %} + +{% block content %} + +| + Date + | ++ Exercise + | + ++ Reps + | ++ Weight + | +
|---|---|---|---|
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Exercise + | ++ Date + | ++ Reps + | ++ Weight + | +
|---|---|---|---|
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +
| + Apr 23 ,2021 + | ++ Squats + | ++ 5 + | ++ 100kg + | +