summaryrefslogtreecommitdiffstats
path: root/lbu-commit-html.lsp
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2007-12-28 09:04:12 +0000
committerMika Havela <mika.havela@gmail.com>2007-12-28 09:04:12 +0000
commite2f374457a6931b964952eccf05e073707921f5b (patch)
tree9d8c25ef0a90fcc7e96bea30f4cfd0a005a29f1d /lbu-commit-html.lsp
parentd2fb2718fb093cfcd05e10853db0830801c5f0c3 (diff)
downloadacf-alpine-conf-e2f374457a6931b964952eccf05e073707921f5b.tar.bz2
acf-alpine-conf-e2f374457a6931b964952eccf05e073707921f5b.tar.xz
Some small adjustments
git-svn-id: svn://svn.alpinelinux.org/acf/lbu/trunk@460 ab2d0c66-481e-0410-8bed-d214d4d58bed
Diffstat (limited to 'lbu-commit-html.lsp')
-rw-r--r--lbu-commit-html.lsp7
1 files changed, 5 insertions, 2 deletions
diff --git a/lbu-commit-html.lsp b/lbu-commit-html.lsp
index 3ea0815..1efc362 100644
--- a/lbu-commit-html.lsp
+++ b/lbu-commit-html.lsp
@@ -13,13 +13,17 @@ end
?>
<h1><?= view.title?></h1>
-
+<? if (table.maxn(view.data) > 0) then ?>
+ <h2>List</h2>
+<? end ?>
<? for i,item in ipairs(view.note or {}) do ?>
<p class='error'><?= item.content ?></p>
<? end ?>
<? for i,item in ipairs(view.data) do ?>
<dt><?= item.name ?></dt><dd><?= item.status ?></dd>
<? end ?>
+
+<h2>Functions</h2>
<dt>Save these changes</dt>
<dd><?= html.form.start {
method="POST",
@@ -37,4 +41,3 @@ end
<pre><?= item.content ?></pre>
<? end ?>
<? -- vim: set filetype=lua : ?>
-