A Twitch.tv viewer reward and games system.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

61 lines
2.6 KiB

  1. doctype html
  2. html(lang="en")
  3. head
  4. title= title
  5. link(rel='stylesheet', href='/lib/uikit/css/uikit.almost-flat.min.css')
  6. link(rel='stylesheet', href='/css/app.css')
  7. script(src='/lib/jquery.js')
  8. script(src='/lib/uikit/js/uikit.min.js')
  9. // Favicon stuff
  10. link(rel='icon', type='image/png', href='/favicon.ico', sizes='32x32')
  11. meta(name='msapplication-TileColor', content='#da532c')
  12. meta(name='msapplication-TileImage', content='/mstile-144x144.png')
  13. body
  14. div.uk-grid
  15. div.uk-width-1-1
  16. div.uk-grid
  17. div.uk-width-1-4
  18. img(src='/img/#{logo}', style='max-height:180px;')
  19. div.uk-width-2-4
  20. // bigimagelogo
  21. h1.uk-text-center #{title}<br/>#{slogan}
  22. div.uk-width-1-4
  23. img.flip.uk-float-right(src='/img/#{logo}', style='max-height:180px;')
  24. div.uk-width-1-1
  25. nav.uk-navbar
  26. ul.uk-navbar-nav.uk-navbar-center
  27. li: a(href='http://www.twitch.tv/#{title}'): img(src='/img/twitch.png', alt='Stream')
  28. li: a(href='/') Home
  29. li: a(href='/ladder') Ladder
  30. li: a(href='/stats') Chat Stats
  31. li: a(href='/fanart') Fan Art
  32. li: a(href='http://www.twitter.com/#{twitter}'): img(src='/img/twitter.png', alt='Twitter')
  33. div.uk-width-1-1
  34. div.uk-container.uk-container-center
  35. block content
  36. div.uk-width-1-1
  37. footer.uk-text-center
  38. br
  39. span.tag Visit the #{ucfirst(currency)} Lord @
  40. a(href='http://www.twitch.tv/#{title}') #{title}
  41. br
  42. span.copyright &nbsp;&copy; DotaNoobs & #{title}. All rights reserved.
  43. block postscript
  44. script.
  45. $(document).ready(function() {
  46. $('span.copyright').prepend(new Date().getFullYear());
  47. });
  48. script.
  49. window._idl = {};
  50. _idl.variant = "modal";
  51. (function() {
  52. var idl = document.createElement('script');
  53. idl.type = 'text/javascript';
  54. idl.async = true;
  55. idl.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'members.internetdefenseleague.org/include/?url=' + (_idl.url || '') + '&campaign=' + (_idl.campaign || '') + '&variant=' + (_idl.variant || 'modal');
  56. document.getElementsByTagName('body')[0].appendChild(idl);
  57. })();