diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/tasks.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/tasks.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/tasks.html b/bitbake/lib/toaster/toastergui/templates/tasks.html index d68a31a24d..77d38b00de 100644 --- a/bitbake/lib/toaster/toastergui/templates/tasks.html +++ b/bitbake/lib/toaster/toastergui/templates/tasks.html | |||
@@ -75,7 +75,7 @@ | |||
75 | {% include "basetable_top.html" %} | 75 | {% include "basetable_top.html" %} |
76 | 76 | ||
77 | {% for task in objects %} | 77 | {% for task in objects %} |
78 | <tr {{ task|task_color }} class="flash" id="{{task.order}}" name="{{task.order}}"> | 78 | <tr {{ task|task_color }} id="{{task.order}}"> |
79 | <td class="order"> | 79 | <td class="order"> |
80 | <a href="{%url "task" build.pk task.pk%}">{{task.order}}</a> | 80 | <a href="{%url "task" build.pk task.pk%}">{{task.order}}</a> |
81 | </td> | 81 | </td> |
@@ -117,4 +117,17 @@ | |||
117 | {% endif %} {# objects.paginator.count #} | 117 | {% endif %} {# objects.paginator.count #} |
118 | {% endif %} {# empty #} | 118 | {% endif %} {# empty #} |
119 | </div> | 119 | </div> |
120 | |||
121 | <script type="text/javascript"> | ||
122 | |||
123 | $(document).ready(function() { | ||
124 | // enable blue hightlight animation for the order link | ||
125 | if (location.href.search('#') > -1) { | ||
126 | var task_order = location.href.split('#')[1]; | ||
127 | $("#" + task_order).addClass("highlight"); | ||
128 | } | ||
129 | }); | ||
130 | |||
131 | </script> | ||
132 | |||
120 | {% endblock %} | 133 | {% endblock %} |