index.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <title>Dashboard</title>
  7. <link rel="icon" type="image/png" href="https://uppy.io/img/logo.svg" />
  8. <style>
  9. main {
  10. display: block;
  11. width: fit-content;
  12. margin: 100px auto;
  13. }
  14. h1 {
  15. text-align: center;
  16. }
  17. #upload-form {
  18. max-width: 400px;
  19. text-align: left;
  20. margin: auto;
  21. }
  22. button,
  23. input {
  24. color: green;
  25. font-size: 30px;
  26. text-align: right;
  27. border: 2px solid purple;
  28. }
  29. /* css to make sure that Dashboard's css overrides page css */
  30. ul {
  31. margin: 60px;
  32. }
  33. li {
  34. margin: 60px;
  35. }
  36. a {
  37. color: purple;
  38. }
  39. </style>
  40. </head>
  41. <body>
  42. <main class="foo">
  43. <h1>Dashboard is here</h1>
  44. <!-- some inputs in a form to check focus management in Dashboard -->
  45. <form id="upload-form" action="/">
  46. <button type="button" id="pick-files">Pick Files</button><br />
  47. True ?
  48. <input type="checkbox" name="check_test" value="1" checked /><br />
  49. Something: <input type="text" name="yo" value="1" /><br />
  50. <input type="hidden" name="bla" value="12333" /><br />
  51. <button type="submit">Submit</button>
  52. </form>
  53. </main>
  54. <script src="./index.js" type="module"></script>
  55. </body>
  56. </html>