mirror of
git://git.yoctoproject.org/poky
synced 2026-09-06 18:28:50 +00:00
This patch clones the Simple UI to provide the base code for the development of the Toaster GUI. The clone takes the place of the application that was reserved for Javascript MVC code. The templates used for Simple UI are renamed to start with an "simple_" to prevent name resolution conflict with the Toaster GUI templates. Minor changes are made to the settings.py and urls.py in the toaster main section to account for the newly enabled application. (Bitbake rev: e2fde84f16da017ba0d71aef6a1fa8e2b9255db4) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
44 lines
1.9 KiB
HTML
44 lines
1.9 KiB
HTML
{% extends "simple_basetable.html" %}
|
|
|
|
{% block pagename %}
|
|
<h1>Toaster - Builds</h1>
|
|
{% endblock %}
|
|
|
|
{% block pagetable %}
|
|
|
|
{% load projecttags %}
|
|
<tr>
|
|
<th>Outcome</th>
|
|
<th>Started On</th>
|
|
<th>Completed On</th>
|
|
<th>Target</th>
|
|
<th>Machine</th>
|
|
<th>Time</th>
|
|
<th>Errors</th>
|
|
<th>Warnings</th>
|
|
<th>Output</th>
|
|
<th>Log</th>
|
|
<th>Bitbake Version</th>
|
|
<th>Build Name</th>
|
|
</tr>
|
|
{% for build in objects %}
|
|
<tr class="data">
|
|
<td><a href="{% url "configuration" build.id %}">{{build.get_outcome_display}}</a></td>
|
|
<td>{{build.started_on}}</td>
|
|
<td>{{build.completed_on}}</td>
|
|
<td>{% for t in build.target_set.all %}{%if t.is_image %}<a href="{% url "tpackage" build.id t.id %}">{% endif %}{{t.target}}{% if t.is_image %}</a>{% endif %}<br/>{% endfor %}</td>
|
|
<td>{{build.machine}}</td>
|
|
<td>{% time_difference build.started_on build.completed_on %}</td>
|
|
<td>{{build.errors_no}}:{% if build.errors_no %}{% for error in logs %}{% if error.build == build %}{% if error.level == 2 %}<p>{{error.message}}</p>{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}</td>
|
|
<td>{{build.warnings_no}}:{% if build.warnings_no %}{% for warning in logs %}{% if warning.build == build %}{% if warning.level == 1 %}<p>{{warning.message}}</p>{% endif %}{% endif %}{% endfor %}{% else %}None{% endif %}</td>
|
|
<td>{% if build.outcome == 0 %}{% for t in build.target_set.all %}{% if t.is_image %}{{build.image_fstypes}}{% endif %}{% endfor %}{% endif %}</td>
|
|
<td>{{build.cooker_log_path}}</td>
|
|
<td>{{build.bitbake_version}}</td>
|
|
<td>{{build.build_name}}</td>
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
{% endblock %}
|
|
|
|
|