]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
toaster: projectconf Small tweaks to IMAGE_FSTYPES form
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>
Thu, 19 May 2016 10:43:31 +0000 (11:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 20 May 2016 09:02:26 +0000 (10:02 +0100)
Add a label to clarify the purpose of the first input field, replace <p>
with <label> for the second set of controls, and give some top margin to
the validation message.

Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Elliot Smith <elliot.smith@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/toaster/toastergui/templates/projectconf.html

index c0078593858795a408192216cbc8d5262c09d65d..dd7d30c58ac7c47b60565f11fd17a5bf696ddd81 100644 (file)
                 <span id="image_fstypes">{{fstypes}}</span>
                 <i class="icon-pencil" id="change-image_fstypes-icon"></i>
                 <form id="change-image_fstypes-form" style="display:none;">
+                    <label>Type the image types you want to build:</label>
                     <div class="input-append" id="validate-image_fstypes">
                         <input type="text" class="input-xlarge" id="new-imagefs_types">
                         <button id="apply-change-image_fstypes" type="button" class="btn">Save</button>
                         <button id="cancel-change-image_fstypes" type="button" class="btn btn-link">Cancel</button>
                     </div>
-                    </br><span class="help-block error" style="display:none;" id="hintError-image-fs_type">A valid image type cannot include underscores.</span>
-                    <p>Choose from known image types</p>
+                    <p class="help-block error" style="display:none;margin-top:10px;" id="hintError-image-fs_type">A valid image type cannot include underscores</p>
+                    <label>Or choose from known image types:</label>
                     <input id="filter-image_fstypes" type="text" placeholder="Search image types" class="span4">
                     <div id="all-image_fstypes" class="scrolling">
                     </div>