aboutsummaryrefslogtreecommitdiff
path: root/templates/players.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 11:08:15 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 11:08:15 +0200
commitd304a470e5a9fae6fc0c8975f050cb7aa290f74a (patch)
tree2918384d92c63e6bbe3d3fa642317fa1ab96ac07 /templates/players.j2
parent600b6afff3066d5fc9c4eca659f969322e670a77 (diff)
First working version with history
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 7a13672..550ad68 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" {% else %} "button is-danger" {% endif %} hx-post="{{ "/player-toggle/" ~ id}}" hx-trigger="click" hx-swap="outerHTML">{{ player.name }}</button>
+ <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>
</div>
{% endfor %}
</div> \ No newline at end of file