| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
* guix-web/controller.scm (controller): Add package installation route.
* guix-web/package.scm: New file.
* guix-web/render.scm (unprocessable-entity, created): New procedures.
* js/guix-packages.js (guix.PHASE_NONE, guix.PHASE_PROMPT,
guix.PHASE_DERIVATION, guix.PHASE_SUCCESS, guix.PHASE_ERROR): New variables.
(guix.controller.phase, guix.controller.selectedPackage): New properties.
(guix.controller.prototype.installSelectedPackage): New method.
(guix.view): Add modal for package installation UI.
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* js/guix-web.js (guix.view): Add it.
|
|
|
|
|
| |
* js/guix-web.js (guix.controller.doSearch): Test regexp against package
synopsis.
|
|
|
|
|
|
| |
* guix-web: Update javascripts.
* js/mithril.js: New file.
* js/mithril.min.js: Delete it.
|
|
|
|
|
| |
* guix-web:
* js/guix-web.js: Add it.
|
|
|