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_active.pug | |
parent | 88d909a874499f9d3d18e76ff30c1155caa2e48e (diff) | |
download | server-4d7bdc955a2e6dd2c222f985c7fbc9b4febbccc4.tar.gz |
Tournaments!
Diffstat (limited to 'views/tm_active.pug')
-rw-r--r-- | views/tm_active.pug | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/views/tm_active.pug b/views/tm_active.pug new file mode 100644 index 0000000..cc821b2 --- /dev/null +++ b/views/tm_active.pug @@ -0,0 +1,24 @@ +//- vim:ts=4:sw=4: +doctype html +html + head + include head + title= SITE_NAME + body + include header + article.wide + h1 Your Tournaments + + if seeds && seeds.length > 0 + +seedlist(seeds, "Registrations") + p + a(href="/tm/list") Join a tournament + + if active_pools && active_pools.length > 0 + div + +poollist(active_pools, "Active", TM_ICON_ACTIVE) + div + if finished_pools && finished_pools.length > 0 + +poollist(finished_pools, "Finished", TM_ICON_FINISHED) + p + a(href="/tm/finished") All your finished tournaments |