diff options
Diffstat (limited to 'templates/index.j2')
| -rw-r--r-- | templates/index.j2 | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/templates/index.j2 b/templates/index.j2 index 82c3c80..be92207 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -30,16 +30,20 @@ </head> <body> <header> - <h1>🏸Match Up!</h1> - <p class="tagline"> Come play with the <a href="https://www.bctsf.nl/">Smashing Fellows</a>! </p> + <h1>🏸The Smashing Fellows </h1> + <h4> Total Courts: 8</h4> </header> - <hr> + <div> + <h2>Games</h2> + <div class="games" hx-get="/game-list" hx-swap="outerHTML" hx-trigger="revealed"></div> + </div> + <button hx-post="/new-games" hx-trigger="click" hx-target=".games" hx-swap="outerHTML"> New Games </button> <div class="players"> <h2>Players</h2> <div hx-get="/player-list" hx-swap="outerHTML" hx-trigger="revealed"></div> </div> <footer> - Made by <a href="https://karanjayachandra.com/">Karan Jayachandra</a> using <a href="https://htmx.org/">HTMX</a> and <a href="https://flask.palletsprojects.com">Flask</a> + Made by <a href="https://karanjayachandra.com/">K. Jayachandra</a> using <a href="https://htmx.org/">HTMX</a> and <a href="https://flask.palletsprojects.com">Flask</a> </footer> </body> </html>
\ No newline at end of file |
