mirror of
https://github.com/bodyrep/DemoApp.git
synced 2026-01-25 14:43:00 +00:00
started moving content to corretn divs
This commit is contained in:
@@ -1,45 +1,43 @@
|
||||
extends ../layout
|
||||
//extends ../layout
|
||||
//block content
|
||||
h1 New workout
|
||||
|
||||
block additionalscripts
|
||||
script(src='/javascripts/workout.js')
|
||||
h3 Exercises (dynamically loaded from database)
|
||||
ul#exerciselist
|
||||
li Unpopulated
|
||||
|
||||
block content
|
||||
h1 New workout
|
||||
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')
|
||||
|
||||
h3 Exercises (dynamically loaded from database)
|
||||
ul#exerciselist
|
||||
//button#addExercise(type="button") Add Exercise
|
||||
hr
|
||||
|
||||
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')
|
||||
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
|
||||
|
||||
//button#addExercise(type="button") Add Exercise
|
||||
hr
|
||||
ul#exercises
|
||||
|
||||
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
|
||||
button(type="submit", value="Save") Save
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
extends ../layout
|
||||
|
||||
|
||||
|
||||
block content
|
||||
h1= workout.title
|
||||
|
||||
|
||||
Reference in New Issue
Block a user