bitbake: toaster: Toaster GUI Build and Dashboard pages fixes
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Thu, 16 Jan 2014 12:22:21 +0000 (12:22 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2014 21:01:04 +0000 (21:01 +0000)
commitcc2b18db189a4ba47644abb44205ef00a27d5774
tree0610aa66890256c72882049b8f4b66b636a0772d
parent507daf1dc550a5456b5356410a85be10cc4c862f
bitbake: toaster: Toaster GUI Build and Dashboard pages fixes

THis is a large set of fixes for the generic table, Build and
Dashboard pages.

Among the fixes:
* the table remembers which columns to show across refreshes,
based on saving the settings in a cookie
* added column timespent for a build which is  a denormalization
of the completed_on - started_on information due to limits in
computing datetime differences in the SQL engine
* fixed formatting of the time differences
* various sorting header links fixed
* correct error and warning CSS classes applied to the
respective rows
* fixes multiple divide-by-zero error in displaying duration
estimations

(Bitbake rev: 61e3dee55ac577fce1c0ae0fe7e0d3cf644e8ae6)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
12 files changed:
bitbake/lib/bb/ui/buildinfohelper.py
bitbake/lib/toaster/orm/migrations/0002_auto__add_field_build_timespent.py [new file with mode: 0644]
bitbake/lib/toaster/orm/migrations/0003_timespent.py [new file with mode: 0644]
bitbake/lib/toaster/orm/models.py
bitbake/lib/toaster/toastergui/templates/basebuildpage.html
bitbake/lib/toaster/toastergui/templates/basetable_bottom.html
bitbake/lib/toaster/toastergui/templates/basetable_top.html
bitbake/lib/toaster/toastergui/templates/build.html
bitbake/lib/toaster/toastergui/templates/builddashboard.html
bitbake/lib/toaster/toastergui/templates/configvars.html
bitbake/lib/toaster/toastergui/templatetags/projecttags.py
bitbake/lib/toaster/toastergui/views.py