aboutsummaryrefslogtreecommitdiff
path: root/court.mjs
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2025-11-09 15:57:07 +0100
committerKaran Jayachandra <mail@karanjayachandra.com>2025-11-09 15:57:07 +0100
commit3dc01fbb930a4eacf416a9cc7911d90da75e6c33 (patch)
treedd25d62d619d62ed7d2657e37352caaa749abfd7 /court.mjs
parent6456fae865aae8b2ba398b5f78f2589c93d0643d (diff)
Moved a lot of the functionality
Diffstat (limited to 'court.mjs')
-rw-r--r--court.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/court.mjs b/court.mjs
index 31f277f..b2cd9de 100644
--- a/court.mjs
+++ b/court.mjs
@@ -13,7 +13,7 @@ export class Court {
console.log(this.name + " is currently " + status);
}
render() {
- let type = this.status ? "" : 'class="outline secondary"';
+ let type = this.status ? `class="button is-success"` : 'class="button is-dark"';
return `<button id=${"court_" + this.id} ${type}>${this.name}</button>`;
}
}