index.html 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. padding-top: 100px;
  11. text-align: center;
  12. }
  13. #upload-form {
  14. max-width: 400px;
  15. text-align: left;
  16. margin: auto;
  17. }
  18. button,
  19. input {
  20. color: green;
  21. font-size: 30px;
  22. text-align: right;
  23. border: 2px solid purple;
  24. }
  25. /* css to make sure that Dashboard's css overrides page css */
  26. ul {
  27. margin: 60px;
  28. }
  29. li {
  30. margin: 60px;
  31. }
  32. a {
  33. color: purple;
  34. }
  35. </style>
  36. </head>
  37. <body>
  38. <main class="foo">
  39. <h1>Dashboard is here</h1>
  40. <!-- some inputs in a form to check focus management in Dashboard -->
  41. <form id="upload-form" action="/">
  42. <button type="button" id="pick-files">Pick Files</button><br />
  43. True ?
  44. <input type="checkbox" name="check_test" value="1" checked /><br />
  45. Something: <input type="text" name="yo" value="1" /><br />
  46. <input type="hidden" name="bla" value="12333" /><br />
  47. <button type="submit">Submit</button>
  48. </form>
  49. </main>
  50. <script src="./index.js" type="module"></script>
  51. </body>
  52. </html>