summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-06-29 16:09:52 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-02 22:56:39 +0100
commitcfc4f1b3430dd34065cc93220c449cc034665c5d (patch)
treebb701e5bd393202c52fea80e0deaeaa779229a63 /bitbake/lib/toaster
parent3b3ef9cee2469b22b5946e84ab80eb5d3d2a3cdb (diff)
downloadpoky-cfc4f1b3430dd34065cc93220c449cc034665c5d.tar.gz
bitbake: toaster: Revert the addition of analysis project mode selection
Partial revert of bb commit 2efc338cefd6e6e097af83d7dff63e9ba177d021 This feature was not ready to go live as the surrounding implementation work to make this usable has not yet been done. (Bitbake rev: 40c8829369628927944c8a950524d482a663913e) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster')
-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 %}