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 | |
| 9 | {% block nav-configuration %} |
| 10 | <li class="active"><a href="{% url 'configuration' build.pk %}">Configuration</a></li> |
| 11 | {% endblock %} |
| 12 | |
| 13 | {% block buildinfomain %} |
| 14 | <!-- page title --> |
| 15 | <div class="row-fluid span10"> |
| 16 | <div class="page-header"> |
| 17 | <h1>Configuration</h1> |
| 18 | </div> |
| 19 | </div> |
| 20 | |
| 21 | <!-- configuration table --> |
| 22 | <div class="row-fluid pull-right span10" id="navTab"> |
| 23 | <ul class="nav nav-pills"> |
| 24 | <li class="active"><a href="#">Summary</a></li> |
| 25 | <li class=""><a href="{% url 'configvars' build.id %}">BitBake variables</a></li> |
| 26 | </ul> |
| 27 | |
| 28 | <!-- summary --> |
| 29 | <div id="summary" class="tab-pane active"> |
| 30 | <h3>Build configuration</h3> |
| 31 | <dl class="dl-horizontal"> |
| 32 | {%if BB_VERSION %}<dt>BitBake version</dt><dd>{{BB_VERSION}}</dd> {% endif %} |
| 33 | {%if BUILD_SYS %}<dt>Build system</dt><dd>{{BUILD_SYS}}</dd> {% endif %} |
| 34 | {%if NATIVELSBSTRING %}<dt>Host distribution</dt><dd>{{NATIVELSBSTRING}}</dd> {% endif %} |
| 35 | {%if TARGET_SYS %}<dt>Target system</dt><dd>{{TARGET_SYS}}</dd> {% endif %} |
| 36 | {%if MACHINE %}<dt>Machine</dt><dd>{{MACHINE}}</dd> {% endif %} |
| 37 | {%if DISTRO %}<dt>Distro</dt><dd>{{DISTRO}}</dd> {% endif %} |
| 38 | {%if DISTRO_VERSION %}<dt>Distro version</dt><dd>{{DISTRO_VERSION}}</dd> {% endif %} |
| 39 | {%if TUNE_FEATURES %}<dt>Tune features</dt><dd>{{TUNE_FEATURES}}</dd> {% endif %} |
| 40 | {%if TARGET_FPU %}<dt>Target FPU</dt><dd>{{TARGET_FPU}}</dd> {% endif %} |
| 41 | {%if targets.all %}<dt>Target(s)</dt> |
| 42 | <dd> <ul> {% for target in targets.all %} |
| 43 | <li>{{target.target}}{%if forloop.counter > 1 %}<br>{% endif %}</li> |
| 44 | {% endfor %} </ul> </dd> {% endif %} |
| 45 | </dl> |
| 46 | <h3>Layers</h3> |
| 47 | <div class="span9" style="margin-left:0px;"> |
| 48 | <table class="table table-bordered table-hover"> |
| 49 | <thead> |
| 50 | <tr> |
| 51 | <th>Layer</th> |
| 52 | <th>Layer branch</th> |
| 53 | <th>Layer commit</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 | </tr>{% endfor %} |
| 65 | </tbody> |
| 66 | </table> |
| 67 | </div> |
| 68 | </div> |
| 69 | |
| 70 | |
| 71 | </div> |
| 72 | {% endblock %} |