xref: /OK3568_Linux_fs/yocto/poky/bitbake/lib/toaster/toastergui/templates/configuration.html (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1{% extends "basebuildpage.html" %}
2{% load projecttags %}
3
4{% block title %} Configuration summary - {{build.target_set.all|dictsort:"target"|join:", "}} {{build.machine}} - {{build.project.name}} - Toaster {% endblock %}
5{% block localbreadcrumb %}
6<li>Configuration</li>
7{% endblock %}
8
9{% block buildinfomain %}
10<!-- page title -->
11<div class="col-md-10">
12
13 <div class="page-header build-data">
14     <h1>Configuration</h1>
15 </div>
16
17<!-- configuration table -->
18<div id="navTab">
19<ul class="nav nav-tabs">
20    <li class="active"><a href="#">Summary</a></li>
21    <li class=""><a href="{% url 'configvars' build.id %}">BitBake variables</a></li>
22</ul>
23
24  <!-- summary -->
25  <div id="summary" class="tab-pane active">
26    <h3>Build configuration</h3>
27    <dl class="dl-horizontal">
28      {%if BB_VERSION %}<dt>BitBake version</dt><dd>{{BB_VERSION}}</dd> {% endif %}
29      {%if BUILD_SYS %}<dt>Build system</dt><dd>{{BUILD_SYS}}</dd> {% endif %}
30      {%if NATIVELSBSTRING %}<dt>Host distribution</dt><dd>{{NATIVELSBSTRING}}</dd> {% endif %}
31      {%if TARGET_SYS %}<dt>Target system</dt><dd>{{TARGET_SYS}}</dd> {% endif %}
32      {%if MACHINE %}<dt>Machine</dt><dd>{{MACHINE}}</dd> {% endif %}
33      {%if DISTRO %}<dt>Distro</dt><dd>{{DISTRO}}</dd> {% endif %}
34      {%if DISTRO_VERSION %}<dt>Distro version</dt><dd>{{DISTRO_VERSION}}</dd> {% endif %}
35      {%if TUNE_FEATURES %}<dt>Tune features</dt><dd>{{TUNE_FEATURES}}</dd> {% endif %}
36      {%if TARGET_FPU %}<dt>Target FPU</dt><dd>{{TARGET_FPU}}</dd> {% endif %}
37      {%if targets.all %}<dt>Target(s)</dt>
38          <dd> <ul class="list-unstyled"> {% for target in targets.all %}
39               <li>{{target.target}}{%if forloop.counter > 1 %}<br>{% endif %}</li>
40          {% endfor %} </ul> </dd> {% endif %}
41    </dl>
42    <h3>Layers</h3>
43    <div class="row">
44      <div class="col-md-9 table-responsive">
45        <table class="table table-bordered table-hover">
46          <thead>
47            <tr>
48              <th>Layer</th>
49              <th>Layer branch</th>
50              <th>Layer commit</th>
51            </tr>
52          </thead>
53          <tbody>{% for lv in build.layer_version_build.all|dictsort:"layer.name" %}
54          <tr>
55            <td>{{lv.layer.name}}</td>
56	    {% if lv.layer.local_source_dir %}
57	    <td>
58	      <span class="text-muted">Not applicable</span>
59	      <span class="glyphicon glyphicon-question-sign get-help" data-original-title="" title="The source code of {{lv.layer.name}} is not in a Git repository, so there is no branch associated with it"> </span>
60	    </td>
61	    {% else %}
62            <td>{{lv.branch}}</td>
63	    {% endif %}
64	    {% if lv.layer.local_source_dir %}
65	    <td>
66	      <span class="text-muted">Not applicable</span>
67	      <span class="glyphicon glyphicon-question-sign get-help" data-original-title="" title="The source code of {{lv.layer.name}} is not in a Git repository, so there is no commit associated with it"> </span>
68	    </td>
69	    {% else %}
70            <td> <a class="btn btn-default" data-content="<ul class='list-unstyled'>
71                  <li>{{lv.commit}}</li> </ul>">
72                {{lv.commit|truncatechars:13}}
73            </a></td>
74	    {% endif %}
75          </tr>{% endfor %}
76          </tbody>
77        </table>
78      </div>
79    </div>
80  </div>
81
82</div>
83
84</div> <!-- end of 10-column section -->
85{% endblock %}
86