summaryrefslogtreecommitdiffstats
path: root/lbu-status-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'lbu-status-html.lsp')
-rw-r--r--lbu-status-html.lsp30
1 files changed, 30 insertions, 0 deletions
diff --git a/lbu-status-html.lsp b/lbu-status-html.lsp
new file mode 100644
index 0000000..fad2b2a
--- /dev/null
+++ b/lbu-status-html.lsp
@@ -0,0 +1,30 @@
+<? local view = ... ?>
+
+<h1>SYSTEM INFO</h1>
+
+<dl>
+<dt>Program status</dt>
+<dd><?= view.status.status or "" ?></dd>
+</dl>
+
+<dl>
+<dt>Program version</dt>
+<dd><?= view.status.version ?></dd>
+</dl>
+
+<H2>PROGRAM SPECIFIC OPTIONS/INFORMATION</H2>
+
+
+<dl>
+<dt>Files changed since last commit</dt>
+<dd><pre><? for i = 1, table.maxn(view.lbustatus) do io.write(view.lbustatus[i]["status"] .. "\t" .. view.lbustatus[i]["name"] .. "\n") end ?></pre></DD>
+</dl>
+
+<?
+--[[ DEBUG INFORMATION
+require("debugs")
+io.write(debugs.variables(view))
+--]]
+?>
+
+<? -- vim: set filetype=lua : ?>