new.html 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Lee Morgan</title>
  6. <style>
  7. form{
  8. display: flex;
  9. flex-direction: column
  10. }
  11. form > *{
  12. margin: 15px;
  13. }
  14. input[type=submit]{
  15. max-width: 250px;
  16. }
  17. </style>
  18. </head>
  19. <body>
  20. <h1>New Gallery</h1>
  21. <form
  22. id="form"
  23. action="/gallery/new"
  24. method="post"
  25. enctype="multipart/form-data"
  26. >
  27. <label>Uploader
  28. <input name="uploader" type="text" required>
  29. </label>
  30. <label>Password
  31. <input name="password" type="password" required>
  32. </label>
  33. <label>Tags (comma delineated)
  34. <input name="tags" type="text" required>
  35. </label>
  36. <label>Images
  37. <input name="images" type="file" required multiple>
  38. </label>
  39. <input type="submit" value="Submit">
  40. </form>
  41. </body>
  42. </html>