| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <div id="addRecipe">
- <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 Recipe</h1>
- <div class="recipeBasicInfo">
- <label>Name:
- <input id="newRecipeName" type="text">
- </label>
- <label>Price:
- <input id="newRecipePrice" type="number" step="0.01" min="0">
- </label>
- <label># of Ingredients
- <input id="ingredientCount" type="number" step="1" min="1" onchange="newRecipeComp.changeRecipeCount()">
- </label>
- </div>
- <h2>Ingredients</h2>
-
- <div id="recipeInputIngredients">
- <div>
- <h4>Ingredient 1</h4>
- <label>Ingredient:
- <select></select>
- </label>
- <label>Quantity:
- <input type="number" step="0.01" min="0">
- </label>
- </div>
- </div>
-
- <button class="button" onclick="newRecipeComp.submit()">Create</button>
- </div>
|