aboutsummaryrefslogtreecommitdiff
path: root/templates/players.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-18 09:40:46 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-18 09:40:46 +0200
commite1d7bc9e679c8778c22f99d24ffc339791429c71 (patch)
treeca8ac863e065b650306eb8a85f4fa0b492b260a9 /templates/players.j2
parent72fd5ecb031badb80db0c2bb8382d7490fc9dffe (diff)
Cleaned up the layout slightly
Diffstat (limited to 'templates/players.j2')
-rw-r--r--templates/players.j214
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/players.j2 b/templates/players.j2
index 0e851ab..05f886a 100644
--- a/templates/players.j2
+++ b/templates/players.j2
@@ -20,20 +20,24 @@
</figure>
</div>
</div>
+ <div class="level-item has-text-centered"></div>
<p class="level-item has-text-centered">
- <a class="title link is-info" href="/">Games</a>
+ <button class="button is-large 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>
</div>
+ <div class="level-item has-text-centered"></div>
<p class="level-item has-text-centered">
- <a class="title link is-info is-underlined" href="/players">Players</a>
+ <button class="button is-large is-link is-focused" onclick="location.href = '/players';">Players</button>
</p>
+ <div class="level-item has-text-centered"></div>
<div class="level-right">
<div hx-get="/time" hx-swap="outerHTML" hx-trigger="load"></div>
</div>
</nav>
- <div class="fixed-grid has-5-cols">
+ <div class="fixed-grid has-6-cols">
<div class="grid">
{% for id, value in players.items() %}
<div class="cell">
@@ -41,11 +45,9 @@
</div>
{% endfor %}
</div>
- </section>
- <footer class="footer">
<div class="content has-text-centered">
Made by <a href="https://karanjayachandra.com/">Karan</a> using <a href="https://flask.palletsprojects.com">Flask</a>, <a href="https://htmx.org/">HTMX</a> and <a href="https://bulma.io">Bulma</a>
</div>
- </footer>
+ </section>
</body>
</html> \ No newline at end of file