From 37aaf55dc8f6c26e2bbac995e41be0e28d32ef4a Mon Sep 17 00:00:00 2001 From: GloriousCode Date: Mon, 6 Mar 2017 19:37:59 +1100 Subject: [PATCH] Removes ui-grid and uses native tables instead --- web/app/components/buy-orders/buy-orders.css | 12 +++++++++ web/app/components/buy-orders/buy-orders.html | 27 +++++++++++-------- web/package.json | 3 +-- 3 files changed, 29 insertions(+), 13 deletions(-) create mode 100644 web/app/components/buy-orders/buy-orders.css diff --git a/web/app/components/buy-orders/buy-orders.css b/web/app/components/buy-orders/buy-orders.css new file mode 100644 index 00000000..d76f0485 --- /dev/null +++ b/web/app/components/buy-orders/buy-orders.css @@ -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; +} \ No newline at end of file diff --git a/web/app/components/buy-orders/buy-orders.html b/web/app/components/buy-orders/buy-orders.html index aff8fd27..d3e7502f 100644 --- a/web/app/components/buy-orders/buy-orders.html +++ b/web/app/components/buy-orders/buy-orders.html @@ -1,20 +1,25 @@ -
- + +
+
- - - - + + + + +
Price{{currencyOne}}{{currencyTwo}}Sum({{currencyTwo}})Price{{currencyOne}}{{currencyTwo}}Sum({{currencyTwo}})
+
+ - - - - + + + +
{{buyOrder.price}}{{buyOrder.currencyOneAmount}}{{buyOrder.currencyTwoAmount}}{{buyOrder.sum}}{{buyOrder.price}}{{buyOrder.currencyOneAmount}}{{buyOrder.currencyTwoAmount}}{{buyOrder.sum}}
-
\ No newline at end of file +
+
\ No newline at end of file diff --git a/web/package.json b/web/package.json index d7b44667..f801b12c 100644 --- a/web/package.json +++ b/web/package.json @@ -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",