[bitbake-devel] [PATCH 12/18] toaster: tweaking the import layers form

Alex DAMIAN alexandru.damian at intel.com
Fri Dec 12 11:45:11 UTC 2014


From: Belen Barros Pena <belen.barros.pena at linux.intel.com>

This commit makes the following changes to the import
layers form:

* In the explanatory text at the top of the page, show only
the release description (to match the information shown in all
other pages)

* Make sure the spacing between form fields and labels is
consistent across the form

* Change the 'Branch, tag or commit' label to 'Revision'
and add some help text to the label

* Change the help text and the input type in the layer
 description

* Change the help text next to the form actions to match
the new field ordering in the form

Signed-off-by: Belen Barros Pena <belen.barros.pena at linux.intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
 lib/toaster/toastergui/templates/importlayer.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/toaster/toastergui/templates/importlayer.html b/lib/toaster/toastergui/templates/importlayer.html
index 913f951..00fd694 100644
--- a/lib/toaster/toastergui/templates/importlayer.html
+++ b/lib/toaster/toastergui/templates/importlayer.html
@@ -36,7 +36,7 @@
                 {% include "layers_dep_modal.html" %}
                 <form>
         {% if project %}
-                    <span class="help-block" style="padding-left:19px;">The layer you are importing must be compatible with {{project.release.name}} ({{project.release.description}}), which is the release you are using in this project.</span>
+                    <span class="help-block" style="padding-left:19px;">The layer you are importing must be compatible with <strong>{{project.release.description}}</strong>, which is the release you are using in this project.</span>
           {% endif %}
                    <fieldset class="air">
                       <legend>Layer repository information</legend>
@@ -60,7 +60,7 @@
 
                       </div>
 
-                        <label>
+                        <label for="layer-git-repo-url" class="project-form">
                             Git repository URL
                             <span class="icon-question-sign get-help" title="Fetch/clone URL of the repository. Currently, Toaster only supports Git repositories." />
                         </label>
@@ -85,9 +85,9 @@
 
                           <label class="project-form" for="layer-description">Layer description
                             <span class="muted">(optional)</span>
-                            <span class="icon-question-sign get-help" title="Short description for for the layer" />
+                            <span class="icon-question-sign get-help" title="A short layer explanation" />
                           </label>
-                          <input id="layer-description" type="text" class="input-xxlarge" />
+                          <textarea id="layer-description" class="input-xxlarge"></textarea>
 
                     </fieldset>
                     <fieldset class="air">
-- 
1.9.1




More information about the bitbake-devel mailing list