summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/toastergui/templates/dirinfo.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@linux.intel.com>2016-06-08 18:00:06 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 08:35:05 +0100
commit1a00cdbcb17510ad5d492fa0feb92f6666c1ab73 (patch)
treead81f28e8a631d51cb7f2f81741a845c3eb6c052 /bitbake/lib/toaster/toastergui/templates/dirinfo.html
parenta7d498dfd3929eafb87274f27b487ef2fe1e7e68 (diff)
downloadpoky-1a00cdbcb17510ad5d492fa0feb92f6666c1ab73.tar.gz
bitbake: toaster: build data Fix left navigation
Make sure the current page is always highlighted in the left navigation. (Bitbake rev: 3d7f5d6ae843bcc3b5af1a9414ab5cb2759d0853) Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Belen Barros Pena <belen.barros.pena@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/dirinfo.html')
-rw-r--r--bitbake/lib/toaster/toastergui/templates/dirinfo.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/dirinfo.html b/bitbake/lib/toaster/toastergui/templates/dirinfo.html
index 458e933685..ab89e279fa 100644
--- a/bitbake/lib/toaster/toastergui/templates/dirinfo.html
+++ b/bitbake/lib/toaster/toastergui/templates/dirinfo.html
@@ -18,6 +18,13 @@
18{% load projecttags %} 18{% load projecttags %}
19 19
20<script type='text/javascript'> 20<script type='text/javascript'>
21 var ctx = {};
22 ctx.target = "{{target.target}}";
23
24 $(document).ready(function(){
25 $("#menu-"+ctx.target).addClass("active");
26 });
27
21 function setupTreetable() { 28 function setupTreetable() {
22 $("#dirtable").treetable({ 29 $("#dirtable").treetable({
23 expandable: true, 30 expandable: true,