diff options
author | Ted Trask <ttrask01@yahoo.com> | 2008-07-14 15:35:58 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2008-07-14 15:35:58 +0000 |
commit | 3293ffeb968fc5a1b58b232cdd5a71886be244d1 (patch) | |
tree | 3cd87a2380a6a2271249eb2c47cae10ed9ff991d /apk-html.lsp | |
parent | 101c4961e7737b65fb3d634d5198ff91b7d88409 (diff) | |
download | acf-apk-tools-3293ffeb968fc5a1b58b232cdd5a71886be244d1.tar.bz2 acf-apk-tools-3293ffeb968fc5a1b58b232cdd5a71886be244d1.tar.xz |
Modified apk-tools to use updated apk.lua library. Available now shows a version to allow for updates.
git-svn-id: svn://svn.alpinelinux.org/acf/apk-tools/trunk@1301 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'apk-html.lsp')
-rw-r--r-- | apk-html.lsp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apk-html.lsp b/apk-html.lsp index 13c1749..d2fa83d 100644 --- a/apk-html.lsp +++ b/apk-html.lsp @@ -41,15 +41,17 @@ io.write("</span>") <TABLE> <TR style="background:#eee;font-weight:bold;"> <TD style="padding-right:20px;white-space:nowrap;" class="header">Install</TD> - <TD style="white-space:nowrap;" WIDTH="90%" class="header">Package Name</TD> + <TD style="padding-right:20px;white-space:nowrap;" class="header">Package Name</TD> + <TD style="white-space:nowrap;" WIDTH="90%" class="header">Version</TD> </TR> -<? for i,package in pairs(form.value.available.value) do ?> +<? for i,packagetable in pairs(form.value.available.value) do ?> <TR> <TD style="padding-right:20px;white-space:nowrap;"> - <?= html.link{value = "install?package=" .. package, label="Install"} ?> + <?= html.link{value = "install?package=" .. packagetable.name, label="Install"} ?> </TD> - <TD><?= package ?></TD> + <TD><?= packagetable.name ?></TD> + <TD><?= packagetable.version ?></TD> </TR> <? end ?> </TABLE> |