summaryrefslogtreecommitdiffstats
path: root/apk-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2008-07-14 15:35:58 +0000
committerTed Trask <ttrask01@yahoo.com>2008-07-14 15:35:58 +0000
commit3293ffeb968fc5a1b58b232cdd5a71886be244d1 (patch)
tree3cd87a2380a6a2271249eb2c47cae10ed9ff991d /apk-html.lsp
parent101c4961e7737b65fb3d634d5198ff91b7d88409 (diff)
downloadacf-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.lsp10
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>