index.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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. /* css to make sure that Dashboard's css overrides page css */
  23. button,
  24. input {
  25. color: green;
  26. font-size: 30px;
  27. text-align: right;
  28. border: 2px solid purple;
  29. }
  30. ul {
  31. margin: 60px;
  32. }
  33. li {
  34. margin: 60px;
  35. }
  36. a {
  37. color: purple;
  38. }
  39. h1,
  40. h2,
  41. h3,
  42. h4,
  43. h5,
  44. h6 {
  45. color: green;
  46. }
  47. </style>
  48. </head>
  49. <body>
  50. <main class="foo">
  51. <h1>Dashboard is here</h1>
  52. <!-- some inputs in a form to check focus management in Dashboard -->
  53. <form id="upload-form" action="/">
  54. <button type="button" id="pick-files">Pick Files</button><br />
  55. True ?
  56. <input type="checkbox" name="check_test" value="1" checked /><br />
  57. Something: <input type="text" name="yo" value="1" /><br />
  58. <input type="hidden" name="bla" value="12333" /><br />
  59. <button type="submit">Submit</button>
  60. </form>
  61. </main>
  62. <script src="./index.js" type="module"></script>
  63. </body>
  64. </html>