handle package update

This commit is contained in:
2020-05-10 10:43:11 +01:00
parent ab082860c9
commit 5362e83118
7 changed files with 47 additions and 24 deletions

View File

@@ -74,7 +74,6 @@ proc newDownloadPanel(parent : Element) : DownloadPanel =
let tf= document.createElement("input")
tf.setAttribute("name", "pkgs")
let txt = sequtils.foldl(pkglist, a & " " & b)
echo txt
tf.value(txt)
form.appendChild(tf)
document.body.appendChild(form)
@@ -237,6 +236,7 @@ proc newPkgTable(parent: Element, searchString : string) : PkgTable =
var arches : JsonNode
for v, a in versions:
arches = a
break
for arch, pkgname in arches:
data.add(arch)
createDropdown(elem, data, size_change_callback)