Parcourir la source

Update and test both recipes subpages in their new home

Lee Morgan il y a 6 ans
Parent
commit
ec4f5ca5d4

+ 0 - 2
views/inventoryPage/enterTransactions.js

@@ -5,8 +5,6 @@ window.enterTransactionsObj = {
         clearScreen();
         document.querySelector("#enterTransactionsAction").style.display = "flex";
 
-        console.log(typeof(merchant.lastUpdatedTime));
-
         document.querySelector("#updated").innerText = new Date(Number(merchant.lastUpdatedTime)).toDateString();
 
         if(!this.isPopulated){

+ 0 - 4
views/inventoryPage/inventory.css

@@ -133,10 +133,6 @@
         display: "none"
     }
 
-    #recipeName{
-        margin-top: 0;
-    }
-
 @media screen and (max-width: 1000px){
     /* General use */
     body{

+ 1 - 4
views/inventoryPage/inventory.ejs

@@ -132,13 +132,10 @@
         </div>
 
         <div id="singleRecipeAction" class="action">
-            <h1><span><%=merchant.name%></span>'s</h1>
-            <h1 id="recipeName"></h1>
+            <h2 id="recipeName"></h2>
 
             <div class="buttonsDiv">
                 <button class="button" id="addButton">Add Ingredient</button>
-
-                <button class="button" onclick="recipesObj.display()">Back to Recipes</button>
             </div>
 
             <table>