diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top.html b/bitbake/lib/toaster/toastergui/templates/basetable_top.html index e3f6a4ee23..92a3b50801 100644 --- a/bitbake/lib/toaster/toastergui/templates/basetable_top.html +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top.html @@ -175,8 +175,8 @@
+ {% block custombuttons%} {% endblock %} {% if tablecols %} - {% block custombuttons%} {% endblock %}
+ +
+{% endif %} +{%endblock%} diff --git a/bitbake/lib/toaster/toastergui/templates/basetable_top_projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/basetable_top_projectbuilds.html new file mode 100644 index 0000000000..bfefff5e33 --- /dev/null +++ b/bitbake/lib/toaster/toastergui/templates/basetable_top_projectbuilds.html @@ -0,0 +1,16 @@ +{% extends "basetable_top.html" %} + +{%block custombuttons %} +{% if MANAGED %} +
+ + +
+{% endif %} +{%endblock%} diff --git a/bitbake/lib/toaster/toastergui/templates/build.html b/bitbake/lib/toaster/toastergui/templates/build.html index bef1f15399..f20f041749 100644 --- a/bitbake/lib/toaster/toastergui/templates/build.html +++ b/bitbake/lib/toaster/toastergui/templates/build.html @@ -6,83 +6,11 @@ {% block pagecontent %}
- {% if not objects.paginator.count and not request.GET.filter and not request.GET.search %} - -
- -
-
-

This is Toaster

-

A web interface to BitBake, the Yocto Project build system.

-

- Show me the manual - I want to contribute -

-
-
- Yocto Project -
-
-
- {% endif %} - {%if mru.count > 0%} - - {% for build in mru %} -
-
- - {%if build.outcome == build.SUCCEEDED or build.outcome == build.FAILED %} -
- {% 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 %} -
- - {%endif%}{%if build.outcome == build.IN_PROGRESS %} -
-
-
-
-
-
ETA: in {{build.eta|naturaltime}}
- {%endif%} -
-
+ {% include "mrb_section.html" %} - {% endfor %}{%endif%} - {% if not objects.paginator.count and not request.GET.filter and not request.GET.search %} - - {% if mru.count == 0 %} - -
- Toaster has not recorded any builds yet. Go build something with Knotty or Hob -
- {% endif %} - {% else %} + {% if 1 %}