diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/configuration.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/configuration.html | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/configuration.html b/bitbake/lib/toaster/toastergui/templates/configuration.html new file mode 100644 index 0000000000..49a6a89d5c --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/configuration.html | |||
@@ -0,0 +1,73 @@ | |||
1 | {% extends "basebuildpage.html" %} | ||
2 | {% load projecttags %} | ||
3 | |||
4 | {% block localbreadcrumb %} | ||
5 | <li>Configuration</li> | ||
6 | {% endblock %} | ||
7 | |||
8 | {% block nav-configuration %} | ||
9 | <li class="active"><a href="{% url 'configuration' build.pk %}">Configuration</a></li> | ||
10 | {% endblock %} | ||
11 | |||
12 | {% block buildinfomain %} | ||
13 | <!-- page title --> | ||
14 | <div class="row-fluid span10"> | ||
15 | <div class="page-header"> | ||
16 | <h1>Configuration</h1> | ||
17 | </div> | ||
18 | </div> | ||
19 | |||
20 | <!-- configuration table --> | ||
21 | <div class="row-fluid pull-right span10" id="navTab"> | ||
22 | <ul class="nav nav-pills"> | ||
23 | <li class="active"><a href="#">Summary</a></li> | ||
24 | <li class=""><a href="{% url 'configvars' build.id %}">BitBake variables</a></li> | ||
25 | </ul> | ||
26 | |||
27 | <!-- summary --> | ||
28 | <div id="summary" class="tab-pane active"> | ||
29 | <h3>Build configuration</h3> | ||
30 | <dl class="dl-horizontal"> | ||
31 | {%if BB_VERSION %}<dt>BitBake version</dt><dd>{{BB_VERSION}}</dd> {% endif %} | ||
32 | {%if BUILD_SYS %}<dt>Build system</dt><dd>{{BUILD_SYS}}</dd> {% endif %} | ||
33 | {%if NATIVELSBSTRING %}<dt>Host distribution</dt><dd>{{NATIVELSBSTRING}}</dd> {% endif %} | ||
34 | {%if TARGET_SYS %}<dt>Target system</dt><dd>{{TARGET_SYS}}</dd> {% endif %} | ||
35 | {%if MACHINE %}<dt>Machine</dt><dd>{{MACHINE}}</dd> {% endif %} | ||
36 | {%if DISTRO %}<dt>Distro</dt><dd>{{DISTRO}}</dd> {% endif %} | ||
37 | {%if DISTRO_VERSION %}<dt>Distro version</dt><dd>{{DISTRO_VERSION}}</dd> {% endif %} | ||
38 | {%if TUNE_FEATURES %}<dt>Tune features</dt><dd>{{TUNE_FEATURES}}</dd> {% endif %} | ||
39 | {%if TARGET_FPU %}<dt>Target FPU</dt><dd>{{TARGET_FPU}}</dd> {% endif %} | ||
40 | {%if targets.all %}<dt>Target(s)</dt> | ||
41 | <dd> <ul> {% for target in targets.all %} | ||
42 | <li>{{target.target}}{%if forloop.counter > 1 %}<br>{% endif %}</li> | ||
43 | {% endfor %} </ul> </dd> {% endif %} | ||
44 | </dl> | ||
45 | <h3>Layers</h3> | ||
46 | <div class="span9" style="margin-left:0px;"> | ||
47 | <table class="table table-bordered table-hover"> | ||
48 | <thead> | ||
49 | <tr> | ||
50 | <th>Layer</th> | ||
51 | <th>Layer branch</th> | ||
52 | <th>Layer commit</th> | ||
53 | <th>Layer directory</th> | ||
54 | </tr> | ||
55 | </thead> | ||
56 | <tbody>{% for lv in build.layer_version_build.all|dictsort:"layer.name" %} | ||
57 | <tr> | ||
58 | <td>{{lv.layer.name}}</td> | ||
59 | <td>{{lv.branch}}</td> | ||
60 | <td> <a class="btn" data-content="<ul class='unstyled'> | ||
61 | <li>{{lv.commit}}</li> </ul>"> | ||
62 | {{lv.commit|truncatechars:13}} | ||
63 | </a></td> | ||
64 | <td>{{lv.layer.local_path}}</td> | ||
65 | </tr>{% endfor %} | ||
66 | </tbody> | ||
67 | </table> | ||
68 | </div> | ||
69 | </div> | ||
70 | |||
71 | |||
72 | </div> | ||
73 | {% endblock %} | ||