Commit dca00e6e6b884e8cd92b9be7e82dd27f60ae3814

Authored by Andrea Petta
1 parent 80daba93

datalet creator

Showing 1 changed file with 3 additions and 3 deletions
demo-stg.html
... ... @@ -49,7 +49,7 @@
49 49 '\<script type="text/javascript" src="https://code.jquery.com/jquery-2.1.4.min.js"\>\<\/script\>\n' +
50 50 '<!-- REMOVE THE PREVIOUS SCRIPT TAGS IF YOUR PAGE ALREADY USES JQUERY AND POLYFILL LIBRARIES -->\n';
51 51  
52   - var dataletLink = '<link rel="import" href="http://deep.routetopa.eu/COMPONENTS/datalets/'+e.detail.data.datalet+'/'+e.detail.data.datalet+'.html" /> \n';
  52 + var dataletLink = '<link rel="import" href="http://stage.routetopa.eu/COMPONENTS/datalets/'+e.detail.data.datalet+'/'+e.detail.data.datalet+'.html" /> \n';
53 53  
54 54 editAreaLoader.setValue("sbiricuda", dataletImport+dataletLink+dataletHTML);
55 55 }
... ... @@ -143,13 +143,13 @@
143 143 console.log($("#div_datasetexplorer").html());
144 144 $("#div_datasetexplorer").html("CIAO !!");
145 145 console.log($("#div_datasetexplorer").html());
146   - $("#div_datasetexplorer").html("<datasetexplorer-datalet width=\""+w+"\" height=\""+h+"\" data-url=\"http://spod.routetopa.eu/openwall/api/datasetTree\" fields=\"[\"result,datasets,provider_name\",\"result,datasets,organization_name\",\"result,datasets,package_name\",\"result,datasets,resource_name\",\"result,datasets,url\",\"result,datasets,w\"]\"></datasetexplorer-datalet>");
  146 + $("#div_datasetexplorer").html("<datasetexplorer-datalet width=\""+w+"\" height=\""+h+"\" data-url=\"http://stage.routetopa.eu/openwall/api/datasetTree\" fields=\"[\"result,datasets,provider_name\",\"result,datasets,organization_name\",\"result,datasets,package_name\",\"result,datasets,resource_name\",\"result,datasets,url\",\"result,datasets,w\"]\"></datasetexplorer-datalet>");
147 147 console.log($("#div_datasetexplorer").html());*/
148 148 });
149 149 </script>
150 150 </head>
151 151 <body>
152   - <data-sevc-controllet localization="en" id="dsc" deep-url="http://deep.routetopa.eu/DEEP/" datalets-list-url="http://deep.routetopa.eu/DEEP/datalets-list"></data-sevc-controllet>
  152 + <data-sevc-controllet localization="en" id="dsc" deep-url="http://stage.routetopa.eu/deep/DEEP/" datalets-list-url="http://deep.routetopa.eu/deep/DEEP/datalets-list"></data-sevc-controllet>
153 153 </body>
154 154 '>
155 155 </iframe>
... ...