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/projectconf.html | |
parent | acd4a1799d51a9f0b192d12b2c58387595b27bf7 (diff) | |
download | 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/projectconf.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projectconf.html | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectconf.html b/bitbake/lib/toaster/toastergui/templates/projectconf.html new file mode 100644 index 0000000000..e8b0c39f25 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/projectconf.html | |||
@@ -0,0 +1,62 @@ | |||
1 | {% extends "baseprojectpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | {% load humanize %} | ||
4 | |||
5 | {% block localbreadcrumb %} | ||
6 | <li>Project configuration</li> | ||
7 | {% endblock %} | ||
8 | |||
9 | {% block projectinfomain %} | ||
10 | <div class="page-header"> | ||
11 | <h1>Configuration Variables</h1> | ||
12 | </div> | ||
13 | |||
14 | <div style="padding-left:19px;"> | ||
15 | |||
16 | <dl class="dl-vertical"> | ||
17 | {% for c in configvars %} | ||
18 | <dt> | ||
19 | {{c.name}} | ||
20 | <i class="icon-question-sign get-help" title="{{c.desc}}"></i> | ||
21 | </dt> | ||
22 | <dd class="lead"> | ||
23 | <span id="distro">{{c.value}}</span> | ||
24 | <i class="icon-pencil" id="change-distro-icon"></i> | ||
25 | <form id="change-distro-form" style="display:none;"> | ||
26 | <div class="input-append"> | ||
27 | <input type="text" id="new-distro" value="poky tiny"> | ||
28 | <button id="apply-change-distro" class="btn" type="button">Save</button> | ||
29 | <button id="cancel-change-distro" type="button" class="btn btn-link">Cancel</button> | ||
30 | </div> | ||
31 | </form> | ||
32 | </dd> | ||
33 | {% endfor %} | ||
34 | |||
35 | |||
36 | </dl> | ||
37 | <form id="variable-form"> | ||
38 | <fieldset style="padding-left:0px;"> | ||
39 | <legend>Add variable</legend> | ||
40 | <label> | ||
41 | Variable | ||
42 | <i class="icon-question-sign get-help" title="Variable names are case sensitive, cannot have spaces, and can only include letters, numbers, underscores and dashes"></i> | ||
43 | </label> | ||
44 | <input id="variable" type="text" placeholder="Type variable name"> | ||
45 | <label>Value</label> | ||
46 | <input id="value" type="text" placeholder="Type variable value"> | ||
47 | <div style="display:block;margin-top:10px;"> | ||
48 | <a href="#" class="btn save" disabled> | ||
49 | Add variable | ||
50 | </a> | ||
51 | </div> | ||
52 | </fieldset> | ||
53 | </form> | ||
54 | <!--button id="add-variable" class="btn air"> | ||
55 | <i class="icon-plus"></i> | ||
56 | Add variable | ||
57 | </button--> | ||
58 | |||
59 | </div> | ||
60 | |||
61 | |||
62 | {% endblock %} | ||