layout.jade 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. doctype html
  2. html
  3. head
  4. - if (typeof(title) !== 'undefined')
  5. title #{title} | Chess-IO
  6. - else
  7. title Chess-IO
  8. meta(charset='utf-8')
  9. meta(name='viewport', content='width=device-width, initial-scale=1')
  10. link(rel='shortcut icon', href='/images/favicon.ico')
  11. link(rel='stylesheet', href='/stylesheets/style.css')
  12. script(type='text/javascript', src='/socket.io/socket.io.js')
  13. block head
  14. //if IE
  15. script(src='http://html5shiv.googlecode.com/svn/trunk/html5.js')
  16. body
  17. #modal-mask
  18. p
  19. strong Esc:
  20. | OK
  21. br
  22. strong Enter:
  23. | OK
  24. #modal-window
  25. p#modal-message Message.
  26. a#modal-ok.button(href='#') OK
  27. #offer-mask
  28. p
  29. strong Esc:
  30. | Decline
  31. br
  32. strong Enter:
  33. | Accept
  34. #offer-window
  35. p#offer-message Offer.
  36. a#offer-accept.button(href='#') Accept
  37. a#offer-decline.button.button--red(href='#') Decline
  38. #container_wrapper.clearfix
  39. #container.clearfix
  40. block content
  41. script(type='text/javascript', src='/javascripts/jquery.js')
  42. script(type='text/javascript', src='/javascripts/chess.js')
  43. script(type='text/javascript', src='/javascripts/app.js')
  44. block scripts