[bitbake-devel] [PATCH 2/5] bitbake: toaster: Revert the addition of analysis project mode selection

Michael Wood michael.g.wood at intel.com
Thu Jul 2 16:58:13 UTC 2015


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.

Signed-off-by: Michael Wood <michael.g.wood at intel.com>
---
 bitbake/lib/toaster/toastergui/templates/newproject.html | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/bitbake/lib/toaster/toastergui/templates/newproject.html b/bitbake/lib/toaster/toastergui/templates/newproject.html
index 1159d71..745b79b 100644
--- a/bitbake/lib/toaster/toastergui/templates/newproject.html
+++ b/bitbake/lib/toaster/toastergui/templates/newproject.html
@@ -20,7 +20,7 @@
               <label>Project name <span class="muted">(required)</span></label>
               <input type="text" class="input-xlarge" required id="new-project-name" name="projectname">
             </fieldset>
-
+<!--
             <fieldset>
                 <label class="project-form">Project type</label>
                     <label class="project-form radio"><input type="radio" name="ptype" value="analysis" checked/> Analysis Project</label>
@@ -28,7 +28,8 @@
                 {% if releases.count > 0 %}
                     <label class="project-form radio"><input type="radio" name="ptype" value="build" checked /> Build Project</label>
                 {% endif %}
-            </fieldset>
+              </fieldset> -->
+        <input type="hidden" name="ptype" value="build" />
 
         {% if releases.count > 0 %}
             <fieldset class="release">
@@ -63,7 +64,7 @@
             </div>
         </form>
         </div>
-
+        <!--
         <div class="span5 well">
                 <span class="help-block">
                  <h4>Toaster project types</h4>
@@ -76,7 +77,7 @@
                  <h4>Release</h4>
                  <p>If you create a <strong>build project</strong>, you will need to select a <strong>release</strong>,
                  which is the version of the build system you want to use to run your builds.</p>
-               </div>
+             </div> -->
         </div>
     </div>
 
@@ -109,7 +110,7 @@
                 $('#description-' + new_release).fadeIn();
             });
 
-			// Hide the project release when you select an analysis project
+/*			// Hide the project release when you select an analysis project
 			function projectType() {
 				if ($("input[type='radio']:checked").val() == 'build') {
 					$('.release').fadeIn();
@@ -122,8 +123,8 @@
 
 			$('input:radio').change(function(){
 				projectType();
-			});
-        })
+			}); */
+        });
     </script>
 
 {% endblock %}
-- 
2.1.4




More information about the bitbake-devel mailing list