aboutsummaryrefslogtreecommitdiff
path: root/templates/index.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-11 19:23:01 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-11 19:23:01 +0200
commitf80463a6437533deef1d85ffa31cf0cc5ed8e454 (patch)
tree492b1497cf648e08e84a35dea2d217a57643dab0 /templates/index.j2
parent20d668454a1e1d8f17f7e5d4d25f667f62381cd1 (diff)
Added skilled and random games
Diffstat (limited to 'templates/index.j2')
-rw-r--r--templates/index.j27
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/index.j2 b/templates/index.j2
index ac6ddf3..cfd32b5 100644
--- a/templates/index.j2
+++ b/templates/index.j2
@@ -11,6 +11,10 @@
button {
width: 100%;
}
+ td {
+ text-align:center;
+ width:20%;
+ }
</style>
</head>
<body>
@@ -23,7 +27,8 @@
<p class="title">Games</p>
<div class="columns">
<div class="column"></div>
- <div class="column"><button class="button is-success" hx-post="/new-games" hx-trigger="click" hx-target="#games">New Games</button></div>
+ <div class="column"><button class="button is-success" hx-post="/random-games" hx-trigger="click" hx-target="#games">Random Games</button></div>
+ <div class="column"><button class="button is-success" hx-post="/skilled-games" hx-trigger="click" hx-target="#games">Skilled Games</button></div>
<div class="column"></div>
<div class="column"><button class="button is-danger" hx-post="/clear-games" hx-trigger="click" hx-target="#games">Clear</button></div>
<div class="column"></div>