index.html 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <!-- add upgrade-insecure-requests; to content when hosting it online -->
  7. <meta http-equiv="Content-Security-Policy"
  8. content="require-sri-for script style;
  9. default-src 'none';
  10. connect-src 'none';
  11. frame-src 'none';
  12. img-src 'self';
  13. script-src 'self';
  14. style-src 'self' 'unsafe-inline'">
  15. <title>rep1y</title>
  16. <link integrity="sha512-oYHT2dHF0uG3pQsIeLfRxVE129XKZIV4/TQmqzmSWsQx3FaXsz2KBJBtbpeeapFdQfmoagZod71OW9KZaWo6sQ=="
  17. href="/style/rep1y.css"
  18. rel="stylesheet">
  19. </head>
  20. <body>
  21. <main>
  22. <div class="sketching-board">
  23. <!-- NEVER use allow-scripts and allow-same-origin at the same time!! -->
  24. <!-- https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#Attributes -->
  25. <iframe sandbox="allow-same-origin"
  26. class="demo"
  27. id="sketch"
  28. title="sketch"
  29. src="about:blank"></iframe>
  30. <section class="styling">
  31. <label for="cssCode">CSS</label>
  32. <textarea autocomplete="off" wrap="off" id="cssCode" class="code editor" placeholder="CSS"></textarea>
  33. </section>
  34. </div>
  35. <aside class="framework">
  36. <label for="htmlCode">HTML</label>
  37. <textarea autocomplete="off" wrap="off" id="htmlCode" class="code editor" placeholder="HTML"></textarea>
  38. </aside>
  39. <aside class="log">
  40. <label for="logger">A11y</label>
  41. <textarea readonly wrap="off" id="logger" class="code terminal">a11y&gt;</textarea>
  42. </aside>
  43. </main>
  44. <script integrity="sha512-2i4bLHIKCpop8vnil0+MsU0QiIbRkbDVfGLl4Hf55pYzoAqIDTBhquYh4ZhL7/t20qrROMjx3wsKV/WBczP8VA=="
  45. src="/scripts/axe.min.js"
  46. type="text/javascript"></script>
  47. <script integrity="sha512-q+Wz00g84x2WtfDF5f1BCRF3TFj36G1tntqEww026My+d3cr+GtL8mzaHTn0cOzeSJVftHsrgDkH9Oj3GkHEAA=="
  48. src="/scripts/purify.min.js"
  49. type="text/javascript"></script>
  50. <script integrity="sha512-F2zBU/lXRHqkyP9qjpV+PkbPcLBeafkZWRChSioj6ZWA2RNervRa1zDPZF0RswlfxygmaqrD0RhtkIr30tfVwA=="
  51. src="/scripts/rep1y.js"
  52. type="text/javascript"></script>
  53. </body>
  54. </html>