Add pagination to Studio's Files and Uploads page
These changes implement STUD-813. The commit consists of the following logical changes: - a REST API has been implemented for a course's assets - the page itself now fetches the assets client-side - the Backbone.Paginator library is used to support pagination - the AssetCollection has been refactored to extend Backbone.Paginator.requestPager so that it can be paged - an abstract PagingView class has been added to generalize the communication with a paging REST API - the AssetsView has been reimplemented to extend PagingView - two new child views have been added: - PagingHeader: the paging controls above the list of assets - PagingFooter: the paging controls below the assets
Showing
cms/static/js/spec/views/paging_spec.js
0 → 100644
This diff is collapsed.
Click to expand it.
cms/static/js/views/paging.js
0 → 100644
cms/static/js/views/paging_footer.js
0 → 100644
cms/static/js/views/paging_header.js
0 → 100644
cms/templates/js/asset-library.underscore
0 → 100644
cms/templates/js/paging-footer.underscore
0 → 100644
cms/templates/js/paging-header.underscore
0 → 100644
common/static/js/vendor/URI.min.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment