summaryrefslogtreecommitdiff
path: root/js
Commit message (Collapse)AuthorAgeFilesLines
* Add package sorting.David Thompson2014-08-131-0/+12
| | | | | | * guix-packages.js (guix.Sorter): New data type. (guix.Soter.prototype.sort): New method. (guix.controller): Sort by name by default.
* Move pagination function to controller prototype.David Thompson2014-08-131-6/+6
| | | | | | * js/guix-packages.js (guix.paginate): Delete it. (guix.controller): Use new paginate method. (guix.controller.prototype.paginate): New method.
* Move controller methods to prototype.David Thompson2014-08-091-24/+24
| | | | | * js/guix-packages.js: Move functions defined on each instance of guix.controller to guix.controller's prototype.
* Add pagination.David Thompson2014-08-091-7/+95
| | | | | | | | | | | | * 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.
* Perform case insensitive search.David Thompson2014-08-081-1/+1
| | | | * js/guix-packages.js: Specify case insensitive mode when creating regexp.
* Display visible packages in badge on package search page.David Thompson2014-08-071-1/+1
| | | | * js/guix-packages.js (guix.view): Display ctrl.visiblePackages() in badge.
* Rename guix-web.js to guix-packages.js.David Thompson2014-08-071-2/+7
| | | | | | * guix-web (javascripts): Update. * js/guix-packages.js: New file. * js/guix-web.js: Delete it.
* js: Add form-control class to search input.David Thompson2014-08-071-12/+9
| | | | * js/guix-web.js (guix.view): Add it.
* js: Apply search terms to package synopsis.David Thompson2014-08-071-1/+2
| | | | | * js/guix-web.js (guix.controller.doSearch): Test regexp against package synopsis.
* Use uncompressed source code for mithril.js.David Thompson2014-08-072-8/+674
| | | | | | * guix-web: Update javascripts. * js/mithril.js: New file. * js/mithril.min.js: Delete it.
* Add copyright information to source files.David Thompson2014-08-071-0/+17
| | | | | * guix-web: * js/guix-web.js: Add it.
* First commit.David Thompson2014-08-063-0/+1445