diff options
| author | Belen Barros Pena <belen.barros.pena@linux.intel.com> | 2014-12-02 17:28:56 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-18 10:24:07 +0000 |
| commit | bd6b8796a1e12c06b98a9bd0a746d5b6896ca85c (patch) | |
| tree | 1ec56797d5761cdaf6730c27bf9b84d01f35ca47 | |
| parent | 1605cd37dbfcd75043f57dd527e0bfc0a79e1e78 (diff) | |
| download | poky-bd6b8796a1e12c06b98a9bd0a746d5b6896ca85c.tar.gz | |
bitbake: toaster: tweaking the import layers form
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
(Bitbake rev: 1fae3ef8f87a836758519c85afb2762768c29efc)
Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | bitbake/lib/toaster/toastergui/templates/importlayer.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html index 913f951c28..00fd694c12 100644 --- a/bitbake/lib/toaster/toastergui/templates/importlayer.html +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html | |||
| @@ -36,7 +36,7 @@ | |||
| 36 | {% include "layers_dep_modal.html" %} | 36 | {% include "layers_dep_modal.html" %} |
| 37 | <form> | 37 | <form> |
| 38 | {% if project %} | 38 | {% if project %} |
| 39 | <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> | 39 | <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> |
| 40 | {% endif %} | 40 | {% endif %} |
| 41 | <fieldset class="air"> | 41 | <fieldset class="air"> |
| 42 | <legend>Layer repository information</legend> | 42 | <legend>Layer repository information</legend> |
| @@ -60,7 +60,7 @@ | |||
| 60 | 60 | ||
| 61 | </div> | 61 | </div> |
| 62 | 62 | ||
| 63 | <label> | 63 | <label for="layer-git-repo-url" class="project-form"> |
| 64 | Git repository URL | 64 | Git repository URL |
| 65 | <span class="icon-question-sign get-help" title="Fetch/clone URL of the repository. Currently, Toaster only supports Git repositories." /> | 65 | <span class="icon-question-sign get-help" title="Fetch/clone URL of the repository. Currently, Toaster only supports Git repositories." /> |
| 66 | </label> | 66 | </label> |
| @@ -85,9 +85,9 @@ | |||
| 85 | 85 | ||
| 86 | <label class="project-form" for="layer-description">Layer description | 86 | <label class="project-form" for="layer-description">Layer description |
| 87 | <span class="muted">(optional)</span> | 87 | <span class="muted">(optional)</span> |
| 88 | <span class="icon-question-sign get-help" title="Short description for for the layer" /> | 88 | <span class="icon-question-sign get-help" title="A short layer explanation" /> |
| 89 | </label> | 89 | </label> |
| 90 | <input id="layer-description" type="text" class="input-xxlarge" /> | 90 | <textarea id="layer-description" class="input-xxlarge"></textarea> |
| 91 | 91 | ||
| 92 | </fieldset> | 92 | </fieldset> |
| 93 | <fieldset class="air"> | 93 | <fieldset class="air"> |
