| 123456789101112131415161718192021222324252627282930 |
- <div id="newIngredient">
- <div class="sidebarIconButtons">
- <button class="iconButton" onclick="closeSidebar()">
- <svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
- <line x1="5" y1="12" x2="19" y2="12"></line>
- <polyline points="12 5 19 12 12 19"></polyline>
- </svg>
- </button>
- </div>
- <h1>New Ingredient</h1>
- <label>Name:
- <input id="newIngName" type="text">
- </label>
- <label>Category:
- <input id="newIngCategory" type="text">
- </label>
- <label>Quantity:
- <input id="newIngQuantity" type="number" min="0" step="0.01">
- </label>
- <label>Unit:
- <input id="newIngUnit" type="text">
- </label>
- <button class="button" onclick="newIngredientComp.submit()">Create</button>
- </div>
|