diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-11 18:56:48 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-11 18:56:48 +0200 |
| commit | 20d668454a1e1d8f17f7e5d4d25f667f62381cd1 (patch) | |
| tree | 5e13fc89296e4bb8e48c7296c51d4dd2122a4a63 /templates/court.j2 | |
| parent | 0db0ff2f1c712273ac48cb859c24253b1efa8384 (diff) | |
Working with Bulma CSS now
Diffstat (limited to 'templates/court.j2')
| -rw-r--r-- | templates/court.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/court.j2 b/templates/court.j2 index 6ae4d91..425e7d5 100644 --- a/templates/court.j2 +++ b/templates/court.j2 @@ -1 +1 @@ -<button class={% if court.status %} "active" {% else %} "dormant" {% endif %} hx-post="{{ "/court-toggle/" ~ court.number}}" hx-trigger="click" hx-swap="outerHTML">{{ court.number }}</button>
\ No newline at end of file +<button class={% if court.status %} "button is-success" {% else %} "button is-danger" {% endif %} hx-post="{{ "/court-toggle/" ~ court.number}}" hx-trigger="click" hx-swap="outerHTML">{{ court.number }}</button>
\ No newline at end of file |
