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/player.j2 | |
| parent | 0db0ff2f1c712273ac48cb859c24253b1efa8384 (diff) | |
Working with Bulma CSS now
Diffstat (limited to 'templates/player.j2')
| -rw-r--r-- | templates/player.j2 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/player.j2 b/templates/player.j2 index 1176d65..5b70df6 100644 --- a/templates/player.j2 +++ b/templates/player.j2 @@ -1 +1 @@ -<button class={% if player.status %} "active" {% else %} "dormant" {% endif %} hx-post="{{ "/player-toggle/" ~ player.name}}" hx-trigger="click" hx-swap="outerHTML">{{ player.name }}</button>
\ No newline at end of file +<button class={% if player.status %} "button is-success" {% else %} "button is-danger" {% endif %} hx-post="{{ "/player-toggle/" ~ player.name}}" hx-trigger="click" hx-swap="outerHTML">{{ player.name }}</button>
\ No newline at end of file |
