git://git.onelab.eu
/
myslice.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pop up info about a resource, coodrinates are coming from Manifold (hardcoded or...
[myslice.git]
/
plugins
/
querytable
/
static
/
js
/
querytable.js
diff --git
a/plugins/querytable/static/js/querytable.js
b/plugins/querytable/static/js/querytable.js
index
5fd2314
..
7e72f2a
100644
(file)
--- a/
plugins/querytable/static/js/querytable.js
+++ b/
plugins/querytable/static/js/querytable.js
@@
-173,7
+173,7
@@
QUERYTABLE_BGCOLOR_REMOVED = 2;
'facility' : aData[5],
};
'facility' : aData[5],
};
-
+ /*
//Greece: 37.6687092,22.2282404
if (network_hrn == 'omf.nitos') {
var logo = 'nitos';
//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') {
};
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("-");
var logo = network_hrn;
var s = resourceData['hostname'].split(".");
var n = s[0].split("-");