index.html 1.3 KB

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