12345678910111213141516171819202122232425262728
  1. <html>
  2. <head>
  3. <link rel="stylesheet" href="/css/common.css">
  4. <link rel="stylesheet" href="/css/main.css">
  5. <script type="module">
  6. window.addEventListener("load", () => {
  7. import("/js/main.mjs");
  8. })
  9. </script>
  10. </head>
  11. <body>
  12. <div class="body">
  13. <h1 class="title">Upload your Program to Run</h1>
  14. <input id="name" placeholder="New Program"/>
  15. <textarea id="program" style="min-height: 200px;">
  16. (-b + sqrt(b^2 - 4a*c)) / 2a
  17. </textarea>
  18. <div>
  19. Choose a program type:
  20. <select id="content-type">
  21. <option value="application/x-yaca-ast">AST</option>
  22. <option value="application/x-yaca-code" selected>Code</option>
  23. </select>
  24. </div>
  25. <button id="upload">Upload</button>
  26. </div>
  27. </body>
  28. </html>