Removes ui-grid and uses native tables instead

This commit is contained in:
GloriousCode
2017-03-06 19:37:59 +11:00
parent be4732ddfb
commit 37aaf55dc8
3 changed files with 29 additions and 13 deletions

View 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;
}

View File

@@ -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>

View File

@@ -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",