You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
whooshy/views/bingo/bingo-round.pug

27 lines
1.1 KiB
Plaintext

include includes/bingo-layout
block content
div(id='container-bingo-round')
include includes/bingo-players
include includes/bingo-chat
include includes/bingo-statusbar
if grid.bingo
div(id='container-bingo-button')
button(id='bingo-button' onclick='statusWrap(submitBingo)') Bingo!
else
div(id='container-bingo-button' class='hidden')
button(id='bingo-button' onclick='statusWrap(submitBingo)') Bingo!
div(id='container-grid')
div(id='grid-table')
each val in grid.fields
div(class='bingoWordRow')
each field in val
div(
class='bingoWordPanel'
onclick=`statusWrap(() => submitFieldToggle(this))`
b-row=field.row
b-column=field.column
b-sub=`${field.submitted}`)
span= field.word
script(type='text/javascript') initRefresh();