| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* js/guix-packages.js (guix.Sorter, guix.controller): Use module pattern
to encapsulate data type creation.
|
|
|
|
|
|
|
|
|
|
|
| |
* css/guix.css: New file.
* guix-web/view.scm (main-layout): Include guix.css.
* js/guix-packages.js (guix.Sorter.prototype.reverse): New method.
(guix.controller.sorter): Make property.
(guix.controller.columns): New variable.
(guix.controller.prototype.paginate): Use sorter property.
(guix.controller.prototype.sortBy): New method.
(guix.view): Render column sorting UI.
|
|
|
|
|
|
| |
* guix-packages.js (guix.Sorter): New data type.
(guix.Soter.prototype.sort): New method.
(guix.controller): Sort by name by default.
|
|
|
|
|
|
| |
* js/guix-packages.js (guix.paginate): Delete it.
(guix.controller): Use new paginate method.
(guix.controller.prototype.paginate): New method.
|
|
|
|
|
| |
* js/guix-packages.js: Move functions defined on each instance of
guix.controller to guix.controller's prototype.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* js/guix-packages.js: (guix.chunk): New function.
(guix.paginate): New function.
(guix.controller.pages, guix.controller.currentPageIndex,
guix.controller.pageSize): New variables.
(guix.controller.currentPage, guix.controller.isFirstPage,
guix.controller.isLastPage, guix.controller.isCurrentPage,
guix.controller.packageCount): New functions.
(guix.controller.doSearch): Paginate.
(guix.view): Render pagination UI.
|
|
|
|
| |
* js/guix-packages.js: Specify case insensitive mode when creating regexp.
|
|
|
|
| |
* js/guix-packages.js (guix.view): Display ctrl.visiblePackages() in badge.
|
|
* guix-web (javascripts): Update.
* js/guix-packages.js: New file.
* js/guix-web.js: Delete it.
|