game_play_detail.html 1.0 KB

123456789101112131415161718
  1. {% load static %}
  2. <!doctype html>
  3. <html class="no-js" lang="">
  4. <head>
  5. <title>{{game.name}}</title>
  6. <meta charset="utf-8">
  7. <meta http-equiv="x-ua-compatible" content="ie=edge">
  8. <meta name="description" content="">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.0.0/dist/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  11. <script type="text/javascript" src="{% static 'js/webretro/embed/embed.js' %}"></script>
  12. </head>
  13. <body>
  14. <div id="webretro-container" style="width:800px; height:600px"></div>
  15. <script>webretroEmbed(document.getElementById("webretro-container"), "{% static 'js/webretro/index.html' %}", {core: "{{object.game_system.webretro_core}}", rom:"https://{{request.META.HTTP_HOST}}{{object.rom_file.url}}"});</script>
  16. <p><a href="{{object.rom_file.url}}">Download ROM</a></p>
  17. </body>
  18. </html>