X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fbase.html;h=9bc52dd1264ed28f021eb0382d64c1df2e3ccc2a;hb=fce3531291a0c584c0ed6c93dcc135469ce3fa9d;hp=237cfa6b750b7fac335e98fc1fefa3d13553aacd;hpb=9501d64a10ee239095263fd7cad6f5e82ba7032a;p=unfold.git diff --git a/portal/templates/base.html b/portal/templates/base.html index 237cfa6b..9bc52dd1 100644 --- a/portal/templates/base.html +++ b/portal/templates/base.html @@ -69,11 +69,22 @@ $(document).ready(function() { slices = user.slices; drawSlices(slices); } + + /* + Launch queries to get the resources and leases in Manifold Cache + */ + function drawSlices(slices){ var items = []; $.each( slices, function(i, val) { items.push( "
  • " + val + "
  • " ); + /* + // Launch a Query for each slice to get resources and leases in Manifold Cache + // Now only done in Homeview to speed up the other pages + $.post("/rest/slice/", { 'filters': { 'slice_hrn' : val } }, function(data) { + }); + */ }); $("div#home-slice-list").html($( "