| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* js/utils.js (guix.add): New function.
* js/controllers/packages.js (guix.packages.controller.packageCount):
Reimplement.
|
|
|
|
|
|
|
|
|
|
| |
* js/utils.js (guix.clamp): New function.
* js/controller/packages.js (guix.packages.controller): Remove 'pages',
'currentPageIndex', and 'pageSize' properties. Add 'pager' prop.
Delete 'paginate', 'currentPage', 'isFirstPage', 'isLastPage', and
'isCurrentPage' methods.
* js/model/packages.js (guix.packages.Pager): New function.
* js/view/packages.js (guix.packages.view): Use new Pager API.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* guix-web/controller.scm (controller): Add '/generations' route.
* guix-web/package.scm (profile-generations*): New procedure.
* guix-web/view.scm (generations-json): New procedure.
(javascripts): Add new JS files.
* js/model/generations.js: New file.
* js/controller/generations.js: New file.
* js/view/generations.js: New file.
* js/view/layout.js (guix.withLayout): Add 'Generations' navbar entry.
* js/routes.js: Add '/generations' route.
|
|
|
|
|
|
|
|
|
|
|
| |
* css/guix.css: Add spinner styles.
* js/controller/packages.js (guix.packages.view): Explicitly redraw
after loading packages.
* js/model/packages.js (guix.packages.Packages): Load packages in the
background.
* js/view/layout.js (guix.withLayout): Cast elem to array if needed.
* js/view/packages.js (guix.packages.view): Render spinner when there
are no packages to display.
|
|
* js/packages.js: Delete.
* js/model/packages.js: New file.
* js/view/packages.js: New file.
* js/controller/packages.js: New file.
* js/routes.js: Use new namespace for packages.
* guix-web/view.scm (javascripts): Add new JS files.
|