diff options
author | Belen Barros Pena <belen.barros.pena@intel.com> | 2014-04-01 00:39:13 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-04-05 14:55:29 +0100 |
commit | 9e81244b8a303489abee6970da00f2ee9d4e637b (patch) | |
tree | c1800ea0aaeb371a268f692c2734780a42ab45c4 /bitbake/lib/toaster/toastergui/templates/builddashboard.html | |
parent | 4707c7c3eebdb15d5560af6c2e6cee68f85e0a5f (diff) | |
download | poky-9e81244b8a303489abee6970da00f2ee9d4e637b.tar.gz |
bitbake: toaster: Fix "Recent builds" links
* Link the number of errors to the #errors section in the
build dashboard
* Link the number of warnigns to the #warnings section in
the build dashboard
* Link the build time to the build time page
* Move some javascript that applies only to builddashboard.html
to that template from main.js
(Bitbake rev: 94c61d0d9ff24e0c781ea0a8e4bfea4c4ac94d4e)
Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/builddashboard.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/builddashboard.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builddashboard.html b/bitbake/lib/toaster/toastergui/templates/builddashboard.html index 6cce7883ba..cc92af5c5a 100644 --- a/bitbake/lib/toaster/toastergui/templates/builddashboard.html +++ b/bitbake/lib/toaster/toastergui/templates/builddashboard.html | |||
@@ -186,4 +186,13 @@ | |||
186 | </div> | 186 | </div> |
187 | {% endif %} | 187 | {% endif %} |
188 | 188 | ||
189 | <script type="text/javascript"> | ||
190 | $(document).ready(function() { | ||
191 | //show warnings section when requested from the previous page | ||
192 | if (location.href.search('#warnings') > -1) { | ||
193 | $('#collapse-warnings').addClass('in'); | ||
194 | } | ||
195 | }); | ||
196 | </script> | ||
197 | |||
189 | {% endblock %} | 198 | {% endblock %} |