aboutsummaryrefslogtreecommitdiff
path: root/app/templates
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 14:17:07 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2025-07-25 14:17:07 +0200
commit040a3a894e0816596532d7f7430baa4a5524f67b (patch)
tree920638eee07604fb5541e8bda295525d0546e6a6 /app/templates
parentb11d9d0d8e0aca2d577f94dd7a6cff526fc05216 (diff)
Added the grid layout using custom css
Diffstat (limited to 'app/templates')
-rw-r--r--app/templates/controls.j22
-rw-r--r--app/templates/players.j26
2 files changed, 3 insertions, 5 deletions
diff --git a/app/templates/controls.j2 b/app/templates/controls.j2
index 0acf5a6..f67f745 100644
--- a/app/templates/controls.j2
+++ b/app/templates/controls.j2
@@ -1,6 +1,6 @@
{% from "macros.j2" import court_button %}
<div class="fixed-grid has-6-cols">
- <div class="grid">
+ <div class="parent">
{% for court in courts %}
{{ court_button(court) }}
{% endfor %}
diff --git a/app/templates/players.j2 b/app/templates/players.j2
index 16e3878..0499b73 100644
--- a/app/templates/players.j2
+++ b/app/templates/players.j2
@@ -6,15 +6,13 @@
<section class="section">
{{ navbar(url_for) }}
<h4 class="title is-4">Members</h4>
- <div class="fixed-grid has-4-cols">
- <div class="grid">
+ <div class="parent">
{% for regular in regulars %}
<div class="cell"> {{ player_button(regular) }} </div>
{% endfor %}
</div>
<h4 class="title is-4">Guests</h4>
- <div class="fixed-grid has-4-cols">
- <div class="grid">
+ <div class="parent">
{% for guest in guests %}
<div class="cell"> {{ player_button(guest) }} </div>
{% endfor %}