| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <title>The Subline</title>
- <link rel="icon" type="img/png" href="/shared/images/logo.png">
- <link rel="stylesheet" href="/recipesPage/recipes.css">
- <link rel="stylesheet" href="/shared/shared.css">
- </head>
- <body>
- <% include ../shared/header %>
- <% include ../shared/banner %>
- <div id="recipesStrand">
- <h1>Recipes</h1>
- <% if(merchant.pos !== "none"){ %>
- <button id="recipeUpdate" onclick="recipesObj.updateRecipes()">Update Recipes</button>
- <% } %>
- <a href="/inventory">Return to Inventory</a>
- <div id="recipesContainer"></div>
- </div>
- <div id="singleRecipeStrand" >
- <h1></h1>
- <button id="addButton">Add Ingredient</button>
- <button onclick="recipesObj.display()">Back to Recipes</button>
- <table>
- <thead>
- <tr>
- <th>Name</th>
- <th>Quantity</th>
- <th></th>
- </tr>
- </thead>
- <tbody></tbody>
- </table>
- </div>
- <script>let merchant = <%- JSON.stringify(merchant) %>;</script>
- <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
- <script src="../shared/validation.js"></script>
- <script src="/recipesPage/recipes.js"></script>
- <script src="/recipesPage/singleRecipe.js"></script>
- <script src="/recipesPage/controller.js"></script>
- </body>
- </html>
|