build.html 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {% extends "basetable.html" %}
  2. {% block pagename %}
  3. <h1>Toaster - Builds</h1>
  4. {% endblock %}
  5. {% block pagetable %}
  6. {% load projecttags %}
  7. <tr>
  8. <th>Outcome</th>
  9. <th>Started On</th>
  10. <th>Completed On</th>
  11. <th>Target</th>
  12. <th>Machine</th>
  13. <th>Time</th>
  14. <th>Errors</th>
  15. <th>Warnings</th>
  16. <th>Output</th>
  17. <th>Log</th>
  18. <th>Bitbake Version</th>
  19. <th>Build Name</th>
  20. </tr>
  21. {% for build in builds %}
  22. <tr class="data">
  23. <td><a href="{% url configuration build.id %}">{{build.get_outcome_display}}</a></td>
  24. <td>{{build.started_on}}</td>
  25. <td>{{build.completed_on}}</td>
  26. <td>{% for t in build.target_set.all %}<a href="{% url tpackage build.id t.id %}">{{t.target}}</a>{% if t.is_image %} (Img){% endif %}<br/>{% endfor %}</td>
  27. <td>{{build.machine}}</td>
  28. <td>{% time_difference build.started_on build.completed_on %}</td>
  29. <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>
  30. <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>
  31. <td>{% if build.outcome == 0 %}{% for t in build.target_set.all %}{% if t.is_image %}{{build.image_fstypes}}{% endif %}{% endfor %}{% endif %}</td>
  32. <td>{{build.cooker_log_path}}</td>
  33. <td>{{build.bitbake_version}}</td>
  34. <td>{{build.build_name}}</td>
  35. </tr>
  36. {% endfor %}
  37. {% endblock %}