Thomas Vachuska
Committed by Gerrit Code Review

Tweaked summary panel on the GUI to place version information at the top.

Change-Id: Iffd2c8c566f353ef47a25b8a288b69186d90f014
......@@ -386,6 +386,8 @@ public abstract class TopologyViewMessageHandlerBase extends UiMessageHandler {
Topology topology = topologyService.currentTopology();
return new PropertyPanel("ONOS Summary", "node")
.addProp(Properties.VERSION, version)
.addSeparator()
.addProp(Properties.DEVICES, topology.deviceCount())
.addProp(Properties.LINKS, topology.linkCount())
.addProp(Properties.HOSTS, hostService.getHostCount())
......@@ -393,8 +395,7 @@ public abstract class TopologyViewMessageHandlerBase extends UiMessageHandler {
.addSeparator()
.addProp(Properties.INTENTS, intentService.getIntentCount())
.addProp(Properties.TUNNELS, tunnelService.tunnelCount())
.addProp(Properties.FLOWS, flowService.getFlowRuleCount())
.addProp(Properties.VERSION, version);
.addProp(Properties.FLOWS, flowService.getFlowRuleCount());
}
// Returns property panel model for device details response.
......
......@@ -82,10 +82,10 @@
#topo-p-detail {
/* Base css from panel.css */
top: 320px;
top: 338px;
}
html[data-platform='iPad'] #topo-p-detail {
top: 336px;
top: 354px;
}
#topo-p-detail .actionBtns .actionBtn {
......
......@@ -32,7 +32,7 @@
panelOpts = {
width: 260
},
sumMax = 240,
sumMax = 262,
padTop = 20,
devPath = 'device';
......