fix(ui): hide empty capacities table, round table corners
refactor(capacities): capacities-table directive to show capacity data