X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Ffed4fire%2Ffed4fire_slicerequest_view.html;h=07a45971755bfc3797572651c7b1992cf6ffd22d;hb=16a4bf955a76fee81209cd60458745040ed3c711;hp=21ffb36ea3bf7c88ebe98a12eaadafbc14df0664;hpb=cea5cbc30b0ea84beddb00bbac59c0d9ca224c2d;p=unfold.git diff --git a/portal/templates/fed4fire/fed4fire_slicerequest_view.html b/portal/templates/fed4fire/fed4fire_slicerequest_view.html index 21ffb36e..07a45971 100644 --- a/portal/templates/fed4fire/fed4fire_slicerequest_view.html +++ b/portal/templates/fed4fire/fed4fire_slicerequest_view.html @@ -31,10 +31,10 @@ - +
+ title="Select a project under which you want to create your slice" required="required">
+ title="Please provide the url of your experiment" value="{{url}}">
+ title="Description of your experiment" required="required">{{ purpose }}
@@ -79,39 +79,10 @@ jQuery(document).ready(function(){ } } }).bind('focus', function(){ $(this).autocomplete("search"); } ); + $('input[name=slice_name]').keyup(function(){ + this.value = this.value.toLowerCase(); + }); }); - -/*function draw_projects(authority_hrn){ - - var projects = []; - project_row = ""; - projects.push(project_row); - - if(authority_hrn.length > 0){ - // Not for root authority - if(authority_hrn.split('.').length > 1){ - $.post("/rest/myslice:authority/",{'fields':['authority_hrn','pi_users'],'filters':{'authority_hrn':'CONTAINS'+authority_hrn}}, function( data ) { - - $.each( data, function( key, val ) { - project_row = ""; - projects.push(project_row); - }); - $("#project").html(projects.join( "" )); - }); - }else{ - $("#project").html(projects.join( "" )); - } - }else{ - my_projects = JSON.parse(localStorage.getItem('projects')); - $.each( my_projects, function( i, val ) { - project_row = ""; - projects.push(project_row); - }); - $("#project").html(projects.join( "" )); - } - $("#project").show(); - $("#project_loading").hide(); -}*/ {% endblock %}