|
42 | 42 | </md-input-container> |
43 | 43 |
|
44 | 44 | <div layout-gt-sm="row"> |
45 | | - <md-input-container flex-gt-sm> |
| 45 | + <md-input-container flex-gt-sm class="md-block"> |
46 | 46 | <label>Barcode</label> |
47 | 47 | <input type="text" name="barcode" ng-model="product.barcode"> |
48 | 48 | </md-input-container> |
49 | 49 |
|
50 | | - <md-input-container flex-gt-sm> |
| 50 | + <md-input-container flex-gt-sm class="md-block"> |
51 | 51 | <label>Warehouse</label> |
52 | 52 | <md-select name="warehouse" ng-model="product.warehouse"> |
53 | 53 | <md-option value="None">None</md-option> |
|
58 | 58 | </md-select> |
59 | 59 | </md-input-container> |
60 | 60 |
|
61 | | - <md-input-container flex-gt-sm> |
| 61 | + <md-input-container flex-gt-sm class="md-block"> |
62 | 62 | <label>Category</label> |
63 | 63 | <md-select name="category" ng-model="product.category"> |
64 | 64 | <md-option value="Electronics">Electronics</md-option> |
|
69 | 69 | </div> |
70 | 70 |
|
71 | 71 | <div layout="row"> |
72 | | - <md-input-container flex-gt-sm> |
| 72 | + <md-input-container flex-gt-sm class="md-block"> |
73 | 73 | <label>Product SKU</label> |
74 | 74 | <input type="text" name="sku" ng-model="product.sku"> |
75 | 75 | </md-input-container> |
76 | 76 |
|
77 | | - <md-input-container flex-gt-sm> |
| 77 | + <md-input-container flex-gt-sm class="md-block"> |
78 | 78 | <label>Product Serial Number</label> |
79 | 79 | <input type="text" name="serial_number" ng-model="product.serial_number"> |
80 | 80 | </md-input-container> |
81 | 81 |
|
82 | | - <md-input-container flex-gt-sm> |
| 82 | + <md-input-container flex-gt-sm class="md-block"> |
83 | 83 | <label>Product Quantity</label> |
84 | 84 | <input type="number" name="quantity" ng-model="product.quantity"> |
85 | 85 | </md-input-container> |
86 | 86 | </div> |
87 | 87 |
|
88 | 88 | <div layout="row"> |
89 | | - <md-input-container flex-gt-sm> |
| 89 | + <md-input-container flex-gt-sm class="md-block"> |
90 | 90 | <label>Reorder Stock Amount</label> |
91 | 91 | <input type="number" name="reordered_stock_amount" ng-model="product.reordered_stock_amount"> |
92 | 92 | </md-input-container> |
93 | 93 |
|
94 | | - <md-input-container flex-gt-sm> |
| 94 | + <md-input-container flex-gt-sm class="md-block"> |
95 | 95 | <label>Product Purchase Price</label> |
96 | 96 | <input type="number" name="purchase_price" ng-model="product.purchase_price"> |
97 | 97 | </md-input-container> |
98 | 98 |
|
99 | | - <md-input-container flex-gt-sm> |
| 99 | + <md-input-container flex-gt-sm class="md-block"> |
100 | 100 | <label>Product Selling Price</label> |
101 | 101 | <input type="number" name="selling_price" ng-model="product.selling_price"> |
102 | 102 | </md-input-container> |
103 | 103 | </div> |
104 | 104 |
|
105 | 105 | <div layout="row"> |
106 | | - <md-input-container flex="25"> |
| 106 | + <md-input-container flex="25" class="md-block"> |
107 | 107 | <input type="file" aria-label="File Upload" onchange="angular.element(this).scope().SelectFile(event)" class="custom-file-input" file-model="product.file" /> |
108 | 108 | <hr /> |
109 | 109 | <img ng-src="{{PreviewImage}}" ng-show="PreviewImage != null" alt="" style="height:100px;" /> |
110 | 110 | </md-input-container> |
111 | 111 | </div> |
112 | 112 |
|
113 | | - <div> |
| 113 | + <div class="md-block"> |
114 | 114 | <md-button md-no-ink class="md-raised md-primary" type="submit" ng-click="submit()">Submit</md-button> |
115 | 115 | </div> |
116 | 116 |
|
|
0 commit comments