aboutsummaryrefslogtreecommitdiff
path: root/templates/macros.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/macros.j2')
-rw-r--r--templates/macros.j212
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/macros.j2 b/templates/macros.j2
index 58b1a73..8d05bb0 100644
--- a/templates/macros.j2
+++ b/templates/macros.j2
@@ -1,18 +1,18 @@
{% macro court(id, status) -%}
-<button class= "button is-large is-responsive {% if status %}is-success{% else %}is-danger{% endif %}"
+<button class= "button is-responsive {% if status %}is-success{% else %}is-danger{% endif %}"
hx-post="{{ "/court-toggle/" ~ id}}"
hx-swap="outerHTML"> Court {{ id }}</button>
{%- endmacro %}
{% macro player(id, status, name) -%}
-<button class="button is-medium is-responsive {% if status %}is-success{% else %}is-danger {% endif %}"
+<button class="button is-responsive {% if status %}is-success{% else %}is-danger {% endif %}"
hx-post="{{ "/player-toggle/" ~ id}}"
hx-swap="outerHTML"> {{ name }} </button>
{%- endmacro %}
{% macro guests(count) -%}
<div class="control" id="guests">
- <input class="input is-large is-responsive" type="text" style="text-align:center" value="{{ count }} Guests" disabled>
+ <input class="input is-responsive" type="text" style="text-align:center" value="{{ count }} Guests" disabled>
</div>
{%- endmacro %}
@@ -49,15 +49,15 @@
</div>
<div class="level-item has-text-centered"></div>
<p class="level-item has-text-centered">
- <button class="button is-large is-link" onclick="location.href = '/';">Games</button>
+ <button class="button is-link" onclick="location.href = '/';">Games</button>
</p>
<div class="level-item has-text-centered"></div>
<div class="level-item has-text-centered">
- <p class="title is-1">Match Up!</p>
+ <p class="title">Match Up!</p>
</div>
<div class="level-item has-text-centered"></div>
<p class="level-item has-text-centered">
- <button class="button is-large is-link" onclick="location.href = '/players';">Players</button>
+ <button class="button is-link" onclick="location.href = '/players';">Players</button>
</p>
<div class="level-item has-text-centered"></div>
<div class="level-right">