1 {% extends "layout.html" %}
5 <script type="text/javascript" src="//goessner.net/download/prj/jsonxml/json2xml.js"></script>
6 <script type="text/javascript" src="//goessner.net/download/prj/jsonxml/xml2json.js"></script>
10 <div class="col-md-12">
11 <h1><img src="{{ STATIC_URL }}icons/slices-xs.png" alt="List of Resources" /> Resources List</h1>
17 <div class="col-md-12">
19 {% for error in errors %}
27 <div class="row" id="table">
31 jQuery(document).ready(function(){
33 // sfa/Describe?hrn=onelab.upmc.projectx.slicex&type=slice
34 $.post("/sfa/Describe",{'hrn':'{{slicename}}','type':'slice','platform':['ple'],'display':'table'}, function( data ) {
36 $('#table').html(data);
39 $.post("/sfa/ListResources",{'platform':['ple'],'display':'table'}, function( data ) {
40 //$.post("/sfa/ListResources",{'display':'table'}, function( data ) {
42 $('#table').html(data);
46 //$.post("/sfa/ListResources",{'platform':['ple'],'display':'table'}, function( data ) {
47 $.post("/sfa/ListResources",{}, function( data ) {
49 $.each(data, function(key) {
51 $('#table').html(data[key]['value']);
55 $.post("/sfa/Renew",{'hrn':'{{slicename}}','type':'slice'}, function( data ) {