mirror of
https://git.yoctoproject.org/poky
synced 2026-03-19 21:59:42 +01:00
bitbake: toaster: Remove html validation errors in tasks.html
Remove the duplicated class attribute and the name attribute. Also, make sure that the row blue highlight works without the name attribute when you land on the tasks table after clicking the order link in a task details page. The commit also fixes a typo in default.css. [YOCTO #6033] (Bitbake rev: 471234f1ab1dbcd736a892720e99a305363db5ff) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
53b781f41e
commit
6831b7ad16
@@ -103,7 +103,7 @@ select { width: auto; }
|
||||
.well > .lead, .alert .lead { margin-bottom: 0px; }
|
||||
.no-results { margin: 10px 0; }
|
||||
.task-name { margin-left: 7px; }
|
||||
.icon-hand-right {color: #ccccc; }
|
||||
.icon-hand-right {color: #CCCCCC; }
|
||||
.help-inline { margin: 5px; }
|
||||
.hero-unit { margin: 20px 0 30px; }
|
||||
.hero-unit > .close { font-size:40px; }
|
||||
|
||||
@@ -107,5 +107,5 @@ $(document).ready(function() {
|
||||
if (location.href.search('#warnings') > -1) {
|
||||
$('#collapse-warnings').addClass('in');
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
|
||||
@@ -75,7 +75,7 @@
|
||||
{% include "basetable_top.html" %}
|
||||
|
||||
{% for task in objects %}
|
||||
<tr {{ task|task_color }} class="flash" id="{{task.order}}" name="{{task.order}}">
|
||||
<tr {{ task|task_color }} id="{{task.order}}">
|
||||
<td class="order">
|
||||
<a href="{%url "task" build.pk task.pk%}">{{task.order}}</a>
|
||||
</td>
|
||||
@@ -117,4 +117,17 @@
|
||||
{% endif %} {# objects.paginator.count #}
|
||||
{% endif %} {# empty #}
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
$(document).ready(function() {
|
||||
// enable blue hightlight animation for the order link
|
||||
if (location.href.search('#') > -1) {
|
||||
var task_order = location.href.split('#')[1];
|
||||
$("#" + task_order).addClass("highlight");
|
||||
}
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user