generic-poky/bitbake/lib/toaster/toastergui/static/css
Dave Lerner d3e5632efb bitbake: toaster: sort on size in detail pages
[YOCTO 5778]

Implements the features described in the attachment to bugzilla 5778
   - new global changes to the format of size data, and
   - adding sorts by selected columns to specific detail pages.

Although new pagination and row search capabilities are shown on the
screen shots for the 5778 attachment, those features are specified in
a different bugzilla entry 5777 and are not implemented in this commit.

Also, the 5778 spec includes table sorting for the recipe package
detail page, but sorting for that page was not implemented in this
commit due to complications with sorting then returning to a page that
is only one URL fragment in a template.

The scope of file changes are described below.
Changes to support new 'size' field column formats...
    default.css - added sizecol class style (right justified)
    projecttags.py - changed filtered_filesizeformat to allow
        ".0" suffixes

Changes that add class 'sizecol, span2(as spec'd) ' to <th> and/or
<td> size columns were made to...
    dirinfo.py,
    package_built_dependencies.html,
    package_included_dependencies.html,
    recipe.html,
    bpackage.html, and
    target.html

More significant changes to support detail page table sorting
are:
    - tablesort.html: New created to implement the sort icons,
        directions, and table headings, and
        suppress sort handling if 'disable_sort' in context,
        without search or pagination elements ingrained
        in basetable_top. Confining the changes to this small file
        reduces the impact (testing and risk) on the larger set of
        files that arleady include basetable_top/bottom files.
    - view.py: Modified the following view functions with
        - trivial changes for size formatting to the views: target,
        - changes to package_built_detail, package_included_detail,
            package_included_reverse_dependencies to handle the sorting
            implementation as well as moving headings and size
            formatting for size columns from templates to the views.
    - Implementation of the detail sorting using above in:
            package_built_detail.html,
            package_included_detail.html, and
            package_included_reverse_dependencies.html
        to include the tablesort heading setup, format the size column,
        and iterate over the new sorted objects, suppressing sorts if
        table row count less than 2.

(Bitbake rev: d16126e9abfffde66ab70865a81997322847d44e)

Signed-off-by: Dave Lerner <dave.lerner@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-09 17:00:02 +01:00
..
bootstrap-responsive.min.css bitbake: toaster: update static media for Toaster GUI 2014-01-10 15:20:25 +00:00
bootstrap.min.css bitbake: toaster: Set the right styles for definition lists 2014-03-09 12:23:59 -07:00
default.css bitbake: toaster: sort on size in detail pages 2014-04-09 17:00:02 +01:00
font-awesome.min.css bitbake: toaster: update static media for Toaster GUI 2014-01-10 15:20:25 +00:00
jquery.treetable.css bitbake: toaster: add jquery treetable plugin 2014-03-21 14:47:53 +00:00
jquery.treetable.theme.default.css bitbake: toaster: add jquery treetable plugin 2014-03-21 14:47:53 +00:00
jquery.treetable.theme.toaster.css bitbake: toaster: image information views 2014-03-21 14:47:53 +00:00
prettify.css bitbake: toaster: update static media for Toaster GUI 2014-01-10 15:20:25 +00:00
screen.css bitbake: toaster: add jquery treetable plugin 2014-03-21 14:47:53 +00:00