From 160563532f87bd901e1cc6972fe238be87a8b63c Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 11 Jun 2015 15:00:08 +0100 Subject: bitbake: toaster: refactor the builds pages Taking out the managed mode-specific bits in build-related pages, as there is always only one mode available. Also refactors the build pages in order to always display Build objects instead of BuildRequest objects. (Bitbake rev: 6e46e1e3882b9770872d8a0bb459bc7d5d6bfed3) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- .../lib/toaster/toastergui/templates/build.html | 104 --------------------- 1 file changed, 104 deletions(-) delete mode 100644 bitbake/lib/toaster/toastergui/templates/build.html (limited to 'bitbake/lib/toaster/toastergui/templates/build.html') diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html deleted file mode 100644 index f0b5ea529f..0000000000 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ /dev/null @@ -1,104 +0,0 @@ -{% extends "base.html" %} - -{% load static %} -{% load projecttags %} -{% load humanize %} - -{% block extraheadcontent %} - - - - - -{% endblock %} - -{% block pagecontent %} - - - -
- - {% include "mrb_section.html" %} - - - {% if 1 %} - - - {% if objects.paginator.count == 0 %} -
-
-
- {% if request.GET.search %}{% endif %} - - -
-
-
- - - {% else %} - {% include "basetable_top_buildprojects.html" %} - - {% for build in objects %} - - - {%if build.outcome == build.SUCCEEDED%}{%elif build.outcome == build.FAILED%}{%else%}{%endif%}   - - {% for t in build.target_set.all %} {{t.target}}
{% endfor %} - {{build.machine}} - {{build.started_on|date:"d/m/y H:i"}} - {{build.completed_on|date:"d/m/y H:i"}} - - {% query build.task_build outcome=4 order__gt=0 as exectask%} - {% if exectask.count == 1 %} - {{exectask.0.recipe.name}}.{{exectask.0.task_name}} - - - - {% elif exectask.count > 1%} - {{exectask.count}} task{{exectask.count|pluralize}} - {%endif%} - - - {% if build.errors_no %} - {{build.errors_no}} error{{build.errors_no|pluralize}} - {%endif%} - - {% if build.warnings_no %}{{build.warnings_no}} warning{{build.warnings_no|pluralize}}{%endif%} - {{build.timespent|sectohms}} - - {% if build.outcome == build.SUCCEEDED %} - {{fstypes|get_dict_value:build.id}} - {% endif %} - - {% if build.project %} - {{build.project.name}} - {% endif %} - - - - {% endfor %} - - - {% include "basetable_bottom.html" %} - {% endif %} {# objects.paginator.count #} -{% endif %} {# empty #} -
- -{% endblock %} -- cgit v1.2.3-54-g00ecf