Skip to content

Commit

Permalink
refactor($Exercise): add UI for single exercise parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Feb 10, 2020
1 parent ac6a2a6 commit 73b91e9
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/views/exrx-net/components/exercise.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,26 @@
<v-card-text>
<h3>Exercise Link Sorted By Body Part List</h3>
<p>{{ exerciseLinkSortedByBodyPartList }}</p>
<v-simple-table>
<template v-slot:default>
<thead>
<tr>
<th class="text-left">Body Part Name</th>
<th class="text-left">Link</th>
<th class="text-left">Operation</th>
</tr>
</thead>
<tbody>
<tr v-for="item in exerciseLinkSortedByBodyPartList" :key="item.bodyPartName">
<td>{{ item.bodyPartName }}</td>
<td>{{ item.link }}</td>
<td>
<v-btn>Parse and Save</v-btn>
</td>
</tr>
</tbody>
</template>
</v-simple-table>
</v-card-text>
</div>
</v-expand-transition>
Expand Down Expand Up @@ -68,7 +88,6 @@ export default class Exercise extends Vue {
]
private loadingSaveExercise = false
// noinspection JSUnusedLocalSymbols
private showExercise = false
private saveExerciseProgressOfBodyPart = ''
private saveSpecificExerciseProgress = ''
Expand Down

0 comments on commit 73b91e9

Please sign in to comment.