diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-10-13 12:48:48 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-10-13 18:49:00 +0200 |
commit | 4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4 (patch) | |
tree | a344e7c011b07e83ab0abf57e1aa043a9a81dff2 /views/tm_list.pug | |
parent | 88d909a874499f9d3d18e76ff30c1155caa2e48e (diff) | |
download | server-4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4.tar.gz |
Tournaments!
Diffstat (limited to 'views/tm_list.pug')
-rw-r--r-- | views/tm_list.pug | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/views/tm_list.pug b/views/tm_list.pug new file mode 100644 index 0000000..41945fc --- /dev/null +++ b/views/tm_list.pug @@ -0,0 +1,28 @@ +//- vim:ts=4:sw=4: +doctype html +html + head + include head + title Tournaments + body + include header + article + h1 Tournaments + + p See <a href="/docs/tournaments.html">tournament information</a>. + + if 0 + dl + each seeds, title_id in seeds_by_title + dt= TITLE_NAME[title_id] + each seed in seeds + dd + a(href="/tm/seed/" + seed.seed_name)= seed.seed_name + | (#{seed.queue_size}/#{seed.pool_size}) + if user && seed.is_queued + | 🎫 + if 0 + each seeds, title_id in seeds_by_title + +seedlist(seeds, TITLE_NAME[title_id]) + if 1 + +seedlist(seeds, "Mini Cup") |