ONOS-4971: Synthetic Link Data -- WIP, merge anyway
- created temp Topology2 View (topoX) to "process" and display topology data.
- made root layout parent of itself (just like /.. = /) to simplify layout hierarchy operations.
- added nodeType property to JSON rep of regions/devices/hosts.
- augmented peers to include devices.
- added skeleton topo2NavRegion event.
Change-Id: I8219125d7dfe33d211350ae27111a3d9de6eb4ca
diff --git a/web/gui/src/main/webapp/app/view/topo2/topo2.css b/web/gui/src/main/webapp/app/view/topo2/topo2.css
index 7f878a5..6ec4f02 100644
--- a/web/gui/src/main/webapp/app/view/topo2/topo2.css
+++ b/web/gui/src/main/webapp/app/view/topo2/topo2.css
@@ -25,3 +25,28 @@
/* prevents the little cut/copy/paste square that would appear on iPad */
-webkit-user-select: none;
}
+
+/* -- TEMPORARY CSS (to be deleted) -- */
+#topo2tmp div {
+ padding: 8px 24px;
+ margin: 8px;
+ background-color: #ddddff;
+}
+#topo2tmp div div {
+ padding: 4px 10px;
+}
+
+#topo2tmp h4 {
+ margin: 0
+}
+#topo2tmp p {
+ margin: 0
+}
+#topo2tmp .nav-me:hover {
+ background-color: #bbbbdd;
+}
+#topo2tmp .nav-me {
+ font-weight: bold;
+ text-decoration: underline;
+ cursor: pointer;
+}