mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-05-14 15:09:51 +00:00
Removes ui-grid and uses native tables instead
This commit is contained in:
12
web/app/components/buy-orders/buy-orders.css
Normal file
12
web/app/components/buy-orders/buy-orders.css
Normal file
@@ -0,0 +1,12 @@
|
||||
.table-fixed-heading {
|
||||
margin-bottom:0px;
|
||||
}
|
||||
|
||||
.buy-order-table th,.buy-order-table td {
|
||||
width:25%;
|
||||
}
|
||||
|
||||
.buy-order-data {
|
||||
max-height:200px;
|
||||
overflow-y:scroll;
|
||||
}
|
||||
@@ -1,20 +1,25 @@
|
||||
<div class="col-md-12">
|
||||
<table class="table table-striped">
|
||||
<link rel="stylesheet" href="/components/buy-orders/buy-orders.css" />
|
||||
<div class="col-md-12 buy-order-table">
|
||||
<table class="table table-striped table-fixed-heading">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Price</th>
|
||||
<th>{{currencyOne}}</th>
|
||||
<th>{{currencyTwo}}</th>
|
||||
<th>Sum({{currencyTwo}})</th>
|
||||
<th >Price</th>
|
||||
<th >{{currencyOne}}</th>
|
||||
<th >{{currencyTwo}}</th>
|
||||
<th >Sum({{currencyTwo}})</th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
<div class="buy-order-data">
|
||||
<table class="table table-striped">
|
||||
<tbody>
|
||||
<tr ng-repeat="buyOrder in buyOrders">
|
||||
<td>{{buyOrder.price}}</td>
|
||||
<td>{{buyOrder.currencyOneAmount}}</td>
|
||||
<td>{{buyOrder.currencyTwoAmount}}</td>
|
||||
<td>{{buyOrder.sum}}</td>
|
||||
<td >{{buyOrder.price}}</td>
|
||||
<td >{{buyOrder.currencyOneAmount}}</td>
|
||||
<td >{{buyOrder.currencyTwoAmount}}</td>
|
||||
<td >{{buyOrder.sum}}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div>
|
||||
<div>
|
||||
</div>
|
||||
@@ -17,8 +17,7 @@
|
||||
"protractor": "^3.2.2",
|
||||
"express": "latest",
|
||||
"requestify": "latest",
|
||||
"body-parser": "latest",
|
||||
"ui-grid":"latest"
|
||||
"body-parser": "latest"
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "bower install",
|
||||
|
||||
Reference in New Issue
Block a user