summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/toastergui/templates/newproject.html15
1 files changed, 8 insertions, 7 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html
index 1159d717ae..745b79b1a1 100644
--- a/bitbake/lib/toaster/toastergui/templates/newproject.html
+++ b/bitbake/lib/toaster/toastergui/templates/newproject.html
@@ -20,7 +20,7 @@
20 <label>Project name <span class="muted">(required)</span></label> 20 <label>Project name <span class="muted">(required)</span></label>
21 <input type="text" class="input-xlarge" required id="new-project-name" name="projectname"> 21 <input type="text" class="input-xlarge" required id="new-project-name" name="projectname">
22 </fieldset> 22 </fieldset>
23 23<!--
24 <fieldset> 24 <fieldset>
25 <label class="project-form">Project type</label> 25 <label class="project-form">Project type</label>
26 <label class="project-form radio"><input type="radio" name="ptype" value="analysis" checked/> Analysis Project</label> 26 <label class="project-form radio"><input type="radio" name="ptype" value="analysis" checked/> Analysis Project</label>
@@ -28,7 +28,8 @@
28 {% if releases.count > 0 %} 28 {% if releases.count > 0 %}
29 <label class="project-form radio"><input type="radio" name="ptype" value="build" checked /> Build Project</label> 29 <label class="project-form radio"><input type="radio" name="ptype" value="build" checked /> Build Project</label>
30 {% endif %} 30 {% endif %}
31 </fieldset> 31 </fieldset> -->
32 <input type="hidden" name="ptype" value="build" />
32 33
33 {% if releases.count > 0 %} 34 {% if releases.count > 0 %}
34 <fieldset class="release"> 35 <fieldset class="release">
@@ -63,7 +64,7 @@
63 </div> 64 </div>
64 </form> 65 </form>
65 </div> 66 </div>
66 67 <!--
67 <div class="span5 well"> 68 <div class="span5 well">
68 <span class="help-block"> 69 <span class="help-block">
69 <h4>Toaster project types</h4> 70 <h4>Toaster project types</h4>
@@ -76,7 +77,7 @@
76 <h4>Release</h4> 77 <h4>Release</h4>
77 <p>If you create a <strong>build project</strong>, you will need to select a <strong>release</strong>, 78 <p>If you create a <strong>build project</strong>, you will need to select a <strong>release</strong>,
78 which is the version of the build system you want to use to run your builds.</p> 79 which is the version of the build system you want to use to run your builds.</p>
79 </div> 80 </div> -->
80 </div> 81 </div>
81 </div> 82 </div>
82 83
@@ -109,7 +110,7 @@
109 $('#description-' + new_release).fadeIn(); 110 $('#description-' + new_release).fadeIn();
110 }); 111 });
111 112
112 // Hide the project release when you select an analysis project 113/* // Hide the project release when you select an analysis project
113 function projectType() { 114 function projectType() {
114 if ($("input[type='radio']:checked").val() == 'build') { 115 if ($("input[type='radio']:checked").val() == 'build') {
115 $('.release').fadeIn(); 116 $('.release').fadeIn();
@@ -122,8 +123,8 @@
122 123
123 $('input:radio').change(function(){ 124 $('input:radio').change(function(){
124 projectType(); 125 projectType();
125 }); 126 }); */
126 }) 127 });
127 </script> 128 </script>
128 129
129{% endblock %} 130{% endblock %}