GUI -- Tabular views have divs that encapsulate the header to make math easier for calculating table height. - fixed bug in Device Details Panel where Ports table wouldn't scroll. - Minor refactoring
Change-Id: I2d8133fb4a92f82087566084143c32deb7393fb3
diff --git a/web/gui/src/main/webapp/app/view/device/device.html b/web/gui/src/main/webapp/app/view/device/device.html
index 849e666..d68dbed 100644
--- a/web/gui/src/main/webapp/app/view/device/device.html
+++ b/web/gui/src/main/webapp/app/view/device/device.html
@@ -1,6 +1,9 @@
<!-- Device partial HTML -->
<div id="ov-device">
- <h2>Devices ({{ctrl.tableData.length}} total)</h2>
+ <div class="tabular-header">
+ <h2>Devices ({{ctrl.tableData.length}} total)</h2>
+ </div>
+
<table class="summary-list"
onos-fixed-header
onos-sortable-header
@@ -46,5 +49,4 @@
</tr>
</tbody>
</table>
-
</div>