diff options
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 %} | ||