Don't show all results on the compare package derivation page

By default. For comparisons involving lots of changed derivations, the page
can take too long to render.
This commit is contained in:
Christopher Baines 2020-11-20 19:33:16 +00:00
parent 7b92a6a5b3
commit 65507aaac1
2 changed files with 47 additions and 14 deletions

View file

@ -685,6 +685,17 @@ and target derivations")
"No base and target derivation to compare, or not
enough builds to determine a change")))
#:allow-selecting-multiple-options #f)
,(form-horizontal-control
"After name" query-parameters
#:help-text
"List packages that are alphabetically after the given name.")
,(form-horizontal-control
"Limit results" query-parameters
#:help-text "The maximum number of results to return.")
,(form-horizontal-control
"All results" query-parameters
#:type "checkbox"
#:help-text "Return all results.")
(div (@ (class "form-group form-group-lg"))
(div (@ (class "col-sm-offset-2 col-sm-10"))
(button (@ (type "submit")