plugin-manager.html 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  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. <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self'; connect-src 'none'; img-src 'self' data:">
  7. <title id="page-title"></title>
  8. <link rel="stylesheet" href="plugin-manager.css">
  9. </head>
  10. <body>
  11. <main>
  12. <header>
  13. <div>
  14. <h1 id="title"></h1>
  15. <p id="description"></p>
  16. </div>
  17. <button id="refresh" class="quiet" type="button"></button>
  18. </header>
  19. <form id="install-form">
  20. <label id="package-label" for="package-spec"></label>
  21. <div class="install-row">
  22. <input id="package-spec" name="package-spec" autocomplete="off" placeholder="@scope/plugin@1.2.3" required>
  23. <button id="install" type="submit"></button>
  24. </div>
  25. </form>
  26. <form id="update-form" hidden aria-labelledby="update-label">
  27. <label id="update-label" for="update-version"></label>
  28. <div class="install-row">
  29. <input id="update-version" name="update-version" autocomplete="off" required>
  30. <button id="update-submit" type="submit"></button>
  31. <button id="update-cancel" class="quiet" type="button"></button>
  32. </div>
  33. </form>
  34. <p id="status" role="status" aria-live="polite"></p>
  35. <section aria-labelledby="installed-heading">
  36. <h2 id="installed-heading"></h2>
  37. <ul id="plugins"></ul>
  38. <p id="empty"></p>
  39. </section>
  40. </main>
  41. <script src="plugin-manager.js"></script>
  42. </body>
  43. </html>