nv1.html 967 B

123456789101112131415161718192021222324252627282930313233
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>PrUn NV1</title>
  6. <link rel="stylesheet" type="text/css" href="style.css">
  7. <link rel="icon" href="https://www.raylu.net/hammer-man.svg" />
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <meta name="theme-color" content="#222">
  10. </head>
  11. <body>
  12. <a href="/">← back</a>
  13. <main class="production">
  14. <form>
  15. <label>PUNoted API key: <input type="password" size="30" id="api-key"></label>
  16. <input type="button" value="fetch" id="fetch">
  17. </form>
  18. <section id="loader"></section>
  19. <div id="nv1"></div>
  20. </main>
  21. <div id="popover" popover="hint"></div>
  22. <script type="module">
  23. import {setupProduction} from './production.js';
  24. const blueprint = {
  25. 'NV1': 2,
  26. };
  27. const buy = new Set([
  28. 'ROM', 'PE', 'MG', 'MB', 'HD', 'RAM', 'MPC', 'SEN', 'C', 'PG', 'FLX', 'WAI'
  29. ])
  30. setupProduction(blueprint, buy, 'IC1', 1, document.querySelector('#nv1'));
  31. </script>
  32. </body>
  33. </html>