summaryrefslogtreecommitdiffstats
path: root/lbu-commit-html.lsp
diff options
context:
space:
mode:
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 : ?>
-