1 {% extends "workflow/viewport-element.html" %}
7 <p>Note that not all labs host every kind of machine.
8 As you make your selections, labs and hosts that are not compatible
9 with your current configuration will become unavailable.</p>
10 <h4>NOTE: Only PTL's are able to create multi-node PODs. See <a href="https://google.com">here</a>
12 <form id="define_hardware_form" action="/wf/workflow/" method="post">
14 {{form.filter_field|default:"<p>No Form</p>"}}
16 {% endblock content %}
18 var normalize = function(data){
19 //converts the top level keys in data to map to lists
21 for( var key in data ){
23 for( var subkey in data[key] ){
24 normalized[key].push(data[key][subkey]);
29 var data = normalize(result);
30 data = JSON.stringify(data);
31 document.getElementById("filter_field").value = data;
32 var formData = $("#define_hardware_form").serialize();
33 req = new XMLHttpRequest();
34 req.open('POST', '/wf/workflow/', false);
35 req.setRequestHeader("Content-Type", "application/x-www-form-urlencoded");