aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 14:07:20 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 14:07:20 +0200
commitb11d9d0d8e0aca2d577f94dd7a6cff526fc05216 (patch)
tree5676f541e98849d65f53dfab17a65974111170a7 /app/templates
parent64d56e861526a0b51e6858a4cb79b5f0a64af05b (diff)
Removed guest control
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/macros.j222
1 files changed, 0 insertions, 22 deletions
diff --git a/app/templates/macros.j2 b/app/templates/macros.j2
index e08bfe1..4fe35f0 100644
--- a/app/templates/macros.j2
+++ b/app/templates/macros.j2
@@ -10,28 +10,6 @@
hx-swap="outerHTML"> {{ player.first_name + " " + player.last_name}} </button>
{%- endmacro %}
-{% macro guest_control(level, value) -%}
-<div class="field center has-addons is-centered" id="guests_{{level}}">
- <div class="control">
- <button class="button is-responsive is-dark"
- hx-post="/decrement_guest"
- hx-swap="outerHTML"
- hx-vals='{"level": "{{ level }}"}'
- hx-target="#guests_{{ level }}"><span class="icon"><i class="fas fa-light fa-minus"></i></span></button>
- </div>
- <div class="control">
- <input class="input is-responsive" type="text" style="text-align:center" value="{{ value }}" disabled>
- </div>
- <div class="control">
- <button class="button is-responsive is-dark"
- hx-post="/increment_guest"
- hx-swap="outerHTML"
- hx-vals='{"level": "{{ level }}"}'
- hx-target="#guests_{{ level }}"><span class="icon"><i class="fas fa-light fa-plus"></i></span></button>
- </div>
-</div>
-{%- endmacro %}
-
{% macro header(url_for) -%}
<head>
<meta charset="UTF-8">