Răsfoiți Sursa

Add basic information to account strand

Lee Morgan 6 ani în urmă
părinte
comite
fd8ebbd41c
2 a modificat fișierele cu 13 adăugiri și 2 ștergeri
  1. 4 0
      views/inventoryPage/inventory.css
  2. 9 2
      views/inventoryPage/inventory.ejs

+ 4 - 0
views/inventoryPage/inventory.css

@@ -83,6 +83,10 @@
     align-items: center;
 }
 
+    #accountStrand label{
+        display: flex;
+    }
+
 /* Add Ingredient Action */
 #addIngredientAction{
     flex-direction: column;

+ 9 - 2
views/inventoryPage/inventory.ejs

@@ -54,8 +54,15 @@
         </div>
 
         <div id="accountStrand" class="strand">
-            <h1>Account Strand</h1>
-            <form onsubmit="accountObj.submitForm()"></form>
+            <form onsubmit="accountObj.submitForm()">
+                <label>Name:&nbsp;&nbsp;
+                    <p><%=merchant.name%></p>
+                </label>
+
+                <label>Email:&nbsp;&nbsp;
+                    <p><%=merchant.email%></p>
+                </label>
+            </form>
         </div>
 
         <div id="addIngredientAction" class="action">