layout.jade 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. doctype html
  2. html(lang='en')
  3. head
  4. - if (typeof(title) !== 'undefined')
  5. title #{title} | Reti Chess
  6. - else
  7. title Reti Chess
  8. meta(charset='utf-8')
  9. meta(name='robots', content='index, follow')
  10. meta(itemprop='name=Reti Chess')
  11. meta(name='description', content='Reti Chess is a lightweight real-time chess app built in Node.js with use of Express framework and Socket.IO')
  12. meta(name='viewport', content='width=device-width, initial-scale=1')
  13. link(rel='shortcut icon', href='/img/logo.png')
  14. link(rel='stylesheet', href='/css/main.css')
  15. link(href='http://fonts.googleapis.com/css?family=Cherry+Swash|Open+Sans:400,600', rel='stylesheet', type='text/css')
  16. body
  17. #modal-mask.modal-mask
  18. p
  19. strong Esc:
  20. | OK
  21. br
  22. strong Enter:
  23. | OK
  24. #modal-window.modal
  25. p#modal-message Message.
  26. a#modal-ok.btn(href='#', style='left: 50%; margin-left: -60px;') OK
  27. #offer-mask.modal-mask
  28. p
  29. strong Esc:
  30. | Decline
  31. br
  32. strong Enter:
  33. | Accept
  34. #offer-window.modal
  35. p#offer-message Offer.
  36. a#offer-accept.btn(href='#') Accept
  37. a#offer-decline.btn.btn--red(href='#') Decline
  38. #container-wrapper.clearfix
  39. block content
  40. footer
  41. #footer.clearfix
  42. p.center Distributed under
  43. a(href='http://opensource.org/licenses/MIT') the MIT License
  44. |   •  
  45. a(href='http://github.com/romanmatiasko/reti-chess') Github repo
  46. - if (process.env.NODE_ENV === 'development')
  47. script(src='/js/vendor.js')
  48. block scripts