Fixing WC queues having the wrong count on them. Fixing WC queues being garrishly neon.

This commit is contained in:
Christian 'ketura' McCarty
2023-08-12 21:57:31 -05:00
parent 2e17df3ebf
commit e331429930
2 changed files with 6 additions and 3 deletions

View File

@@ -281,11 +281,11 @@ table.tables tr.privateForPlayer {
}
.wc-queues {
background-color: #FF5555;
background-color: #840000;
}
.wc-events {
background-color: #FFFF55;
background-color: #a0a01c;
}
.tableFormatName {

View File

@@ -545,7 +545,7 @@ var GempLotrHallUI = Class.extend({
if (action == "add") {
if(isWC) {
$("table.wc-tournaments", this.tablesDiv)
$("table.wc-events", this.tablesDiv)
.append(row);
}
else {
@@ -771,6 +771,9 @@ var GempLotrHallUI = Class.extend({
$(".count", $(".eventHeader.waitingTables")).html("(" + ($("tr", $("table.waitingTables")).length - 1) + ")");
$(".count", $(".eventHeader.playingTables")).html("(" + ($("tr", $("table.playingTables")).length - 1) + ")");
$(".count", $(".eventHeader.finishedTables")).html("(" + ($("tr", $("table.finishedTables")).length - 1) + ")");
$(".count", $(".eventHeader.wc-queues")).html("(" + ($("tr", $("table.wc-queues")).length - 1) + ")");
$(".count", $(".eventHeader.wc-events")).html("(" + ($("tr", $("table.wc-events")).length - 1) + ")");
var games = root.getElementsByTagName("newGame");
for (var i=0; i<games.length; i++) {