Hook up paging and sorting for Tracker's search and mass-edit pages

The JavaScript is re-usable in any context that uses the query
parameters 'limit', 'page', 'q', and 'sort' (or subset of these). It is
tied into the template by "exporting" the same-named variables into
JavaScript; and by labeling the sortable columns with a data-sort
attribute to be used in the 'sort' parameter. Included CSS adds hover
style for the affected column heads and page buttons.

The actual controller methods are simplified, as they don't need to do
anything beyond validation to the aforementioned params, everything can
be in the **kw dict. The code actually works by simply tweaking the
query parameters and reloading the page, no AJAX.

Wolf Wolf 2010-03-29

added ForgeTracker/forgetracker/static/Tickets/js/ticket-list.js
changed ForgeTracker/forgetracker/static/Tickets/css/tracker.css
changed ForgeTracker/forgetracker/templates/mass_edit.html
changed ForgeTracker/forgetracker/templates/search.html
changed ForgeTracker/forgetracker/tracker_main.py
ForgeTracker/forgetracker/static/Tickets/js/ticket-list.js Diff Switch to side-by-side view
Loading...
ForgeTracker/forgetracker/static/Tickets/css/tracker.css Diff Switch to side-by-side view
Loading...
ForgeTracker/forgetracker/templates/mass_edit.html Diff Switch to side-by-side view
Loading...
ForgeTracker/forgetracker/templates/search.html Diff Switch to side-by-side view
Loading...
ForgeTracker/forgetracker/tracker_main.py Diff Switch to side-by-side view
Loading...