)
td {{ c.vname }}
td {{ withWho(c) }}
- td(:class="getCadenceClass(c)") {{ c.cadence }}
+ td {{ c.cadence }}
td(:class="getRandomnessClass(c)")
p(v-else)
| {{ st.tr["No challenges found :( Click on 'New game'!"] }}
return {
["random-" + c.randomness]: true
};
- },
- getCadenceClass: function(c) {
- return {
- "simultaneous": c.cadence.indexOf("/") >= 0
- };
}
}
};
tr.toyou > td
background-color: #fcd785
-td.simultaneous
- background-color: purple
-
tr > td:last-child
&.random-0
background-color: #FF5733