Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | {% extends "basebuildpage.html" %} |
| 2 | {% load projecttags %} |
| 3 | |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 4 | {% block title %} Configuration summary - {{build.target_set.all|dictsort:"target"|join:", "}} {{build.machine}} - {{build.project.name}} - Toaster {% endblock %} |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | {% block localbreadcrumb %} |
| 6 | <li>Configuration</li> |
| 7 | {% endblock %} |
| 8 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 9 | {% block buildinfomain %} |
| 10 | <!-- page title --> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 11 | <div class="col-md-10"> |
| 12 | |
| 13 | <div class="page-header build-data"> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 14 | <h1>Configuration</h1> |
| 15 | </div> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 16 | |
| 17 | <!-- configuration table --> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 18 | <div id="navTab"> |
| 19 | <ul class="nav nav-tabs"> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 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> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 38 | <dd> <ul class="list-unstyled"> {% for target in targets.all %} |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 39 | <li>{{target.target}}{%if forloop.counter > 1 %}<br>{% endif %}</li> |
| 40 | {% endfor %} </ul> </dd> {% endif %} |
| 41 | </dl> |
| 42 | <h3>Layers</h3> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 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> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 55 | <td>{{lv.layer.name}}</td> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 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 %} |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 62 | <td>{{lv.branch}}</td> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 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> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 79 | </div> |
| 80 | </div> |
| 81 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 82 | </div> |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 83 | |
| 84 | </div> <!-- end of 10-column section --> |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 85 | {% endblock %} |