merchantSetup.ejs 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <link rel="stylesheet" href="/merchantSetupPage/merchantSetup.css">
  5. <link rel="stylesheet" href="/shared/shared.css">
  6. </head>
  7. <body>
  8. <% include ../shared/header %>
  9. <div class="container">
  10. <h1>Add your first set of ingredients to your pantry</h1>
  11. <h3>Choose from our list of ingredients</h3>
  12. <table id="ingredient-display">
  13. <tr>
  14. <th>Add</th>
  15. <th>Ingredient</th>
  16. <th>Category</th>
  17. <th>Quantity</th>
  18. <th>Unit</th>
  19. </tr>
  20. </table>
  21. <div id="new-ingredient"></div>
  22. <!-- <button onclick="addField()">+</button> -->
  23. <button onclick="subData()">Finish</button>
  24. </div>
  25. <script>
  26. let ingredients = <%- JSON.stringify(ingredients) %>;
  27. let state = 0;
  28. </script>
  29. <script src="/merchantSetupPage/merchantSetup.js"></script>
  30. </body>
  31. </html>