Commit | Line | Data |
---|---|---|
85e5b5c1 BA |
1 | <template lang="pug"> |
2 | table | |
3 | tr | |
03608482 | 4 | th Variant |
85e5b5c1 BA |
5 | th From |
6 | th To | |
7 | th Cadence | |
85e5b5c1 | 8 | tr(v-for="c in challenges" @click="$emit('click-challenge',c)") |
bb7dd7db | 9 | td {{ c.vname }} |
85e5b5c1 | 10 | td {{ c.from.name }} |
c9695cb1 | 11 | td {{ c.to }} |
03608482 | 12 | td {{ c.timeControl }} |
85e5b5c1 BA |
13 | </template> |
14 | ||
15 | <script> | |
16 | export default { | |
17 | name: "my-challenge-list", | |
18 | props: ["challenges"], | |
85e5b5c1 | 19 | }; |
85e5b5c1 BA |
20 | </script> |
21 | ||
22 | <style lang="sass"> | |
23 | // TODO: affichage bizarre sur petits écrans <=767px | |
24 | </style> |