From 6831b7ad16e11ed0f3bf24a0cef5ba7612a9bae0 Mon Sep 17 00:00:00 2001 From: Belen Barros Pena Date: Mon, 17 Mar 2014 04:53:08 +0000 Subject: 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 Signed-off-by: Richard Purdie --- bitbake/lib/toaster/toastergui/static/css/default.css | 2 +- bitbake/lib/toaster/toastergui/static/js/main.js | 2 +- bitbake/lib/toaster/toastergui/templates/tasks.html | 15 ++++++++++++++- 3 files changed, 16 insertions(+), 3 deletions(-) (limited to 'bitbake') 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; } .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; } 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() { if (location.href.search('#warnings') > -1) { $('#collapse-warnings').addClass('in'); } - + }); 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 @@ {% include "basetable_top.html" %} {% for task in objects %} - + {{task.order}} @@ -117,4 +117,17 @@ {% endif %} {# objects.paginator.count #} {% endif %} {# empty #} + + + {% endblock %} -- cgit v1.2.3-54-g00ecf