mirror of
https://github.com/bodyrep/DemoApp.git
synced 2025-12-06 06:01:48 +00:00
15 lines
719 B
Plaintext
15 lines
719 B
Plaintext
h3 Recent workouts:
|
|
ul
|
|
- recentworkouts.forEach(function(workout) {
|
|
li.floatleft
|
|
span(class="floatleft workoutentry")
|
|
a(class="map-link", href="/workouts/" + encodeURIComponent(workout._id))= workout.PrettyDate
|
|
each element in workout.elements
|
|
p(class="workoutelement", data-musclearray=element.exerciseID.musclearray)= element.exerciseID.name
|
|
ol
|
|
each split in element.splits
|
|
li Reps: #{split.reps} Weight: #{split.weight}
|
|
span(class="floatleft SVGBODY")
|
|
//include ../../public/images/BlankBody.svg
|
|
span(class="clearright")
|
|
- }); |