From: Loic Baron Date: Fri, 19 Dec 2014 18:55:52 +0000 (+0100) Subject: Pop up info about a resource, coodrinates are coming from Manifold (hardcoded or... X-Git-Tag: myslice-1.1~2 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=69712350b0ab34f5d41aff5910c747f4282ca3bf Pop up info about a resource, coodrinates are coming from Manifold (hardcoded or RSpecs), img logo per testbed added --- diff --git a/plugins/querytable/static/js/querytable.js b/plugins/querytable/static/js/querytable.js index 5fd23146..7e72f2ae 100644 --- 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], }; - + /* //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 index 00000000..311fbbb8 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 index 00000000..e21fc4ba Binary files /dev/null and b/portal/static/img/testbeds/paris.fit-nitos.fr.png differ