From fbf7e14894f08a803cc3096da6b0143faaa3d43e Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Mon, 26 Sep 2016 13:59:34 +0300 Subject: bitbake: toaster: Add front end controls for deleting a build Add front end modal and controls for deleting a build from the build dashboard. Also convert the Actions list to links instead of buttons as per the design. [YOCTO #6238] (Bitbake rev: 93bca6d877e0b2b5b8ef6b27288c0987a6c899b1) Signed-off-by: Michael Wood Signed-off-by: Ed Bartosh Signed-off-by: Richard Purdie --- .../toastergui/templates/basebuildpage.html | 138 ++++++++++++++++----- 1 file changed, 104 insertions(+), 34 deletions(-) (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html') diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html index 01d3117e1e..0b6ef56380 100644 --- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html +++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html @@ -3,8 +3,88 @@ {% load project_url_tag %} {% load objects_to_dictionaries_filter %} {% load humanize %} +{% load field_values_filter %} {% block pagecontent %} + + + + + +
@@ -22,36 +102,6 @@ {% block localbreadcrumb %}{% endblock %} -
@@ -86,13 +136,22 @@
  • CPU usage
  • Disk I/O
  • - - Download build log + +
  • + + + Download build log + +
  • {% with build.get_custom_image_recipes as custom_image_recipes %} {% if custom_image_recipes.count > 0 %} - +
  • + + + Edit custom image + {% include 'editcustomimage_modal.html' %} +
  • {% endif %} {% endwith %} {% if build.has_image_recipes %} - +
  • + + + New custom image + {% include 'newcustomimage_modal.html' %} {% endif %} + +
  • + + + Delete build + -- cgit v1.2.3-54-g00ecf