From: Benjamin Auder Date: Tue, 3 Nov 2020 23:30:35 +0000 (+0100) Subject: Rollback: will not implement a simultaneous games mode X-Git-Url: https://git.auder.net/variants/current/doc/css/vendor/%3C?a=commitdiff_plain;h=50330595f8a3055e0d568289e60c16402a15d320;p=vchess.git Rollback: will not implement a simultaneous games mode --- diff --git a/client/src/components/ChallengeList.vue b/client/src/components/ChallengeList.vue index 5c582631..1107b58c 100644 --- a/client/src/components/ChallengeList.vue +++ b/client/src/components/ChallengeList.vue @@ -15,7 +15,7 @@ div ) 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'!"] }} @@ -66,11 +66,6 @@ export default { 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 -td.simultaneous - background-color: purple - tr > td:last-child &.random-0 background-color: #FF5733 diff --git a/client/src/views/Game.vue b/client/src/views/Game.vue index 6570cb78..9094309b 100644 --- a/client/src/views/Game.vue +++ b/client/src/views/Game.vue @@ -179,15 +179,6 @@ main