toaster: link task order to right tasks page

When linking from a task order number to the All Tasks
page, automatically display the correct page for that link
anchor.

[YOCTO #5933]

Signed-off-by: David Reyna <David.Reyna@windriver.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
toaster: Update API

Make sure the REST API includes the latest changes
to the database schema.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
toasterui: avoid variable name conflict

We rename a local variable in as to prevent a conflict with
a similary named function parameter.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
toasterui: save warnings from non-build context

Some warnings and errors may come from a non-build context,
and they were not saved, even if they were counted for the current
build.

This patch saves these messages in memory until we have the
entire build context available.

	[YOCTO #5642]

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
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]

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
toaster: Changes to help text

All help text strings have been reviewed by the
technical writer, and some of them by Paul Eggleton.
This patch implements their suggested changes.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
toaster: catch IndexError error in dictionary lookups

In the get_dict_value filter, there is the edge case where halted
builds can lead to IndexError errors in dictionary lookups, so we
need to catch those.

[YOCTO #6067]

Signed-off-by: David Reyna <David.Reyna@windriver.com>
toaster: Fix "Recent builds" links

* Link the number of errors to the #errors section in the
build dashboard

* Link the number of warnigns to the #warnings section in
the build dashboard

* Link the build time to the build time page

* Move some javascript that applies only to builddashboard.html
to that template from main.js

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
toaster: Fix the empty packages alert

* Remove a tag in all capitals
* Remove an unnecessary div
* Fix a typo

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
toaster: Make tables happy in Chrome

There is a known layout issue with Bootstrap tables in
Chrome. This change applies a css fix for it, and changes
the span classes in the variables table to improve
formatting.

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
toaster: Fixes to the build dashboard

* Add "on" before the date in the build status

* Get rid of the extra space before the "and" in the
build status

* Make the errors and warnings links in the build
status show the message content

* Make sure that the "Images" section in the left navigation
appears only for successful builds

* Link the number of packages installed to the "Packages
included" tab in the image information page

* Remove unnecessary inline styles in the dashboard
template

* Make sure target names in the h1 are listed in
alphabetical order

Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com>
toaster: correct package count

The package count was incorrect because it was counting anonymous
packages. the full path of the image files was shortened to just
the filename.

[YOCTO 6087]
[YOCTO 6091]

Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com>
toaster: added covered task list

if a task has a 'covered' indication, the list of tasks that
covered the task are computed and displayed. amended to add tooltip.

[YOCTO #5925]

Signed-off-by: Farrell Wymore <farrell.wymore@windriver.com>