projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some more cleaning + fixes
[vchess.git]
/
client
/
src
/
components
/
GameList.vue
diff --git
a/client/src/components/GameList.vue
b/client/src/components/GameList.vue
index
7125fde
..
77aa83e
100644
(file)
--- a/
client/src/components/GameList.vue
+++ b/
client/src/components/GameList.vue
@@
-8,12
+8,18
@@
div
th(v-if="showCadence") {{ st.tr["Cadence"] }}
th {{ st.tr["Result"] }}
tbody
th(v-if="showCadence") {{ st.tr["Cadence"] }}
th {{ st.tr["Result"] }}
tbody
- tr(v-for="g in sortedGames" @click="$emit('show-game',g)"
- :class="{'my-turn': g.myTurn}")
+ tr(
+ v-for="g in sortedGames"
+ @click="$emit('show-game',g)"
+ :class="{'my-turn': g.myTurn}"
+ )
td {{ g.vname }}
td {{ player_s(g) }}
td(v-if="showCadence") {{ g.cadence }}
td {{ g.vname }}
td {{ player_s(g) }}
td(v-if="showCadence") {{ g.cadence }}
- td(:class="{finished: g.score!='*'}" @click="deleteGame(g,$event)")
+ td(
+ :class="{finished: g.score!='*'}"
+ @click="deleteGame(g,$event)"
+ )
| {{ g.score }}
</template>
| {{ g.score }}
</template>
@@
-107,7
+113,7
@@
export default {
</script>
<style lang="sass" scoped>
</script>
<style lang="sass" scoped>
-//
TODO: understand why
the style applied to <tr> element doesn't work
+//
NOTE:
the style applied to <tr> element doesn't work
tr.my-turn > td
background-color: #fcd785
tr td.finished
tr.my-turn > td
background-color: #fcd785
tr td.finished