mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
44 lines
1.2 KiB
Plaintext
44 lines
1.2 KiB
Plaintext
//extends ../layout
|
|
//block content
|
|
h1 New workout
|
|
|
|
h3 Exercises (dynamically loaded from database)
|
|
ul#exerciselist
|
|
li Unpopulated
|
|
|
|
div#filters
|
|
h3 Filters
|
|
label Free Weights
|
|
input.filter(type="checkbox", checked=true, value="Free Weights")
|
|
label Bodyweight
|
|
input.filter(type="checkbox", checked=true, value="Bodyweight")
|
|
label Exercise Machines
|
|
input.filter(type="checkbox", checked=true, value='Exercise Machine')
|
|
label Kettlebells
|
|
input.filter(type="checkbox", checked=true, value='Kettlebells')
|
|
label Cardio
|
|
input.filter(type="checkbox", checked=true, value='Cardio')
|
|
|
|
//button#addExercise(type="button") Add Exercise
|
|
hr
|
|
|
|
form#newworkout(method="POST", action="/workouts")
|
|
ul
|
|
li
|
|
label(for="title", value="UserID") UserID
|
|
input#title(name="userID", value=session.user._id)
|
|
li
|
|
label(for="datepicker", value="Date") workoutDate
|
|
input.datepicker(name="workoutDate")
|
|
li
|
|
label(for="timepicker", value="Time") workoutTime
|
|
select(name="workoutTime")
|
|
option(value='0100') 1 AM
|
|
option(value='0130') 1:30 AM
|
|
option(value='0200') 2 AM
|
|
|
|
ul#exercises
|
|
|
|
|
|
button(type="submit", value="Save") Save
|