index.jade 589 B

12345678910111213141516171819
  1. extends layout
  2. block content
  3. h1.knight
  4. h2 How about a nice game of chess?
  5. div#form
  6. form#create_form(action='')
  7. input#game_link.game_link(type='text', readonly, value='')
  8. button.button#play(type='submit') Play
  9. p#waiting Generating game link.
  10. fieldset
  11. label Minutes:
  12. input#minutes(type='number', value='30', min='1', max='50', required)
  13. label(style='padding-left: 2em;') Increment:
  14. input#seconds(type='number', value='30', min='0', max='50', required)
  15. block scripts
  16. script(type='text/javascript', src='/javascripts/start.js')