aboutsummaryrefslogtreecommitdiff
path: root/templates/player.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 16:20:13 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 16:20:13 +0200
commitb581661c993095c43ad19540999ab21957d0e013 (patch)
tree3a8259e7d4b224142752975d5f95b40313a71378 /templates/player.j2
parent0a4dac8168d726707a46b9aa60a257ecaba6a620 (diff)
Added guests funtionality
Diffstat (limited to 'templates/player.j2')
-rw-r--r--templates/player.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/player.j2 b/templates/player.j2
index d0f42c6..7e80285 100644
--- a/templates/player.j2
+++ b/templates/player.j2
@@ -1,5 +1,5 @@
-<button class={% if status %} "button is-success is-large" {% else %} "button is-danger is-large" {% endif %}
- hx-post="{{ "/player-toggle/" ~ id}}"
+<button class="button is-medium is-responsive {% if status %} is-success {% else %} is-danger {% endif %}"
+ hx-post="{{ "/player-toggle/" ~ id}}"
hx-trigger="click"
hx-swap="outerHTML">
{{ name }}