List Projects: click -> display the list
[myslice.git] / portal / templates / fed4fire / fed4fire_projectrequest_view.html
index 456df96..3ade206 100644 (file)
                     <label>
                         Please insert a name for your project under which you will be able to create slices <br />
                         <span class="sublabel">
-                         The project name should only contain letters, numbers and the underscore character "_" <br />
+                         The project name should only contain letters, numbers and the underscore "_"  (10 max length)<br />
                         </span>
                     </label>
                     <div class="form-group">
-                        <input type="text" name="project_name" value="" style="width:100%;" title="The project name should not contain spaces but only letters, numbers and the underscore character" placeholder="Project name" required>
+                        <input type="text" name="project_name" value="" class="form-control" maxlength="10"  style="width:100%;" title="The project name should not contain spaces but only letters, numbers and the underscore character" placeholder="Project name" required>
                     </div>
                     
                     <label>
                         The authority under which your project will be managed <br />
-                        Before you can access your newly created project a manager of this authority should approve the request.
+                        <span class="sublabel">
+                        Before you can access your project a manager of this authority should approve the request
+                        </span>
                     </label>
                     <div class="form-group">
                         <select id="org_name" name="authority_name" class="form-control" style="width:100%" value="{{ organization }}" required> 
@@ -157,6 +159,12 @@ $(document).ready(function() {
         $("#project_loading").hide();
         $("#projects").html(projects.join( "" ));
         $("#projects").combobox();
+        var $s = jQuery("#projects").next().attr('id','listProjects');
+        jQuery('#listProjects').bind("click",function(){
+            // show all items click
+            this.childNodes[1].click();
+        });
+
     });
 /*