aboutsummaryrefslogtreecommitdiff
path: root/templates/players.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/players.j2
parent0a4dac8168d726707a46b9aa60a257ecaba6a620 (diff)
Added guests funtionality
Diffstat (limited to 'templates/players.j2')
-rw-r--r--templates/players.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/players.j2 b/templates/players.j2
index 550ad68..080c03a 100644
--- a/templates/players.j2
+++ b/templates/players.j2
@@ -2,7 +2,7 @@
<div class="grid">
{% for id, player in players.items() %}
<div class="cell">
- <button class={% if player.status %} "button is-success is-large" {% else %} "button is-danger is-large" {% endif %} hx-post="{{ "/player-toggle/" ~ id}}" hx-trigger="click" hx-swap="outerHTML">{{ player.name }}</button>
+ <button class="button is-medium is-responsive {% if player.status %} is-success {% else %} is-danger {% endif %}" hx-post="{{ "/player-toggle/" ~ id}}" hx-trigger="click" hx-swap="outerHTML">{{ player.name }}</button>
</div>
{% endfor %}
</div> \ No newline at end of file