Pop up info about a resource, coodrinates are coming from Manifold (hardcoded or...
authorLoic Baron <loic.baron@lip6.fr>
Fri, 19 Dec 2014 18:55:52 +0000 (19:55 +0100)
committerLoic Baron <loic.baron@lip6.fr>
Fri, 19 Dec 2014 18:55:52 +0000 (19:55 +0100)
plugins/querytable/static/js/querytable.js
portal/static/img/testbeds/omf.nitos.png [new file with mode: 0644]
portal/static/img/testbeds/paris.fit-nitos.fr.png [new file with mode: 0644]

index 5fd2314..7e72f2a 100644 (file)
@@ -173,7 +173,7 @@ QUERYTABLE_BGCOLOR_REMOVED = 2;
                     'facility' : aData[5],
                 };
                 
-                
+                /*
                 //Greece: 37.6687092,22.2282404
                 if (network_hrn == 'omf.nitos') {
                     var logo = 'nitos';
@@ -183,6 +183,8 @@ QUERYTABLE_BGCOLOR_REMOVED = 2;
                     };
                     var coordinates = resourceLocation['latitude']+','+resourceLocation['longitude'];
                 } else if (network_hrn == 'iotlab') {
+                */
+                if (network_hrn == 'iotlab') {
                     var logo = network_hrn;
                     var s = resourceData['hostname'].split(".");
                     var n = s[0].split("-");
diff --git a/portal/static/img/testbeds/omf.nitos.png b/portal/static/img/testbeds/omf.nitos.png
new file mode 100644 (file)
index 0000000..311fbbb
Binary files /dev/null and b/portal/static/img/testbeds/omf.nitos.png differ
diff --git a/portal/static/img/testbeds/paris.fit-nitos.fr.png b/portal/static/img/testbeds/paris.fit-nitos.fr.png
new file mode 100644 (file)
index 0000000..e21fc4b
Binary files /dev/null and b/portal/static/img/testbeds/paris.fit-nitos.fr.png differ