Selaa lähdekoodia

Style enterTransactionsStrand

Lee Morgan 6 vuotta sitten
vanhempi
sitoutus
1d17b492e5
2 muutettua tiedostoa jossa 11 lisäystä ja 6 poistoa
  1. 7 0
      views/inventoryPage/inventory.css
  2. 4 6
      views/inventoryPage/inventory.ejs

+ 7 - 0
views/inventoryPage/inventory.css

@@ -4,6 +4,10 @@
     align-items: center;
     align-items: center;
 }
 }
 
 
+    #inventoryStrand > *{
+        margin: 10px;
+    }
+
     #inventoryStrand h1{
     #inventoryStrand h1{
         font-size: 40px;
         font-size: 40px;
         margin: 40px;
         margin: 40px;
@@ -47,6 +51,9 @@
     flex-direction: column;
     flex-direction: column;
     align-items: center;
     align-items: center;
 }
 }
+    #enterTransactionsStrand > *{
+        margin: 10px;
+    }
 
 
 @media screen and (max-width: 600px){
 @media screen and (max-width: 600px){
     /* inventoryStrand */
     /* inventoryStrand */

+ 4 - 6
views/inventoryPage/inventory.ejs

@@ -18,17 +18,15 @@
             <div class="options">
             <div class="options">
                 <a class="button" href="/recipes">View Recipes</a>
                 <a class="button" href="/recipes">View Recipes</a>
 
 
-                <input id="filter" onkeyup="inventoryObj.filter()" type="text" placeholder="FILTER INGREDIENTS">
-
                 <button class="button" onclick="addIngredientObj.display()">Add Ingredient</button>
                 <button class="button" onclick="addIngredientObj.display()">Add Ingredient</button>
 
 
                 <% if(merchant.pos === "none"){ %>
                 <% if(merchant.pos === "none"){ %>
                     <button class="button" onclick="enterTransactionsObj.display()">Enter Transactions</button>
                     <button class="button" onclick="enterTransactionsObj.display()">Enter Transactions</button>
                 <% } %>
                 <% } %>
-
-                
             </div>
             </div>
 
 
+            <input id="filter" onkeyup="inventoryObj.filter()" type="text" placeholder="FILTER INGREDIENTS">
+
             <table>
             <table>
                 <thead>
                 <thead>
                     <tr>
                     <tr>
@@ -88,7 +86,7 @@
         <div id="enterTransactionsStrand">
         <div id="enterTransactionsStrand">
             <h1>Enter items sold since (Date)</h1>
             <h1>Enter items sold since (Date)</h1>
             
             
-            <button onclick="inventoryObj.display()">Back to inventory</button>
+            <button class="button" onclick="inventoryObj.display()">Back to inventory</button>
 
 
             <table>
             <table>
                 <thead>
                 <thead>
@@ -100,7 +98,7 @@
                 <tbody></tbody>
                 <tbody></tbody>
             </table>
             </table>
 
 
-            <button onclick="enterTransactionsObj.submit()">Submit</button>
+            <button class="button" onclick="enterTransactionsObj.submit()">Submit</button>
         </div>
         </div>
 
 
         <script>
         <script>