deprecated jquery-svg, using jquery+inline SVG

This commit is contained in:
2013-02-12 22:34:25 -05:00
parent eb6b08b233
commit e96147b7ff
7 changed files with 183 additions and 156 deletions

View File

@@ -1,11 +1,14 @@
h3 Recent workouts:
ul
- recentworkouts.forEach(function(workout) {
li
a.map-link(href="/workouts/" + encodeURIComponent(workout._id))= workout._id
each element in workout.elements
li= element.exerciseID.name
ol
each split in element.splits
li Reps: #{split.reps} Weight: #{split.weight}
li.floatleft
span(class="floatleft")
a(class="map-link", href="/workouts/" + encodeURIComponent(workout._id))= workout._id
each element in workout.elements
p= element.exerciseID.name
ol
each split in element.splits
li Reps: #{split.reps} Weight: #{split.weight}
span(class="floatleft")
include ../../public/images/BlankBody.svg
- });