diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2014-08-29 16:42:00 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-01 08:51:33 +0100 |
commit | 372c9d144e87ab5f360c9763101916fbcb94e469 (patch) | |
tree | f2068f0b5ea257b65ee6f0c0f8397c97ab82025d /bitbake/lib/toaster/toastergui/templates/importlayer.html | |
parent | acd4a1799d51a9f0b192d12b2c58387595b27bf7 (diff) | |
download | ast2050-yocto-poky-372c9d144e87ab5f360c9763101916fbcb94e469.zip ast2050-yocto-poky-372c9d144e87ab5f360c9763101916fbcb94e469.tar.gz |
bitbake: toastergui: added pages for project details
We add new pages for the layer importing, layer details,
showing project builds and project configuration.
The pages are in read-only mode, but they're needed as
to be able to verify the quality of data in the system.
Write capabilities will be added in a subsequent patch.
[YOCTO #6595]
[YOCTO #6590]
[YOCTO #6591]
[YOCTO #6588]
[YOCTO #6589]
(Bitbake rev: eed9ae5c2a2bd7567e12ae9a4f02a5a966a1e1a3)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/importlayer.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/importlayer.html | 68 |
1 files changed, 68 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/importlayer.html b/bitbake/lib/toaster/toastergui/templates/importlayer.html new file mode 100644 index 0000000..7e48eac --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html @@ -0,0 +1,68 @@ +{% extends "baseprojectpage.html" %} +{% load projecttags %} +{% load humanize %} + +{% block localbreadcrumb %} +<li>Layers</li> +{% endblock %} + +{% block projectinfomain %} + <div class="page-header"> + <h1>Import layer</h1> + </div> + <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> + {% endif %} + <fieldset class="air"> + <legend>Layer repository information</legend> + <label> + Git repository URL + <i class="icon-question-sign get-help" title="Fetch/clone URL of the repository. Currently, Toaster only supports Git repositories."></i> + </label> + <input id="repo" type="text" class="input-xxlarge" required> + <label class="project-form"> + Repository subdirectory + <span class="muted">(optional)</span> + <i class="icon-question-sign get-help" title="Subdirectory within the repository where the layer is located, if not in the root (usually only used if the repository contains more than one layer)"></i> + </label> + <input type="text" id="subdir"> + <label class="project-form">Branch, tag or commit</label> + <input type="text" class="span4" id="layer-version" required> + <label class="project-form"> + Layer name + <i class="icon-question-sign get-help" title="Something like 'meta-mylayer'. Your layer name must be unique and can only include letters, numbers and dashes"></i> + </label> + <input id="layer-name" type="text" required> + </fieldset> + <fieldset class="air"> + <legend> + Layer dependencies + <span class="muted">(optional)</span> + <i class="icon-question-sign get-help heading-help" title="Other layers this layer depends upon"></i> + </legend> + <ul class="unstyled configuration-list"> + <li> + <a href="" class="layer-info" title="OpenEmbedded | daisy">openembedded-core (meta)</a> + <i class="icon-trash"></i> + </li> + </ul> + <div class="input-append"> + <input type="text" autocomplete="off" data-minLength="1" data-autocomplete="off" + data-provide="typeahead" data-source=' + [] + ' placeholder="Type a layer name" id="layer-dependency" class="input-xlarge"> + <a class="btn" type="button" id="add-layer-dependency" disabled> + Add layer + </a> + </div> + <span class="help-inline">You can only add layers Toaster knows about</span> + </fieldset> + <div class="form-actions"> + <a href="#dependencies-message" class="btn btn-primary btn-large" data-toggle="modal" data-target="#dependencies-message" disabled>Import and add to project</a> + <a href="layer-details-just-imported.html" class="btn btn-large" disabled>Just import for the moment</a> + <span class="help-inline" style="vertical-align: middle;">To import a layer, you need to enter a repository URL, a branch, tag or commit and a layer name</span> + </div> + </form> + +{% endblock %} |