Added sample switch data, and augmented selection logic to fetch the detail data from the server.
Also used styled table for displaying properties.
diff --git a/web/gui/src/main/webapp/json/of_0000000000000012.json b/web/gui/src/main/webapp/json/of_0000000000000012.json
new file mode 100644
index 0000000..2a00e0c
--- /dev/null
+++ b/web/gui/src/main/webapp/json/of_0000000000000012.json
@@ -0,0 +1,11 @@
+{
+ "comment": "sample device properties",
+ "id": "of:0000000000000012",
+ "propOrder": [ "name", "type", "dpid", "optLink" ],
+ "props": {
+ "name": "SJC-pkt",
+ "dpid": "00:00:00:00:00:00:00:12",
+ "type": "SwitchX",
+ "optLink": "SJC-W10"
+ }
+}