addIngredients.ejs 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <div id="addIngredients">
  2. <button class="sidebarIconButton" onclick="closeSidebar()">
  3. <svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  4. <line x1="5" y1="12" x2="19" y2="12"></line>
  5. <polyline points="12 5 19 12 12 19"></polyline>
  6. </svg>
  7. </button>
  8. <h1>Add New Ingredients</h1>
  9. <div id="addIngredientList"></div>
  10. <template id="addIngredientsCategory">
  11. <div class="addIngredientsCategory">
  12. <div class="categoryHeader">
  13. <h5></h5>
  14. <button>
  15. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  16. <polyline points="6 9 12 15 18 9"></polyline>
  17. </svg>
  18. <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  19. <polyline points="18 15 12 9 6 15"></polyline>
  20. </svg>
  21. </button>
  22. </div>
  23. <div class="addIngredientsIngredients"></div>
  24. </div>
  25. </template>
  26. <template id="addIngredientsIngredient">
  27. <div class="addIngredientsIngredient">
  28. <input type="checkbox">
  29. <p></p>
  30. <input type="number" min="0" step="0.01">
  31. </div>
  32. </template>
  33. </div>