diff options
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/css/default.css | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/static/js/main.js | 2 | ||||
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/tasks.html | 15 |
3 files changed, 16 insertions, 3 deletions
diff --git a/bitbake/lib/toaster/toastergui/static/css/default.css b/bitbake/lib/toaster/toastergui/static/css/default.css index 0b53718a39..b4345da3d7 100644 --- a/bitbake/lib/toaster/toastergui/static/css/default.css +++ b/bitbake/lib/toaster/toastergui/static/css/default.css | |||
@@ -103,7 +103,7 @@ select { width: auto; } | |||
103 | .well > .lead, .alert .lead { margin-bottom: 0px; } | 103 | .well > .lead, .alert .lead { margin-bottom: 0px; } |
104 | .no-results { margin: 10px 0; } | 104 | .no-results { margin: 10px 0; } |
105 | .task-name { margin-left: 7px; } | 105 | .task-name { margin-left: 7px; } |
106 | .icon-hand-right {color: #ccccc; } | 106 | .icon-hand-right {color: #CCCCCC; } |
107 | .help-inline { margin: 5px; } | 107 | .help-inline { margin: 5px; } |
108 | .hero-unit { margin: 20px 0 30px; } | 108 | .hero-unit { margin: 20px 0 30px; } |
109 | .hero-unit > .close { font-size:40px; } | 109 | .hero-unit > .close { font-size:40px; } |
diff --git a/bitbake/lib/toaster/toastergui/static/js/main.js b/bitbake/lib/toaster/toastergui/static/js/main.js index 7f897d2a90..eef6b468f4 100644 --- a/bitbake/lib/toaster/toastergui/static/js/main.js +++ b/bitbake/lib/toaster/toastergui/static/js/main.js | |||
@@ -107,5 +107,5 @@ $(document).ready(function() { | |||
107 | if (location.href.search('#warnings') > -1) { | 107 | if (location.href.search('#warnings') > -1) { |
108 | $('#collapse-warnings').addClass('in'); | 108 | $('#collapse-warnings').addClass('in'); |
109 | } | 109 | } |
110 | 110 | ||
111 | }); | 111 | }); |
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 %} |