new.html 1.4 KB

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