projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Some fixes. Screen variant computer play is still broken, seemingly
[vchess.git]
/
client
/
src
/
components
/
ChallengeList.vue
diff --git
a/client/src/components/ChallengeList.vue
b/client/src/components/ChallengeList.vue
index
5c58263
..
1107b58
100644
(file)
--- a/
client/src/components/ChallengeList.vue
+++ b/
client/src/components/ChallengeList.vue
@@
-15,7
+15,7
@@
div
)
td {{ c.vname }}
td {{ withWho(c) }}
)
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'!"] }}
td(:class="getRandomnessClass(c)")
p(v-else)
| {{ st.tr["No challenges found :( Click on 'New game'!"] }}
@@
-66,11
+66,6
@@
export default {
return {
["random-" + c.randomness]: true
};
return {
["random-" + c.randomness]: true
};
- },
- getCadenceClass: function(c) {
- return {
- "simultaneous": c.cadence.indexOf("/") >= 0
- };
}
}
};
}
}
};
@@
-87,9
+82,6
@@
tr.fromyou > td
tr.toyou > td
background-color: #fcd785
tr.toyou > td
background-color: #fcd785
-td.simultaneous
- background-color: purple
-
tr > td:last-child
&.random-0
background-color: #FF5733
tr > td:last-child
&.random-0
background-color: #FF5733