GUI - Added theme accessor to view token.

Change-Id: I0ee8b7c7c1b70762fc8fde4e88d22d37210bc636
diff --git a/web/gui/src/main/webapp/onos2.js b/web/gui/src/main/webapp/onos2.js
index 20c679a..3dd930c 100644
--- a/web/gui/src/main/webapp/onos2.js
+++ b/web/gui/src/main/webapp/onos2.js
@@ -587,7 +587,8 @@
                     setRadio: this.setRadio,
                     setKeys: this.setKeys,
                     dataLoadError: this.dataLoadError,
-                    alert: this.alert
+                    alert: this.alert,
+                    theme: this.theme
                 }
             },
 
@@ -679,6 +680,10 @@
                 setKeyBindings(keyArg);
             },
 
+            theme: function () {
+                return current.theme;
+            },
+
             uid: function (id) {
                 return makeUid(this, id);
             },
diff --git a/web/gui/src/main/webapp/topo2.js b/web/gui/src/main/webapp/topo2.js
index b1495bf..e5e73f6 100644
--- a/web/gui/src/main/webapp/topo2.js
+++ b/web/gui/src/main/webapp/topo2.js
@@ -221,8 +221,7 @@
     // Key Callbacks
 
     function testMe(view) {
-        //view.alert('test');
-        noWebSock(true);
+        view.alert('Theme is ' + view.theme());
     }
 
     function abortIfLive() {