| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <!DOCTYPE html>
- <html>
- <head>
- <link rel="stylesheet" href="/merchantSetupPage/merchantSetup.css">
- <link rel="stylesheet" href="/shared/shared.css">
- </head>
- <body>
- <% include ../shared/header %>
- <div id="addIngredients" class="container">
- <h1>Add your first set of ingredients to your pantry</h1>
- <h3>Choose from our list of ingredients</h3>
- <h5>(Can't find something? You can create it in the next step)</h5>
-
- <table id="ingredient-display">
- <thead>
- <tr>
- <th>Add</th>
- <th>Ingredient</th>
- <th>Category</th>
- <th>Quantity</th>
- <th>Unit</th>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- <button onclick="updateState(1)">Next</button>
- </div>
- <div id="newIngredients" class="container">
- <h1>Add your first set of ingredients to your pantry</h1>
- <h3>Create your own ingredients</h3>
- <table id="inputField">
- <thead>
- <tr>
- <th>Ingredient Name</th>
- <th>Category</th>
- <th>Quantity</th>
- <th>Measurement Unit</th>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- <button onclick="newIngredientField()">+</button>
- <button onclick="updateState(1)">Create Ingredients</button>
- <button onclick="updateState(-1)">Back</button>
- </div>
- <div id="createRecipes" class="container">
- <h1>Create your recipes</h1>
- <h2 id="recipeName"></h2>
- <table id="recipes">
- <thead>
- <tr>
- <th>Ingredient</th>
- <th>Quantity</th>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- <button onclick="addRecipeIngredientField()">+</button>
- <button id="next"></button>
- <button onclick="changeRecipe(-1)">Previous Recipe</button>
- </div>
- <script>
- let ingredients = <%- JSON.stringify(ingredients) %>;
- let recipes = <%- JSON.stringify(recipes) %>;
- </script>
- <script src="/merchantSetupPage/merchantSetup.js"></script>
- </body>
- </html>
|