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.

16 lines
448 B

  1. extends layout
  2. block content
  3. div.uk-grid.uk-height-1-1
  4. br
  5. br
  6. iframe#stats_content.uk-width-1-1(onload="resizeStats(this)")
  7. block postscript
  8. script.
  9. $(document).ready( function() {
  10. $("#stats_content").attr("src", "statistics/#{statdir}/index.html");
  11. });
  12. function resizeStats(iframe) {
  13. iframe.height = iframe.contentWindow.document.body.scrollHeight + "px";
  14. }