summaryrefslogtreecommitdiff
path: root/views/admin_match.pug
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-05 15:09:29 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-05 15:18:36 +0200
commitfc9af57627fdffcbdcab1ac0dcf7989d6323a8a3 (patch)
tree2421f4736f6aeb5211127e06e2e1f707b3267a94 /views/admin_match.pug
parent12a5afcf439e4879bab5a7bf5a92b6834a619c48 (diff)
downloadserver-fc9af57627fdffcbdcab1ac0dcf7989d6323a8a3.tar.gz
Revert "Add match making."
This reverts commit b5a31813aa284b8b64bfd2660ea3a048275cee89.
Diffstat (limited to 'views/admin_match.pug')
-rw-r--r--views/admin_match.pug53
1 files changed, 0 insertions, 53 deletions
diff --git a/views/admin_match.pug b/views/admin_match.pug
deleted file mode 100644
index 11a6c54..0000000
--- a/views/admin_match.pug
+++ /dev/null
@@ -1,53 +0,0 @@
-//- vim:ts=4:sw=4:
-
-mixin show_ticket(ticket)
- - var setup = SETUP_TABLE[ticket.setup_id]
- tr
- td= ticket.name
- td= ticket.rating
- td= setup.setup_name
- td #{ticket.time} UTC
-
-mixin show_ticket_list(list)
- table
- thead
- tr
- th User
- th Rating
- th Title
- th Age
- tbody
- each ticket in list
- +show_ticket(ticket)
-
-doctype html
-html
- head
- include head
- title Matches
- style.
- div.buttons { margin-top: 8px }
- body
- include header
- article
- h1 Waiting Room - Admin
-
- p Time is #{new Date().toISOString()}
-
- h2 Live Tickets
- if live_tickets.length > 0
- +show_ticket_list(live_tickets)
- else
- p No live tickets.
-
- h2 Fast Tickets
- if fast_tickets.length > 0
- +show_ticket_list(fast_tickets)
- else
- p No fast tickets.
-
- h2 Slow Tickets
- if slow_tickets.length > 0
- +show_ticket_list(slow_tickets)
- else
- p No slow tickets.