diff options
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 0000000000..7e48eac66e --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/importlayer.html | |||
@@ -0,0 +1,68 @@ | |||
1 | {% extends "baseprojectpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | {% load humanize %} | ||
4 | |||
5 | {% block localbreadcrumb %} | ||
6 | <li>Layers</li> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block projectinfomain %} | ||
10 | <div class="page-header"> | ||
11 | <h1>Import layer</h1> | ||
12 | </div> | ||
13 | <form> | ||
14 | {% if project %} | ||
15 | <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> | ||
16 | {% endif %} | ||
17 | <fieldset class="air"> | ||
18 | <legend>Layer repository information</legend> | ||
19 | <label> | ||
20 | Git repository URL | ||
21 | <i class="icon-question-sign get-help" title="Fetch/clone URL of the repository. Currently, Toaster only supports Git repositories."></i> | ||
22 | </label> | ||
23 | <input id="repo" type="text" class="input-xxlarge" required> | ||
24 | <label class="project-form"> | ||
25 | Repository subdirectory | ||
26 | <span class="muted">(optional)</span> | ||
27 | <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> | ||
28 | </label> | ||
29 | <input type="text" id="subdir"> | ||
30 | <label class="project-form">Branch, tag or commit</label> | ||
31 | <input type="text" class="span4" id="layer-version" required> | ||
32 | <label class="project-form"> | ||
33 | Layer name | ||
34 | <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> | ||
35 | </label> | ||
36 | <input id="layer-name" type="text" required> | ||
37 | </fieldset> | ||
38 | <fieldset class="air"> | ||
39 | <legend> | ||
40 | Layer dependencies | ||
41 | <span class="muted">(optional)</span> | ||
42 | <i class="icon-question-sign get-help heading-help" title="Other layers this layer depends upon"></i> | ||
43 | </legend> | ||
44 | <ul class="unstyled configuration-list"> | ||
45 | <li> | ||
46 | <a href="" class="layer-info" title="OpenEmbedded | daisy">openembedded-core (meta)</a> | ||
47 | <i class="icon-trash"></i> | ||
48 | </li> | ||
49 | </ul> | ||
50 | <div class="input-append"> | ||
51 | <input type="text" autocomplete="off" data-minLength="1" data-autocomplete="off" | ||
52 | data-provide="typeahead" data-source=' | ||
53 | [] | ||
54 | ' placeholder="Type a layer name" id="layer-dependency" class="input-xlarge"> | ||
55 | <a class="btn" type="button" id="add-layer-dependency" disabled> | ||
56 | Add layer | ||
57 | </a> | ||
58 | </div> | ||
59 | <span class="help-inline">You can only add layers Toaster knows about</span> | ||
60 | </fieldset> | ||
61 | <div class="form-actions"> | ||
62 | <a href="#dependencies-message" class="btn btn-primary btn-large" data-toggle="modal" data-target="#dependencies-message" disabled>Import and add to project</a> | ||
63 | <a href="layer-details-just-imported.html" class="btn btn-large" disabled>Just import for the moment</a> | ||
64 | <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> | ||
65 | </div> | ||
66 | </form> | ||
67 | |||
68 | {% endblock %} | ||