Personal blog written from scratch using Node.js, Bootstrap, and MySQL. https://jrtechs.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.3 KiB

6 years ago
  1. <div class="w3-twothird w3-container">
  2. <h1 class="w3-text-teal w3-center">New Post</h1>
  3. <form action="/admin/" method ="post" class="w3-container w3-card-4">
  4. <!-- Post category -->
  5. <div class="w3-group w3-padding-16">
  6. <input class="w3-input" type="text" name="add_post_category" required>
  7. <label class="w3-label w3-validate">Category</label>
  8. </div>
  9. <!-- Post name -->
  10. <div class="w3-group w3-padding-16">
  11. <input class="w3-input" type="text" name="add_post_name" required>
  12. <label class="w3-label w3-validate">Name</label>
  13. </div>
  14. <!-- Post header picture -->
  15. <div class="w3-group w3-padding-16">
  16. <input class="w3-input" type="text" name="add_post_picture" value="n/a" required>
  17. <label class="w3-label w3-validate">Picture</label>
  18. </div>
  19. <!-- Post date -->
  20. <div class="w3-group w3-padding-16">
  21. <input class="w3-input" type="date" name="add_post_date" required>
  22. <label class="w3-label w3-validate">Date</label>
  23. </div>
  24. <p><input type="submit" name="submit" value="Add"
  25. class="w3-padding-16 w3-hover-dark-grey w3-btn-block w3-center-align"/></p>
  26. </form>
  27. </div>