diff options
| author | Amit Kumar Chaudhary <amit@floatingpondtech.com> | 2014-03-12 18:47:42 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-14 07:18:46 -0700 |
| commit | d3d3a2c6ba71767e49a5b62fe74bf3b47688b911 (patch) | |
| tree | e562cce83656e3a1d68d732b2cec5c2fe9ef507e /bitbake/lib/toaster/toastergui/static | |
| parent | 1db32b097b5a4f305e056ae26b940be832efa7cf (diff) | |
| download | poky-d3d3a2c6ba71767e49a5b62fe74bf3b47688b911.tar.gz | |
bitbake: toaster: add errors and warnings listing
Add the errors and warnings listing to the build
dashboard page.
(Bitbake rev: 2004c0fd1dd049d26279ee10a18e69e6852247fa)
Signed-off-by: Amit Kumar Chaudhary <amit@floatingpondtech.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/js/main.js | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/js/main.js b/bitbake/lib/toaster/toastergui/static/js/main.js index c80f716edb..07aba3d86b 100644 --- a/bitbake/lib/toaster/toastergui/static/js/main.js +++ b/bitbake/lib/toaster/toastergui/static/js/main.js | |||
| @@ -91,3 +91,23 @@ $(document).ready(function() { | |||
| 91 | }); | 91 | }); |
| 92 | 92 | ||
| 93 | }); | 93 | }); |
| 94 | |||
| 95 | $(document).ready(function() { | ||
| 96 | //toggle the errors and warnings sections | ||
| 97 | $('.show-errors').click(function() { | ||
| 98 | $('#collapse-errors').addClass('in'); | ||
| 99 | }); | ||
| 100 | $('.toggle-errors').click(function() { | ||
| 101 | $('#collapse-errors').toggleClass('in'); | ||
| 102 | }); | ||
| 103 | $('.show-warnings').click(function() { | ||
| 104 | $('#collapse-warnings').addClass('in'); | ||
| 105 | }); | ||
| 106 | $('.toggle-warnings').click(function() { | ||
| 107 | $('#collapse-warnings').toggleClass('in'); | ||
| 108 | }); | ||
| 109 | //show warnings section when requested from the previous page | ||
| 110 | if (location.href.search('#warnings') > -1) { | ||
| 111 | $('#collapse-warnings').addClass('in'); | ||
| 112 | } | ||
| 113 | }); | ||
