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>
This commit is contained in:
Belen Barros Pena
2014-12-02 17:28:56 +00:00
committed by Richard Purdie
parent 1605cd37db
commit bd6b8796a1

View File

@@ -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">