summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2016-10-05 17:08:53 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-06 11:41:48 +0100
commit7f67977518d69dc84cbbcc4cf1ea859c51e57d18 (patch)
tree69db092afd84dae2d7af07af4da24083eca01412 /bitbake/lib/toaster/toastergui/templates/basebuildpage.html
parent8df56061f63b63b77a0c7a7ddd75812e3b5a88c4 (diff)
downloadpoky-7f67977518d69dc84cbbcc4cf1ea859c51e57d18.tar.gz
bitbake: toaster: Delete notification update front end implementation to design
Update the delete notifications to reflect feedback from design review comments. (Bitbake rev: e47a1cc160c0f1da060884a8585403b35375fb09) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: bavery <brian.avery@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/basebuildpage.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/basebuildpage.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
index 0b6ef56380..f5eee96516 100644
--- a/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
+++ b/bitbake/lib/toaster/toastergui/templates/basebuildpage.html
@@ -28,6 +28,8 @@
28 if (data.error !== "ok") { 28 if (data.error !== "ok") {
29 console.warn(data.error); 29 console.warn(data.error);
30 } else { 30 } else {
31 libtoaster.setNotification("build-deleted",
32 $("#deleted-build-message").html());
31 window.location.replace(data.gotoUrl); 33 window.location.replace(data.gotoUrl);
32 } 34 }
33 }, 35 },
@@ -61,7 +63,9 @@
61 }); 63 });
62 </script> 64 </script>
63 65
64 66<span style="display:none" id="deleted-build-message">
67 You have deleted 1 build: <strong>{{build.get_sorted_target_list|field_values:"target"|join:", "}} {{build.machine}}</strong> completed on <strong>{{build.completed_on|date:"d/m/y H:i"}}</strong>
68</span>
65 69
66<div class="modal fade" tabindex="-1" role="dialog" id="delete-build-modal" style="display: none;" data-backdrop="static" data-keyboard="false"> 70<div class="modal fade" tabindex="-1" role="dialog" id="delete-build-modal" style="display: none;" data-backdrop="static" data-keyboard="false">
67 <div class="modal-dialog"> 71 <div class="modal-dialog">