addIngredients.ejs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <div id="addIngredients">
  2. <div class="sidebarIconButtons">
  3. <button class="iconButton" onclick="closeSidebar()">
  4. <svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  5. <line x1="5" y1="12" x2="19" y2="12"></line>
  6. <polyline points="12 5 19 12 12 19"></polyline>
  7. </svg>
  8. </button>
  9. </div>
  10. <h2>AVAILABLE INGREDIENTS</h2>
  11. <div id="addIngredientList"></div>
  12. <div class="lineBorder"></div>
  13. <div id="myIngredientsDiv">
  14. <h2>MY INGREDIENTS</h2>
  15. <div id="myIngredients"></div>
  16. <div class="lineBorder"></div>
  17. </div>
  18. <button id="addIngredientsBtn" class="button" onclick="addIngredientsComp.submit()">CREATE</button>
  19. <button class="button2Link" onclick="newIngredientComp.display()">CAN'T FIND WHAT YOU'RE LOOKING FOR? CREATE IT...</button>
  20. <template id="addIngredientsCategory">
  21. <div class="addIngredientsCategory">
  22. <div class="categoryHeader">
  23. <h5></h5>
  24. <button>
  25. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  26. <polyline points="6 9 12 15 18 9"></polyline>
  27. </svg>
  28. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  29. <polyline points="18 15 12 9 6 15"></polyline>
  30. </svg>
  31. </button>
  32. </div>
  33. <div class="addIngredientsIngredients"></div>
  34. </div>
  35. </template>
  36. <template id="addIngredientsIngredient">
  37. <div class="addIngredientsIngredient">
  38. <p></p>
  39. <button class="addButton">+</button>
  40. </div>
  41. </template>
  42. </div>