summaryrefslogtreecommitdiff
path: root/js/view/ui.js
Commit message (Collapse)AuthorAgeFilesLines
* js: Factorize headerWithBadge function.David Thompson2015-01-301-0/+7
| | | | | | * js/view/ui.js (guix.ui.headerWithBadge): New function. * js/view/packages.js (guix.view.packages): Use it. * js/view/generations.js (guix.view.generations): Likewise.
* js: Extract modal creation function.David Thompson2015-01-301-0/+38
* js/view/ui.js: New file. * guix-web/view/html.scm (javascripts): Add it. * js/view/packages.js (guix.packages.view): Use 'guix.ui.modal' function.