diff options
| author | stilbruch <stilbruch@protonail.com> | 2022-04-06 19:11:30 -0500 |
|---|---|---|
| committer | stilbruch <stilbruch@protonail.com> | 2022-04-06 19:11:30 -0500 |
| commit | 05d7b80e092f9a3699fedfb08b85812d57cef0e8 (patch) | |
| tree | c431ed2797d437fc910a7f0f8bbec107394d8576 /app | |
| parent | 0ff4b0d4fdbadef3d1dcc5320e28d2026fd68a65 (diff) | |
| download | Strengthy-05d7b80e092f9a3699fedfb08b85812d57cef0e8.tar.xz Strengthy-05d7b80e092f9a3699fedfb08b85812d57cef0e8.zip | |
Start record workout
Diffstat (limited to 'app')
| -rw-r--r-- | app/routes.py | 5 | ||||
| -rw-r--r-- | app/templates/base/layout.html | 2 | ||||
| -rw-r--r-- | app/templates/workout/record.html | 37 |
3 files changed, 43 insertions, 1 deletions
diff --git a/app/routes.py b/app/routes.py index 17d8f4e..7ee3986 100644 --- a/app/routes.py +++ b/app/routes.py @@ -111,3 +111,8 @@ def editWorkout(): form.exercises.append_entry(exercise) return render_template('workout/create.html', form=form, title=f'Edit Workout "{workout.name}"') + +@app.route("/workout/record", methods=['GET']) +@login_required +def recordWorkout(): + return render_template('workout/record.html') diff --git a/app/templates/base/layout.html b/app/templates/base/layout.html index 33f61d1..89ad385 100644 --- a/app/templates/base/layout.html +++ b/app/templates/base/layout.html @@ -47,7 +47,7 @@ </span> <span class="navbar-item"> - <a class="button is-white is-outlined" href="/workout/create"> + <a class="button is-white is-outlined" href="/workout/record"> <span class="icon"> <i class="fa fa-pencil"></i> </span> diff --git a/app/templates/workout/record.html b/app/templates/workout/record.html new file mode 100644 index 0000000..1a544fc --- /dev/null +++ b/app/templates/workout/record.html @@ -0,0 +1,37 @@ +{% extends 'base/layout.html' %} + +{% block content %} + +<div class="continer"> + <div class="columns is-centered"> + <div class="column"> + <h1 class="title is-2">Leg Day</h1> + <div class="box"> + <div class="tabs is-fullwidth"> + <ul> + <li> + <a> + <span class="icon"><i class="fas fa-angle-left" aria-hidden="true"></i></span> + <span>Left</span> + </a> + </li> + <li> + <a> + <span class="icon"><i class="fas fa-angle-up" aria-hidden="true"></i></span> + <span>Up</span> + </a> + </li> + <li> + <a> + <span>Right</span> + <span class="icon"><i class="fas fa-angle-right" aria-hidden="true"></i></span> + </a> + </li> + </ul> + </div> + </div> + </div> + </div> +</div> + +{% endblock %} |
