ingredients.ejs 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <div id="ingredientsStrand" class="strand">
  2. <div class="strandHead">
  3. <h1 class="strandTitle">INGREDIENT INVENTORY</h1>
  4. <button class="button mobileHide" onclick="controller.openSidebar('newIngredient')">NEW</button>
  5. </div>
  6. <div class="searchBar">
  7. <svg class="searchButton" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  8. <circle cx="11" cy="11" r="8"></circle>
  9. <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
  10. </svg>
  11. <input id="ingredientSearch" class="searchInput" type="text" placeholder="SEARCH">
  12. </div>
  13. <div id="categoryList"></div>
  14. <template id="categoryDiv">
  15. <div class="categoryDiv">
  16. <div>
  17. <p></p>
  18. <button>
  19. <svg width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  20. <polyline points="6 9 12 15 18 9"></polyline>
  21. </svg>
  22. </button>
  23. </div>
  24. <div class="ingredientsDiv"></div>
  25. </div>
  26. </template>
  27. <template id="ingredient">
  28. <div class="ingredient choosable tall">
  29. <p></p>
  30. <hr class="ingredientSpacer mobileHide">
  31. <p></p>
  32. </div>
  33. </template>
  34. </div>