X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=plugins%2Fquerytable%2Fstatic%2Fjs%2Fquerytable.js;h=7e72f2aea8bb38cab1aa2ce27bdde0a87db19846;hb=69712350b0ab34f5d41aff5910c747f4282ca3bf;hp=3c1aab2ae192ca2a5a573bae7831c065abc775f6;hpb=3b39e97b04f9333fd58978120f00c1b4ffffbc41;p=unfold.git diff --git a/plugins/querytable/static/js/querytable.js b/plugins/querytable/static/js/querytable.js index 3c1aab2a..7e72f2ae 100644 --- a/plugins/querytable/static/js/querytable.js +++ b/plugins/querytable/static/js/querytable.js @@ -10,14 +10,6 @@ QUERYTABLE_BGCOLOR_REMOVED = 2; (function($){ - - var QUERYTABLE_MAP = { - 'Facility': 'facility_name', - 'Testbed': 'testbed_name', - 'Resource name': 'hostname', - 'Type': 'type', - }; - var debug=false; // debug=true @@ -181,8 +173,7 @@ QUERYTABLE_BGCOLOR_REMOVED = 2; 'facility' : aData[5], }; - - console.log(network_hrn); + /* //Greece: 37.6687092,22.2282404 if (network_hrn == 'omf.nitos') { var logo = 'nitos'; @@ -192,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("-");