diff options
| author | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-16 11:08:15 +0200 |
|---|---|---|
| committer | Karan Jayachandra <karan.jayachandra@nxp.com> | 2024-10-16 11:08:15 +0200 |
| commit | d304a470e5a9fae6fc0c8975f050cb7aa290f74a (patch) | |
| tree | 2918384d92c63e6bbe3d3fa642317fa1ab96ac07 /templates/index.j2 | |
| parent | 600b6afff3066d5fc9c4eca659f969322e670a77 (diff) | |
First working version with history
Diffstat (limited to 'templates/index.j2')
| -rw-r--r-- | templates/index.j2 | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/templates/index.j2 b/templates/index.j2 index 3a2118b..40d0eb1 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -9,10 +9,13 @@ <script src="https://unpkg.com/htmx.org@2.0.0/dist/htmx.min.js"></script> <style> button, input, .select, .select select { - width: 100%; + width: 100%; } + table { + font-size: 30px; + } td { - width: 20%; + width: 20%; } </style> </head> @@ -26,7 +29,7 @@ <p class="title">Games</p> <div class="columns"> <div class="column"> - <div class="select"> + <div class="select is-large"> <select name="type"> <option>10 Levels</option> <option>8 Levels</option> @@ -38,14 +41,14 @@ </div> </div> <div class="column"> - <button class="button is-success" hx-post="/propose" hx-trigger="click" hx-target="#games" hx-include="[name='type']">Propose</button> + <button class="button is-dark is-large" hx-post="/propose" hx-trigger="click" hx-target="#games" hx-include="[name='type']">Propose</button> </div> <div class="column"></div> <div class="column"> - <button class="button is-success" hx-post="/confirm" hx-trigger="click" hx-target="#games">Confirm</button> + <button class="button is-dark is-large" hx-post="/confirm" hx-trigger="click" hx-target="#games">Confirm</button> </div> <div class="column"> - <button class="button is-danger" hx-post="/clear" hx-trigger="click" hx-target="#games">Clear</button> + <button class="button is-dark is-large" hx-post="/clear" hx-trigger="click" hx-target="#games">Clear</button> </div> </div> <div hx-post="/clear" hx-swap="outerHTML" hx-trigger="revealed"></div> |
