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

25 lines
956 B
Plaintext

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