diff options
author | Michael Wood <michael.g.wood@intel.com> | 2015-05-11 18:51:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 18:04:09 +0100 |
commit | 23f5b009e0ebf59cfcc9ae90a1084468fc88e42f (patch) | |
tree | 06eb458cbd9a95dd635160adac7d90aeae6afea1 /bitbake/lib/toaster/toastergui/static | |
parent | 7f8c44771cc6219ad7e58da7840fffbe93f11b39 (diff) | |
download | poky-23f5b009e0ebf59cfcc9ae90a1084468fc88e42f.tar.gz |
bitbake: toaster: Port All recipes, layers and machines to ToasterTables
Port of the main tables to the new ToasterTable widget.
(Bitbake rev: 6de539d5953b2dca2a9ed75556a59764337a194c)
Signed-off-by: Michael Wood <michael.g.wood@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/static')
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/css/default.css | 3 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/layerBtn.js | 5 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/libtoaster.js | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index bc3d63e6b9..739efbfbbe 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css | |||
@@ -256,3 +256,6 @@ div.add-deps { margin-top: 15px; } | |||
256 | .machines-highlight { -webkit-animation: machines-fade 7s 1; -moz-animation: machines-fade 7s 1; animation: machines-fade 7s 1; } | 256 | .machines-highlight { -webkit-animation: machines-fade 7s 1; -moz-animation: machines-fade 7s 1; animation: machines-fade 7s 1; } |
257 | 257 | ||
258 | .tab-pane table { margin-top: 10px; } | 258 | .tab-pane table { margin-top: 10px; } |
259 | |||
260 | thead .description, .get_description_or_summary { width: 364px; } | ||
261 | thead .add-del-layers { width: 124px; } | ||
diff --git a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js index 6a1d4b1606..44bf612a58 100644 --- a/bitbake/lib/toaster/toastergui/static/js/layerBtn.js +++ b/bitbake/lib/toaster/toastergui/static/js/layerBtn.js | |||
@@ -2,7 +2,10 @@ | |||
2 | 2 | ||
3 | function layerBtnsInit(ctx) { | 3 | function layerBtnsInit(ctx) { |
4 | 4 | ||
5 | $(".layerbtn").click(function (){ | 5 | /* Remove any current bindings to avoid duplicated binds */ |
6 | $(".layerbtn").unbind('click'); | ||
7 | |||
8 | $(".layerbtn").click(function (){ | ||
6 | var layerObj = $(this).data("layer"); | 9 | var layerObj = $(this).data("layer"); |
7 | var add = ($(this).data('directive') === "add"); | 10 | var add = ($(this).data('directive') === "add"); |
8 | var thisBtn = $(this); | 11 | var thisBtn = $(this); |
diff --git a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js index 6bf915d15a..1ac26d4c7f 100644 --- a/bitbake/lib/toaster/toastergui/static/js/libtoaster.js +++ b/bitbake/lib/toaster/toastergui/static/js/libtoaster.js | |||
@@ -361,6 +361,7 @@ $(document).ready(function() { | |||
361 | }); | 361 | }); |
362 | 362 | ||
363 | 363 | ||
364 | /* START TODO Delete this section now redundant */ | ||
364 | /* Belen's additions */ | 365 | /* Belen's additions */ |
365 | 366 | ||
366 | // turn Edit columns dropdown into a multiselect menu | 367 | // turn Edit columns dropdown into a multiselect menu |
@@ -409,6 +410,8 @@ $(document).ready(function() { | |||
409 | $(this).find(".hover-help").css("visibility","hidden"); | 410 | $(this).find(".hover-help").css("visibility","hidden"); |
410 | }); | 411 | }); |
411 | 412 | ||
413 | /* END TODO Delete this section now redundant */ | ||
414 | |||
412 | // show task type and outcome in task details pages | 415 | // show task type and outcome in task details pages |
413 | $(".task-info").tooltip({ container: 'body', html: true, delay: {show: 200}, placement: 'right' }); | 416 | $(".task-info").tooltip({ container: 'body', html: true, delay: {show: 200}, placement: 'right' }); |
414 | 417 | ||