summaryrefslogtreecommitdiff
path: root/src/match_up/templates
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-12-02 19:33:48 +0100
committerKaran Jayachandra <mail@karanjayachandra.com>2024-12-02 19:33:48 +0100
commitbeea33bc183837a3feceaf1b5127c2e21e16fc36 (patch)
treeed0d9b5f4e3ad600f8d498227323576800983608 /src/match_up/templates
parent6ebbee2016b0232573ad1d322b4d4ca6287b3599 (diff)
Added team based games
Diffstat (limited to 'src/match_up/templates')
-rw-r--r--src/match_up/templates/controls.j212
1 files changed, 10 insertions, 2 deletions
diff --git a/src/match_up/templates/controls.j2 b/src/match_up/templates/controls.j2
index 95584f7..0183c97 100644
--- a/src/match_up/templates/controls.j2
+++ b/src/match_up/templates/controls.j2
@@ -9,7 +9,7 @@
<div class="columns">
<div class="column">
<div class="select is-responsive">
- <select name="type">
+ <select name="levels">
<option>10 Levels</option>
<option>8 Levels</option>
<option>6 Levels</option>
@@ -20,10 +20,18 @@
</div>
</div>
<div class="column">
+ <div class="select is-responsive">
+ <select name="team">
+ <option>Random</option>
+ <option>Teams</option>
+ </select>
+ </div>
+ </div>
+ <div class="column">
<button class="button is-dark is-responsive"
hx-post="/propose"
hx-target="#games"
- hx-include="[name='type']">Generate</button>
+ hx-include="[name='levels'], [name='team']">Generate</button>
</div>
<div class="column"></div>
<div class="column">