|
@@ -30,7 +30,7 @@
|
|
|
<button id="menuShifter2" onclick="controller.changeMenu()">≡</button>
|
|
<button id="menuShifter2" onclick="controller.changeMenu()">≡</button>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- <button class="menuButton active" id="homeBtn" onclick="controller.openStrand('home')">
|
|
|
|
|
|
|
+ <button class="menuButton active" id="homeBtn">
|
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
|
|
<path d="M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z"></path>
|
|
|
<polyline points="9 22 9 12 15 12 15 22"></polyline>
|
|
<polyline points="9 22 9 12 15 12 15 22"></polyline>
|
|
@@ -38,7 +38,7 @@
|
|
|
<p>DASHBOARD</p>
|
|
<p>DASHBOARD</p>
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
- <button class="menuButton" id="ingredientsBtn" onclick="controller.openStrand('ingredients')">
|
|
|
|
|
|
|
+ <button class="menuButton" id="ingredientsBtn">
|
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
<polyline points="21 8 21 21 3 21 3 8"></polyline>
|
|
<polyline points="21 8 21 21 3 21 3 8"></polyline>
|
|
|
<rect x="1" y="3" width="22" height="5"></rect>
|
|
<rect x="1" y="3" width="22" height="5"></rect>
|
|
@@ -47,7 +47,7 @@
|
|
|
<p>INGREDIENTS</p>
|
|
<p>INGREDIENTS</p>
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
- <button class="menuButton" id="recipeBookBtn" onclick="controller.openStrand('recipeBook')">
|
|
|
|
|
|
|
+ <button class="menuButton" id="recipeBookBtn">
|
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
|
|
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path>
|
|
|
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
|
|
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path>
|
|
@@ -55,7 +55,7 @@
|
|
|
<p>RECIPE BOOK</p>
|
|
<p>RECIPE BOOK</p>
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
- <button class="menuButton" id="analyticsBtn" onclick="controller.openStrand('analytics')">
|
|
|
|
|
|
|
+ <button class="menuButton" id="analyticsBtn">
|
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
<polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline>
|
|
<polyline points="23 6 13.5 15.5 8.5 10.5 1 18"></polyline>
|
|
|
<polyline points="17 6 23 6 23 12"></polyline>
|
|
<polyline points="17 6 23 6 23 12"></polyline>
|
|
@@ -63,7 +63,7 @@
|
|
|
<p>ANALYTICS</p>
|
|
<p>ANALYTICS</p>
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
- <button class="menuButton" id="ordersBtn" onclick="controller.openStrand('orders')">
|
|
|
|
|
|
|
+ <button class="menuButton" id="ordersBtn">
|
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
<circle cx="9" cy="21" r="1"></circle>
|
|
<circle cx="9" cy="21" r="1"></circle>
|
|
|
<circle cx="20" cy="21" r="1"></circle>
|
|
<circle cx="20" cy="21" r="1"></circle>
|
|
@@ -72,7 +72,7 @@
|
|
|
<p>ORDERS</p>
|
|
<p>ORDERS</p>
|
|
|
</button>
|
|
</button>
|
|
|
|
|
|
|
|
- <button class="menuButton" id="transactionsBtn" onclick="controller.openStrand('transactions')">
|
|
|
|
|
|
|
+ <button class="menuButton" id="transactionsBtn">
|
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
<svg width="25" height="25" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect>
|
|
<rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect>
|
|
|
<line x1="1" y1="10" x2="23" y2="10"></line>
|
|
<line x1="1" y1="10" x2="23" y2="10"></line>
|
|
@@ -157,28 +157,11 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="searchBar">
|
|
<div class="searchBar">
|
|
|
- <div class="searchAndIcon">
|
|
|
|
|
- <svg class="mobileHide" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
- <circle cx="11" cy="11" r="8"></circle>
|
|
|
|
|
- <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
|
|
|
- </svg>
|
|
|
|
|
- <input id="ingredientSearch" type="text" placeholder="FILTER">
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <button id="ingredientClearButton" class="clearButton" style="display: none;">
|
|
|
|
|
- <svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
- <circle cx="12" cy="12" r="10"></circle>
|
|
|
|
|
- <line x1="15" y1="9" x2="9" y2="15"></line>
|
|
|
|
|
- <line x1="9" y1="9" x2="15" y2="15"></line>
|
|
|
|
|
- </svg>
|
|
|
|
|
- </button>
|
|
|
|
|
-
|
|
|
|
|
- <select id="ingredientSelect" class="mobileHide">Sort By:
|
|
|
|
|
- <option value="" selected disabled>Sort By:</option>
|
|
|
|
|
- <option value="_name">Ingredient</option>
|
|
|
|
|
- <option value="category">Category</option>
|
|
|
|
|
- <option value="unit">Unit of Measurement</option>
|
|
|
|
|
- </select>
|
|
|
|
|
|
|
+ <svg class="searchButton" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
+ <circle cx="11" cy="11" r="8"></circle>
|
|
|
|
|
+ <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
|
|
|
+ </svg>
|
|
|
|
|
+ <input id="ingredientSearch" class="searchInput" type="text" placeholder="SEARCH">
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div id="categoryList"></div>
|
|
<div id="categoryList"></div>
|
|
@@ -200,7 +183,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<template id="ingredient">
|
|
<template id="ingredient">
|
|
|
- <div class="ingredient">
|
|
|
|
|
|
|
+ <div class="ingredient choosable tall">
|
|
|
<p></p>
|
|
<p></p>
|
|
|
|
|
|
|
|
<hr class="ingredientSpacer mobileHide">
|
|
<hr class="ingredientSpacer mobileHide">
|
|
@@ -222,27 +205,17 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="searchBar">
|
|
<div class="searchBar">
|
|
|
- <div class="searchAndIcon">
|
|
|
|
|
- <svg class="mobileHide" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
- <circle cx="11" cy="11" r="8"></circle>
|
|
|
|
|
- <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
|
|
|
- </svg>
|
|
|
|
|
- <input id="recipeSearch" type="text" placeholder="FILTER">
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <button id="recipeClearButton" class="clearButton" style="display: none;">
|
|
|
|
|
- <svg width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
- <circle cx="12" cy="12" r="10"></circle>
|
|
|
|
|
- <line x1="15" y1="9" x2="9" y2="15"></line>
|
|
|
|
|
- <line x1="9" y1="9" x2="15" y2="15"></line>
|
|
|
|
|
- </svg>
|
|
|
|
|
- </button>
|
|
|
|
|
|
|
+ <svg class="searchButton" width="30" height="30" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
+ <circle cx="11" cy="11" r="8"></circle>
|
|
|
|
|
+ <line x1="21" y1="21" x2="16.65" y2="16.65"></line>
|
|
|
|
|
+ </svg>
|
|
|
|
|
+ <input id="recipeSearch" class="searchInput" type="text" placeholder="SEARCH">
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div id="recipeList"></div>
|
|
<div id="recipeList"></div>
|
|
|
|
|
|
|
|
<template id="recipe">
|
|
<template id="recipe">
|
|
|
- <div class="itemDisplay">
|
|
|
|
|
|
|
+ <div class="choosable tall">
|
|
|
<p></p>
|
|
<p></p>
|
|
|
<p></p>
|
|
<p></p>
|
|
|
</div>
|
|
</div>
|
|
@@ -394,53 +367,17 @@
|
|
|
<div class="strandHead">
|
|
<div class="strandHead">
|
|
|
<h1 class="strandTitle">TRANSACTIONS</h1>
|
|
<h1 class="strandTitle">TRANSACTIONS</h1>
|
|
|
|
|
|
|
|
- <button class="button mobileHide" onclick="controller.openSidebar('newTransaction')">NEW</button>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <form id="transFormSubmit" class="filterForm">
|
|
|
|
|
- <h2>Search</h2>
|
|
|
|
|
- <div>
|
|
|
|
|
- <div class="dropdown">
|
|
|
|
|
- <div class="dropdownHead">
|
|
|
|
|
- <p>DATES</p>
|
|
|
|
|
- <button id="dateFilterBtn">
|
|
|
|
|
- <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
- <polyline points="6 9 12 15 18 9"></polyline>
|
|
|
|
|
- </svg>
|
|
|
|
|
- </button>
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="dropdownContents" id="dateDropdown">
|
|
|
|
|
- <label>From:
|
|
|
|
|
- <input id="transFilDate1"type="date">
|
|
|
|
|
- </label>
|
|
|
|
|
-
|
|
|
|
|
- <label>To:
|
|
|
|
|
- <input id="transFilDate2" type="date">
|
|
|
|
|
- </label>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- </div>
|
|
|
|
|
- <div class="dropdown">
|
|
|
|
|
- <div class="dropdownHead">
|
|
|
|
|
- <p>RECIPES</p>
|
|
|
|
|
- <button id="recipeFilterBtn">
|
|
|
|
|
- <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
|
|
|
- <polyline points="6 9 12 15 18 9"></polyline>
|
|
|
|
|
- </svg>
|
|
|
|
|
- </button>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <div class="buttonBox">
|
|
|
|
|
+ <button id="filterTransactionsButton" class="button">FILTER</button>
|
|
|
|
|
|
|
|
- <div class="dropdownContents" id="recipeDropDown"></div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ <button id="newTransactionButton" class="button mobileHide">NEW</button>
|
|
|
</div>
|
|
</div>
|
|
|
-
|
|
|
|
|
- <input class="button" type="submit" value="SUBMIT">
|
|
|
|
|
- </form>
|
|
|
|
|
|
|
+ </div>
|
|
|
|
|
|
|
|
<div id="transactionsList" class="transactionsList"></div>
|
|
<div id="transactionsList" class="transactionsList"></div>
|
|
|
|
|
|
|
|
<template id="transaction">
|
|
<template id="transaction">
|
|
|
- <div class="itemDisplay">
|
|
|
|
|
|
|
+ <div class="choosable tall">
|
|
|
<p></p>
|
|
<p></p>
|
|
|
<p></p>
|
|
<p></p>
|
|
|
<p></p>
|
|
<p></p>
|
|
@@ -461,6 +398,7 @@
|
|
|
<% include ./sidebars/newTransaction %>
|
|
<% include ./sidebars/newTransaction %>
|
|
|
<% include ./sidebars/editRecipe %>
|
|
<% include ./sidebars/editRecipe %>
|
|
|
<% include ./sidebars/orderFilter %>
|
|
<% include ./sidebars/orderFilter %>
|
|
|
|
|
+ <% include ./sidebars/transactionFilter %>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<% include ../shared/loader %>
|
|
<% include ../shared/loader %>
|