modal.ejs 1.5 KB

12345678910111213141516171819202122232425262728293031
  1. <div id="modal" class="modal" style="display:none;">
  2. <div class="modalBox">
  3. <svg id="modalClose" width="35" height="35" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  4. <line x1="18" y1="6" x2="6" y2="18"></line>
  5. <line x1="6" y1="6" x2="18" y2="18"></line>
  6. </svg>
  7. <div id="modalContent">
  8. <form id="modalSpreadsheetUpload" class="modalSpreadsheetUpload" method="post" action="/feedback" style="display:none;">
  9. <h3>Choose a file to upload your <span id="modalSpreadsheetTitle"></span></h3>
  10. <input id="spreadsheetInput" class="fileUpload" name="file" type="file">
  11. <label id="" style="display:none;">
  12. <input id="spreadsheetRecipeIsSquare" type="checkbox">Square Items?
  13. </label>
  14. <input type="hidden" name="type">
  15. <input class="button" type="submit" value="SUBMIT">
  16. <a id="spreadsheetDownload">download template</a>
  17. </form>
  18. <form id="modalFeedback" style="display:none;" method="post" action="/feedback">
  19. <label>Title:
  20. <input id="feedbackTitle" required>
  21. </label>
  22. <textarea id="feedbackContent" placeholder="Your Feedback..." rows="10" cols="50"></textarea>
  23. <input class="button" type="submit" value="SUBMIT">
  24. </form>
  25. </div>
  26. </div>
  27. </div>