open-health/client/General/Workouts/Workoutdata/workoutdata.html

45 lines
No EOL
1.7 KiB
HTML

<template name="workoutData">
<h1>Workouts</h1>
<ul class="collection">
<li class="collection-header">Last Workout</li>
<li class="collection-item">
<table class="striped">
<thead>
<tr>
<th>Exercise</th>
<th>Weight</th>
<th>Sets</th>
</tr>
</thead>
<tbody>
{{#each lastWorkout}}
<tr>
<td>{{exerciseName}}</td>
<td>{{exerciseWeight}}</td>
<td>
<table>
<thead>
<tr>
<th>Sets</th>
<th>Reps</th>
</tr>
</thead>
<tbody>
{{#each sets}}
<tr>
<td>{{setNumber}}</td>
<td>{{repCount}}</td>
</tr>
{{/each}}
</tbody>
</table>
</td>
</tr>
{{/each}}
</tbody>
</table>
</li>
</ul>
</template>